From 75c9f0bc8438f2af2410530385c9c2298beffa34 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 22:09:01 -0700 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 18f1c20..ad87bcd 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "test": "./node_modules/.bin/gulp ci", "test-publish": "./node_modules/.bin/gulp ci-no-cov", "publish-please": "publish-please", - "prepublish": "publish-please guard" + "prepublish": "npm run snyk-protect && publish-please guard", + "snyk-protect": "snyk protect" }, "repository": { "type": "git", @@ -37,7 +38,8 @@ "request-promise-core": "1.1.3", "any-promise": "^1.0.0", "stealthy-require": "^1.1.1", - "tough-cookie": "^2.3.3" + "tough-cookie": "^2.3.3", + "snyk": "^1.316.2" }, "peerDependencies": { "request": "^2.34" @@ -57,5 +59,6 @@ "request": "^2.34.0", "rimraf": "~2.5.3", "run-sequence": "~1.2.2" - } + }, + "snyk": true } From 6240372f5999562289b63004fde5e3d140414bea Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 22:09:02 -0700 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8f50b96 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - request-promise-core > lodash: + patched: '2020-05-02T05:08:59.802Z'