From 44feea5734e914d18a23d84ac88a5b0eff8a3c3f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 21:39:27 -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 f002552..05d4607 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,9 @@ "restify-conductor" ], "scripts": { - "test": "make test" + "test": "make test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "devDependencies": { "chai": "^4.1.2", @@ -53,6 +55,8 @@ "restify-errors": "^6.1.1", "toposort-class": "^0.3.1", "urijs": "^1.17.0", - "vasync": "^1.6.3" - } + "vasync": "^1.6.3", + "snyk": "^1.316.1" + }, + "snyk": true } From db997b6297e39c0e4f0fc5fb91c6da30212cfb4a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 21:39:28 -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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7c13358 --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# 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:39:25.795Z' + - restify > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify-clients > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify-errors > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify > restify-errors > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify-clients > restify-errors > lodash: + patched: '2020-05-01T04:39:25.795Z' + - restify-clients > restify-errors > @netflix/nerror > lodash: + patched: '2020-05-01T04:39:25.795Z'