From 477715f93a3aa646ec88a094a5ccda2d94dcb992 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 16:08:58 -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 72127b5..dfd347a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,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", @@ -36,7 +37,8 @@ "request-promise-core": "1.1.3", "bluebird": "^3.5.0", "stealthy-require": "^1.1.1", - "tough-cookie": "^2.3.3" + "tough-cookie": "^2.3.3", + "snyk": "^1.316.2" }, "peerDependencies": { "request": "^2.34" @@ -55,5 +57,6 @@ "request": "^2.34.0", "rimraf": "~2.5.3", "run-sequence": "~1.2.2" - } + }, + "snyk": true } From 8e6b6b8c801a9ca85782350f3b785bc9839e449a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 16:08:59 -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..14bb6e8 --- /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-02T23:08:56.050Z'