From 7fe3cf8ca6b4c4a88846a4bbbfd03d7bd0d8b93e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:49:49 +0100 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 48eae3bd..4dafcd0d 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "strip-bom": "2.0.0", "understudy": "4.1.0", "urljoin.js": "0.1.0", - "uuid": "2.0.1" + "uuid": "2.0.1", + "snyk": "^1.316.1" }, "devDependencies": { "mocha": "1.18.2", @@ -45,6 +46,9 @@ }, "scripts": { "start": "node bin/web.js", - "test": "mocha --reporter list" - } + "test": "mocha --reporter list", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From f2949a7ac13ef52235a94dd81e196fe75417e0c5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:49:50 +0100 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 00000000..655f64d3 --- /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: + - analytics-node > lodash: + patched: '2020-05-01T05:49:14.704Z' + - request > form-data > async > lodash: + patched: '2020-05-01T05:49:14.704Z' + - octocat > request > form-data > async > lodash: + patched: '2020-05-01T05:49:14.704Z'