From e63373b58d9d3ce764e4fe1e6ec3e4f7e5511ccc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 16:12:20 -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 f5d472b..fc811d8 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", @@ -35,7 +36,8 @@ "dependencies": { "request-promise-core": "1.1.3", "stealthy-require": "^1.1.1", - "tough-cookie": "^2.3.3" + "tough-cookie": "^2.3.3", + "snyk": "^1.316.2" }, "peerDependencies": { "request": "^2.34" @@ -54,5 +56,6 @@ "request": "^2.34.0", "rimraf": "~2.5.3", "run-sequence": "~1.2.2" - } + }, + "snyk": true } From 945aea6c6ae329b70b7f7acae5f96a481f77fb2c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 16:12:21 -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..25830f8 --- /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:12:18.006Z'