From 60f8ba25975591c288f57fb510105877bdd9c835 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 23:46:10 +0100 Subject: [PATCH 1/2] fix: api-nodejs/package.json & api-nodejs/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- api-nodejs/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/api-nodejs/package.json b/api-nodejs/package.json index 47e5bc9..665e308 100644 --- a/api-nodejs/package.json +++ b/api-nodejs/package.json @@ -4,7 +4,9 @@ "description": "", "main": "handler.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "", "license": "ISC", @@ -17,6 +19,8 @@ }, "dependencies": { "request": "^2.83.0", - "request-promise": "^4.2.2" - } + "request-promise": "^4.2.2", + "snyk": "^1.316.1" + }, + "snyk": true } From 36754cb80ecdd6fdd6afd3a2be6968d689fd176d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 23:46:11 +0100 Subject: [PATCH 2/2] fix: api-nodejs/package.json & api-nodejs/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- api-nodejs/.snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 api-nodejs/.snyk diff --git a/api-nodejs/.snyk b/api-nodejs/.snyk new file mode 100644 index 0000000..2b0adc2 --- /dev/null +++ b/api-nodejs/.snyk @@ -0,0 +1,8 @@ +# 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: + - request-promise > request-promise-core > lodash: + patched: '2020-04-30T22:46:08.737Z'