From 3b44f67369a8d63ec5795c07981355a2eb2892cc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:29:06 -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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a00fbc2..ed1a9db 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,9 @@ "rest errors" ], "scripts": { - "test": "make test" + "test": "make test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "bunyan": "^1.8.12", @@ -54,6 +56,8 @@ "dependencies": { "@netflix/nerror": "^1.1.3", "assert-plus": "^1.0.0", - "lodash": "^4.17.15" - } + "lodash": "^4.17.15", + "snyk": "^1.316.1" + }, + "snyk": true } From a52665cdc2e1180c80abd8a18edf6474fe03998a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:29:07 -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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..46131a1 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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-01T08:29:04.263Z' + - '@netflix/nerror > lodash': + patched: '2020-05-01T08:29:04.263Z'