fix: package.json & .snyk to reduce vulnerabilities
This commit is contained in:
20
.snyk
Normal file
20
.snyk
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
version: v1.5.0
|
||||||
|
ignore: {}
|
||||||
|
patch:
|
||||||
|
'npm:marked:20150520':
|
||||||
|
- gulp-notify > node-notifier > cli-usage > marked:
|
||||||
|
patched: '2016-07-09T00:55:04.882Z'
|
||||||
|
'npm:minimatch:20160620':
|
||||||
|
- gulp > vinyl-fs > glob-stream > minimatch:
|
||||||
|
patched: '2016-07-09T00:55:04.882Z'
|
||||||
|
- gulp > vinyl-fs > glob-stream > glob > minimatch:
|
||||||
|
patched: '2016-07-09T00:55:04.882Z'
|
||||||
|
- rev-del > mocha > glob > minimatch:
|
||||||
|
patched: '2016-07-09T00:55:04.882Z'
|
||||||
|
- gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch:
|
||||||
|
patched: '2016-07-09T00:55:04.882Z'
|
||||||
|
- gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch:
|
||||||
|
patched: '2016-07-09T00:55:04.882Z'
|
||||||
|
'npm:uglify-js:20151024':
|
||||||
|
- jade > transformers > uglify-js:
|
||||||
|
patched: '2016-07-09T00:55:04.882Z'
|
10
package.json
10
package.json
@ -21,7 +21,9 @@
|
|||||||
"lint-json": "npm run lint-server && npm run lint-challenges && npm run lint-resources && npm run lint-utils",
|
"lint-json": "npm run lint-server && npm run lint-challenges && npm run lint-resources && npm run lint-utils",
|
||||||
"test-challenges": "babel-node seed/test-challenges.js | tap-spec",
|
"test-challenges": "babel-node seed/test-challenges.js | tap-spec",
|
||||||
"pretest": "npm run lint",
|
"pretest": "npm run lint",
|
||||||
"test": "npm run test-challenges"
|
"test": "npm run test-challenges",
|
||||||
|
"snyk-protect": "snyk protect",
|
||||||
|
"prepublish": "npm run snyk-protect"
|
||||||
},
|
},
|
||||||
"license": "(BSD-3-Clause AND CC-BY-SA-4.0)",
|
"license": "(BSD-3-Clause AND CC-BY-SA-4.0)",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -132,7 +134,8 @@
|
|||||||
"webpack": "^1.9.12",
|
"webpack": "^1.9.12",
|
||||||
"webpack-stream": "^3.1.0",
|
"webpack-stream": "^3.1.0",
|
||||||
"xss-filters": "^1.2.6",
|
"xss-filters": "^1.2.6",
|
||||||
"yargs": "^4.1.0"
|
"yargs": "^4.1.0",
|
||||||
|
"snyk": "^1.17.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.9.12",
|
"browser-sync": "^2.9.12",
|
||||||
@ -144,5 +147,6 @@
|
|||||||
"sinon": "^1.17.3",
|
"sinon": "^1.17.3",
|
||||||
"tap-spec": "^4.1.1",
|
"tap-spec": "^4.1.1",
|
||||||
"tape": "^4.2.2"
|
"tape": "^4.2.2"
|
||||||
}
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
Reference in New Issue
Block a user