diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..c41134c --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:tunnel-agent:20170305': + - connect-ibmdatacache > bluemixdatacache > request > tunnel-agent: + patched: '2018-06-26T07:35:32.577Z' diff --git a/package.json b/package.json index f705cd2..092f24b 100644 --- a/package.json +++ b/package.json @@ -3,22 +3,26 @@ "version": "0.0.2", "description": "Article uploader for Dev Center", "scripts": { - "start": "node app.js" + "start": "node app.js", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "dependencies": { "async": "1.5.0", "body-parser": "^1.14.2", "cfenv": "1.0.3", - "cloudant": "1.4.2", + "cloudant": "1.6.0", "connect-ibmdatacache": "0.0.2", "debug": "2.2.0", - "express": "4.13.4", + "express": "4.16.0", "express-session": "1.13.0", "html-to-text": "1.5.0", "jade": "1.11.0", "moment": "2.10.6", - "request": "2.67.0", - "unfluff": "0.11.0" + "request": "2.81.0", + "unfluff": "0.11.0", + "snyk": "^1.85.0" }, - "repository": {} + "repository": {}, + "snyk": true }