From b43c5505fa36d27817a725ce8b8a11542e094e11 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 4 Oct 2019 05:49:10 +0000 Subject: [PATCH] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-HTTPSPROXYAGENT-469131 --- .snyk | 10 ++++++++++ package.json | 10 +++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..bac889db --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-HTTPSPROXYAGENT-469131: + - analytics-node > superagent-proxy > proxy-agent > https-proxy-agent: + patched: '2019-10-04T05:49:08.092Z' + - analytics-node > superagent-proxy > proxy-agent > pac-proxy-agent > https-proxy-agent: + patched: '2019-10-04T05:49:08.092Z' diff --git a/package.json b/package.json index 48eae3bd..e2f3fb85 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "strip-bom": "2.0.0", "understudy": "4.1.0", "urljoin.js": "0.1.0", - "uuid": "2.0.1" + "uuid": "2.0.1", + "snyk": "^1.230.5" }, "devDependencies": { "mocha": "1.18.2", @@ -45,6 +46,9 @@ }, "scripts": { "start": "node bin/web.js", - "test": "mocha --reporter list" - } + "test": "mocha --reporter list", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }