mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix: package.json, yarn.lock & .snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
This commit is contained in:
1 parent
b5e3b81c17
commit
76f048fb53
3 files changed
+1907
-48
No files matched your search
@@ -0,0 +1,12 @@
|
|||||||
|
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
||||||
|
version: v1.15.0
|
||||||
|
ignore: {}
|
||||||
|
# patches apply the minimum changes required to fix a vulnerability
|
||||||
|
patch:
|
||||||
|
SNYK-JS-LODASH-567746:
|
||||||
|
- eslint > lodash:
|
||||||
|
patched: '2020-06-20T05:33:18.901Z'
|
||||||
|
- eslint > inquirer > lodash:
|
||||||
|
patched: '2020-06-20T05:33:18.901Z'
|
||||||
|
- eslint > table > lodash:
|
||||||
|
patched: '2020-06-20T05:33:18.901Z'
|
||||||
+7
-3
@@ -34,7 +34,8 @@
|
|||||||
"prismjs": "^1.20.0",
|
"prismjs": "^1.20.0",
|
||||||
"sockjs": "^0.3.20",
|
"sockjs": "^0.3.20",
|
||||||
"systeminformation": "^4.26.5",
|
"systeminformation": "^4.26.5",
|
||||||
"yargs": "^15.3.1"
|
"yargs": "^15.3.1",
|
||||||
|
"snyk": "^1.346.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-airbnb-base": "^14.2.0",
|
"eslint-config-airbnb-base": "^14.2.0",
|
||||||
@@ -49,7 +50,9 @@
|
|||||||
"build:all": "cd ui && yarn && yarn build:production && cd .. && yarn && yarn build:production",
|
"build:all": "cd ui && yarn && yarn build:production && cd .. && yarn && yarn build:production",
|
||||||
"start": "node hydro/loader.js",
|
"start": "node hydro/loader.js",
|
||||||
"pack": "pkg .",
|
"pack": "pkg .",
|
||||||
"lint": "eslint build hydro module tool --fix"
|
"lint": "eslint build hydro module tool --fix",
|
||||||
|
"snyk-protect": "snyk protect",
|
||||||
|
"prepare": "yarn run snyk-protect"
|
||||||
},
|
},
|
||||||
"pkg": {
|
"pkg": {
|
||||||
"scripts": [
|
"scripts": [
|
||||||
@@ -58,5 +61,6 @@
|
|||||||
"assets": [
|
"assets": [
|
||||||
".build/module/**"
|
".build/module/**"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user