From f7cd55b0762be1aa4504c662bd81b3d62c4335ed Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 21:54:00 -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 102ade0..5931a5e 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,9 @@ "superagent" ], "scripts": { - "test": "make test" + "test": "make test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "chai": "^4.2.0", @@ -74,9 +76,11 @@ "restify-errors": "^8.0.2", "semver": "^5.6.0", "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" + "uuid": "^3.3.2", + "snyk": "^1.316.1" }, "optionalDependencies": { "dtrace-provider": "^0.8.7" - } + }, + "snyk": true } From 4de6ef94f32bda7b7b5d1ac53466351312fbe3e1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 21:54:01 -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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..73cd522 --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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-01T04:53:57.387Z' + - restify-errors > lodash: + patched: '2020-05-01T04:53:57.387Z' + - restify-errors > @netflix/nerror > lodash: + patched: '2020-05-01T04:53:57.387Z'