From 41b1ee996a2e9a2e6109e535967069a3842226fb Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 28 Jun 2018 05:48:37 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:mime:20170907 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:mime:20170907 - https://snyk.io/vuln/npm:tunnel-agent:20170305 --- .snyk | 13 +++++++++++++ package.json | 12 +++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 .snyk 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 }