fix: .snyk & package.json to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-AXIOS-174505
This commit is contained in:
parent
835cc3134c
commit
17ba8b5bd2
|
@ -0,0 +1,8 @@
|
||||||
|
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
||||||
|
version: v1.13.3
|
||||||
|
ignore: {}
|
||||||
|
# patches apply the minimum changes required to fix a vulnerability
|
||||||
|
patch:
|
||||||
|
SNYK-JS-AXIOS-174505:
|
||||||
|
- axios:
|
||||||
|
patched: '2019-05-06T03:47:55.064Z'
|
10
package.json
10
package.json
|
@ -27,7 +27,8 @@
|
||||||
"node-sass": "^4.11.0",
|
"node-sass": "^4.11.0",
|
||||||
"original-fs": "^1.0.0",
|
"original-fs": "^1.0.0",
|
||||||
"semver": "^5.6.0",
|
"semver": "^5.6.0",
|
||||||
"tar-fs": "^2.0.0"
|
"tar-fs": "^2.0.0",
|
||||||
|
"snyk": "^1.161.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.3.4",
|
"@babel/core": "^7.3.4",
|
||||||
|
@ -100,6 +101,9 @@
|
||||||
"release": "npm run lint && npm run build_release && gulp release && npm run package_release",
|
"release": "npm run lint && npm run build_release && gulp release && npm run package_release",
|
||||||
"release_test": "npm run build_release && gulp release",
|
"release_test": "npm run build_release && gulp release",
|
||||||
"update_release": "npm run build_release && gulp release",
|
"update_release": "npm run build_release && gulp release",
|
||||||
"inject": "node scripts/inject.js"
|
"inject": "node scripts/inject.js",
|
||||||
}
|
"snyk-protect": "snyk protect",
|
||||||
|
"prepare": "npm run snyk-protect"
|
||||||
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue