From 7e9ff1e3af2fdaa7ac6c6115ca81a109272d6b45 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 09:57:04 +0300 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 767cea7..ae7216d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "rec.js", "scripts": { "test": "jasmine-node spec/recSpec.js", - "start": "nodemon rec.js" + "start": "nodemon rec.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [], "author": "", @@ -14,10 +16,12 @@ "codacy-coverage": "^2.0.2", "jasmine-node": "1.0.17", "nodemon": "^1.11.0", - "redis": "^2.8.0" + "redis": "^2.8.0", + "snyk": "^1.316.1" }, "devDependencies": { "grunt-template-jasmine-istanbul": "^0.5.0", "jasmine": "^2.7.0" - } + }, + "snyk": true } From 4f6769473954c21a98b3acecaea6d5c56e7a6010 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 09:57:05 +0300 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..2f48fec --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - codacy-coverage > lodash: + patched: '2020-05-01T06:57:02.748Z' + - codacy-coverage > request-promise > request-promise-core > lodash: + patched: '2020-05-01T06:57:02.748Z'