From f15d6ecbde8c6013cd2f894756e074df4123fa25 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:19:43 -0400 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ed50633..5f4ee8b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "lodash": "^4.17.4", "oauth-evanp": "^0.9.10-evanp.2", "optimist": "^0.6.1", - "step": "^1.0.0" + "step": "^1.0.0", + "snyk": "^1.316.1" }, "bin": { "pump-authorize": "./bin/pump-authorize", @@ -42,7 +43,9 @@ "update-docs:readme": "sed \"s/^Version .*\\..*\\..*$/Version $npm_package_version/\" README.md | sponge README.md", "version": "npm run update-docs && git add README.md doc/", "postversion": "npm run postversion:push", - "postversion:push": "git push origin v$npm_package_version && git push --set-upstream origin $(git symbolic-ref --short HEAD)" + "postversion:push": "git push origin v$npm_package_version && git push --set-upstream origin $(git symbolic-ref --short HEAD)", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -65,5 +68,6 @@ "engines": { "node": ">=6 <=9", "npm": ">=2" - } + }, + "snyk": true } From ccef38371bdec6e7108db57f77a1a93d888a24c8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:19:44 -0400 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..e53dc6c --- /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: + - lodash: + patched: '2020-05-01T07:19:40.383Z'