fix: package.json, package-lock.json & .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:
snyk-bot 2020-05-01 04:21:16 +02:00 committed by Ben Zörb
parent be6660a7f6
commit 0e2f5b62cf

View File

@ -6,7 +6,9 @@
"scripts": {
"jest": "jest --coverage",
"xo": "xo",
"test": "npm run xo && npm run jest"
"test": "npm run xo && npm run jest",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"files": [
"index.js",
@ -49,7 +51,8 @@
"prettier": "^1.19.1",
"reaver": "^2.0.0",
"slash": "^3.0.0",
"uglify-js": "^3.6.8"
"uglify-js": "^3.6.8",
"snyk": "^1.316.1"
},
"devDependencies": {
"execa": "^1.0.0",
@ -75,5 +78,6 @@
},
"engines": {
"node": ">= 8"
}
},
"snyk": true
}