From 0c922bf2aff7bb93c6aec1729acbcae1c43756f2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 05:09: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 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e0b85cd..5e5cece 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "start": "node app.js", - "test": "grunt" + "test": "grunt", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -28,13 +30,15 @@ "lodash": "^4.17.2", "path": "^0.12.7", "rest-facade": "^1.4.1", - "simple-data-vis": "^0.2.0" + "simple-data-vis": "^0.2.0", + "snyk": "^1.317.0" }, - "devDependencies": { + "devDependencies": { "grunt": "0.4.5", "grunt-cli": "0.1.13", "grunt-contrib-jshint": "0.12.0", "jshint": "2.8.0", "grunt-jscs": "2.8.0" - } + }, + "snyk": true } From d4d51589a46700268c06cf68ac04b50871801a7a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 May 2020 05:09:44 +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..0b388c1 --- /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: + - lodash: + patched: '2020-05-05T04:09:18.990Z' + - async > lodash: + patched: '2020-05-05T04:09:18.990Z' + - cloudant > async > lodash: + patched: '2020-05-05T04:09:18.990Z'