From ad7751c1a620733103dff91d186f90efa3abd60a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 6 Oct 2019 02:44:49 +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 | 12 ++++++++++++ package.json | 10 ++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000000..9fcdd982f8c --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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: + - lerna > @lerna/publish > @evocateur/pacote > make-fetch-happen > https-proxy-agent: + patched: '2019-10-06T02:44:46.366Z' + - lerna > @lerna/publish > @lerna/npm-dist-tag > @evocateur/npm-registry-fetch > make-fetch-happen > https-proxy-agent: + patched: '2019-10-06T02:44:46.366Z' + - lerna > @lerna/publish > @lerna/npm-publish > @evocateur/libnpmpublish > @evocateur/npm-registry-fetch > make-fetch-happen > https-proxy-agent: + patched: '2019-10-06T02:44:46.366Z' diff --git a/package.json b/package.json index d519a6d498f..6179c9105b5 100644 --- a/package.json +++ b/package.json @@ -47,9 +47,15 @@ "underscore": "latest" }, "dependencies": { - "lerna": "^3.16.2" + "lerna": "^3.16.2", + "snyk": "^1.231.0" }, "engines": { "node": ">=10.16.0" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }