diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..e6975d6742 --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.7.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:hawk:20160119': + - tap > codecov.io > request > hawk: + patched: '2017-06-15T20:01:46.554Z' + 'npm:marked:20170112': + - marked: + patched: '2017-06-15T20:01:46.554Z' + 'npm:request:20160119': + - tap > codecov.io > request: + patched: '2017-06-15T20:01:46.554Z' diff --git a/package.json b/package.json index 087260e07a..d2146cf0db 100644 --- a/package.json +++ b/package.json @@ -10,32 +10,36 @@ "scripts": { "start": "node app.js", "build": "browserify -r jquery > public/js/bundle.js", - "cleanup": "mongo express-todo --eval 'db.todos.remove({});'" + "cleanup": "mongo express-todo --eval 'db.todos.remove({});'", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { - "body-parser": "1.9.0", + "body-parser": "1.17.1", "cfenv": "^1.0.4", "cookie-parser": "1.3.3", - "ejs": "1.0.0", + "ejs": "2.5.5", "ejs-locals": "1.0.2", - "errorhandler": "1.2.0", - "express": "4.12.4", + "errorhandler": "1.4.3", + "express": "4.15.3", "express-fileupload": "0.0.5", - "humanize-ms": "1.0.1", - "jquery": "^2.2.4", - "marked": "0.3.5", + "humanize-ms": "1.2.1", + "jquery": "^3.0.0", + "marked": "0.3.6", "method-override": "latest", - "moment": "2.15.1", - "mongoose": "4.2.4", + "moment": "2.15.2", + "mongoose": "4.10.2", "morgan": "latest", - "ms": "^0.7.1", - "npmconf": "0.0.24", + "ms": "^2.0.0", + "npmconf": "2.0.9", "optional": "^0.1.3", - "st": "0.2.4", + "st": "1.1.0", "stream-buffers": "^3.0.1", - "tap": "^5.7.0" + "tap": "^5.7.0", + "snyk": "^1.34.4" }, "devDependencies": { "browserify": "^13.1.1" - } + }, + "snyk": true }