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:
snyk-bot 2019-05-06 03:47:56 +00:00
parent 835cc3134c
commit 17ba8b5bd2
2 changed files with 15 additions and 3 deletions

8
.snyk Normal file
View File

@ -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'

View File

@ -27,7 +27,8 @@
"node-sass": "^4.11.0",
"original-fs": "^1.0.0",
"semver": "^5.6.0",
"tar-fs": "^2.0.0"
"tar-fs": "^2.0.0",
"snyk": "^1.161.1"
},
"devDependencies": {
"@babel/core": "^7.3.4",
@ -100,6 +101,9 @@
"release": "npm run lint && npm run build_release && gulp release && npm run package_release",
"release_test": "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
}