From 0179c9017825d584308c26493aa9c3d3f74882b6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 08:56:09 +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 c7bbe71..60b7a98 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 ./bin/www" + "start": "node ./bin/www", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -33,6 +35,8 @@ "request": "^2.78.0", "rethinkdb": "^2.3.3", "simple-service-registry": "^0.1.1", - "socket.io": "^1.4.8" - } + "socket.io": "^1.4.8", + "snyk": "^1.317.0" + }, + "snyk": true } From f5c0447ad868c6e86f7b5864f071486511dced11 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 08:56:10 +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 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7f96b55 --- /dev/null +++ b/.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: + - async > lodash: + patched: '2020-05-05T07:56:05.741Z'