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 }