diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e5fd95b --- /dev/null +++ b/.snyk @@ -0,0 +1,13 @@ +# 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:mime:20170907': + - hubot > express > send > mime: + patched: '2018-06-28T05:48:36.231Z' + - hubot > express > connect > serve-static > send > mime: + patched: '2018-06-28T05:48:36.231Z' + 'npm:tunnel-agent:20170305': + - soupselect > nodeunit > tap > coveralls > request > tunnel-agent: + patched: '2018-06-28T05:48:36.231Z' diff --git a/package.json b/package.json index 67f37ca..560baa8 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "mongodb": "1.4.7", "ntwitter": "https://github.com/sebhildebrandt/ntwitter/tarball/master", "pg": "~0.10.2", - "request": "2.14.0", + "request": "2.50.0", "soupselect": "0.2.0", "timezone": "0.0.23", "twit": "latest", @@ -40,10 +40,16 @@ "xml2js": "0.4.1", "xmldom": "0.1.16", "xpath": "0.0.5", - "hubot-motivate": ">= 0.0.0" + "hubot-motivate": ">= 0.0.0", + "snyk": "^1.85.0" }, "engines": { "node": ">= 0.8.x", "npm": ">= 1.1.x" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }