From 77cce2f6f8487bbf3dcd6942c686b3c87e75bf8d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:12:31 +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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 890d70c..09ead0b 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,14 @@ }, "license": "MIT", "scripts": { - "test": "grunt && mocha" + "test": "grunt && mocha", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "grunt-tabs4life": "^1.0.11", - "hercule": "^3.0.2" + "hercule": "^3.0.2", + "snyk": "^1.316.1" }, "devDependencies": { "chai": "^3.0.0", @@ -34,5 +37,6 @@ }, "files": [ "tasks" - ] + ], + "snyk": true } From 10a9186f0dc6896178f46b7d43b8daf005f67f3d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:12:32 +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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7ac21d0 --- /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: + - hercule > lodash: + patched: '2020-05-01T05:12:28.999Z' + - hercule > regexp-stream-tokenizer > lodash: + patched: '2020-05-01T05:12:28.999Z'