fix: package.json & .snyk to reduce vulnerabilities

This commit is contained in:
snyk-bot
2016-07-09 00:55:06 +00:00
parent b115efe702
commit 98dbf8f77e
2 changed files with 28 additions and 4 deletions

20
.snyk Normal file
View 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'

View File

@ -21,7 +21,9 @@
"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",
"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)",
"dependencies": {
@ -132,7 +134,8 @@
"webpack": "^1.9.12",
"webpack-stream": "^3.1.0",
"xss-filters": "^1.2.6",
"yargs": "^4.1.0"
"yargs": "^4.1.0",
"snyk": "^1.17.0"
},
"devDependencies": {
"browser-sync": "^2.9.12",
@ -144,5 +147,6 @@
"sinon": "^1.17.3",
"tap-spec": "^4.1.1",
"tape": "^4.2.2"
}
}
},
"snyk": true
}