From 8f2654c71929861dd8e847bfe477ab1ba4dd7a98 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 08:16:33 +0200 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 50c53f8b..33a2985a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "lint": "node test/lint.js", "test": "npm run lint && mocha --recursive --colors --reporter spec", "cover": "npm run clean && istanbul cover ./node_modules/mocha/bin/_mocha -- --recursive", - "coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --recursive --reporter spec && istanbul-coveralls && npm run clean" + "coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --recursive --reporter spec && istanbul-coveralls && npm run clean", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -57,14 +59,16 @@ "http-proxy": "^1.16.2", "is-glob": "^4.0.0", "lodash": "^4.17.2", - "micromatch": "^3.1.0" + "micromatch": "^3.1.0", + "snyk": "^1.316.1" }, "engines": { - "node" : ">=4.0.0" + "node": ">=4.0.0" }, "standard": { "env": [ "mocha" ] - } + }, + "snyk": true } From db831a54fa7d716918a0d374d5f2e7ffc46a3af8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 08:16:34 +0200 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 00000000..8ac2c6c5 --- /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: + - lodash: + patched: '2020-05-01T06:16:31.725Z'