mirror of
https://github.com/danog/inline-critical.git
synced 2024-12-02 09:27:56 +01:00
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:
parent
be6660a7f6
commit
0e2f5b62cf
10
package.json
10
package.json
@ -6,7 +6,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"jest": "jest --coverage",
|
"jest": "jest --coverage",
|
||||||
"xo": "xo",
|
"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": [
|
"files": [
|
||||||
"index.js",
|
"index.js",
|
||||||
@ -49,7 +51,8 @@
|
|||||||
"prettier": "^1.19.1",
|
"prettier": "^1.19.1",
|
||||||
"reaver": "^2.0.0",
|
"reaver": "^2.0.0",
|
||||||
"slash": "^3.0.0",
|
"slash": "^3.0.0",
|
||||||
"uglify-js": "^3.6.8"
|
"uglify-js": "^3.6.8",
|
||||||
|
"snyk": "^1.316.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"execa": "^1.0.0",
|
"execa": "^1.0.0",
|
||||||
@ -75,5 +78,6 @@
|
|||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 8"
|
"node": ">= 8"
|
||||||
}
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user