diff --git a/deps/npm/.snyk b/deps/npm/.snyk new file mode 100644 index 00000000000000..7a76a52ce24336 --- /dev/null +++ b/deps/npm/.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: + - npm-profile > make-fetch-happen > https-proxy-agent: + patched: '2019-10-04T05:46:18.979Z' + - pacote > make-fetch-happen > https-proxy-agent: + patched: '2019-10-04T05:46:18.979Z' diff --git a/deps/npm/package.json b/deps/npm/package.json index 71443a9ee2c40d..1c57b4f3aa5351 100644 --- a/deps/npm/package.json +++ b/deps/npm/package.json @@ -126,7 +126,8 @@ "which": "~1.3.0", "worker-farm": "~1.5.0", "wrappy": "~1.0.2", - "write-file-atomic": "~2.1.0" + "write-file-atomic": "~2.1.0", + "snyk": "^1.230.5" }, "bundleDependencies": [ "abbrev", @@ -248,14 +249,16 @@ }, "scripts": { "dumpconf": "env | grep npm | sort | uniq", - "prepare": "node bin/npm-cli.js --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc", + "prepare": "npm run snyk-protect && node bin/npm-cli.js --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc", "preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true", "tap": "tap --timeout 300", "tap-cover": "tap --nyc-arg='--cache' --coverage --timeout 600", "test": "standard && npm run test-tap", "test-coverage": "npm run tap-cover -- \"test/tap/*.js\" \"test/network/*.js\" \"test/broken-under-*/*.js\"", "test-tap": "npm run tap -- \"test/tap/*.js\" \"test/network/*.js\" \"test/broken-under-*/*.js\"", - "test-node": "tap --timeout 240 \"test/tap/*.js\" \"test/network/*.js\" \"test/broken-under-nyc*/*.js\"" + "test-node": "tap --timeout 240 \"test/tap/*.js\" \"test/network/*.js\" \"test/broken-under-nyc*/*.js\"", + "snyk-protect": "snyk protect" }, - "license": "Artistic-2.0" + "license": "Artistic-2.0", + "snyk": true }