From acdbf0e952a6312c24de4c35911b9dc2ba2e357f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 03:50:42 +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 4b2c02a..21e511b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "app.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node app.js" + "start": "node app.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -29,6 +31,8 @@ "crypto-js": "^3.1.6", "express": "^4.14.0", "request": "^2.74.0", - "uuid": "^2.0.2" - } + "uuid": "^2.0.2", + "snyk": "^1.317.0" + }, + "snyk": true } From 78f14389c25b8ed0db119eb197dd4bf6c0ecc445 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 03:50:43 +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 0000000..bc01312 --- /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: + - async > lodash: + patched: '2020-05-05T02:50:39.667Z' + - cloudant-envoy > async > lodash: + patched: '2020-05-05T02:50:39.667Z' + - cloudant-envoy > cloudant > async > lodash: + patched: '2020-05-05T02:50:39.667Z'