From c0888fba4365370fc513828bbac926252391844c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 16:46:41 -0700 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 85ce579a..272cb0e7 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ }, "scripts": { "test": "grunt test", - "test-tap": "grunt test:tap" + "test-tap": "grunt test:tap", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "main": "lib/grunt", "bin": { @@ -52,7 +54,8 @@ "minimatch": "~3.0.0", "nopt": "~3.0.6", "path-is-absolute": "~1.0.0", - "rimraf": "~2.2.8" + "rimraf": "~2.2.8", + "snyk": "^1.319.1" }, "devDependencies": { "difflet": "~0.2.3", @@ -68,5 +71,6 @@ "files": [ "lib", "bin" - ] + ], + "snyk": true } From c7146a589bcc3bb7a3498b52a193df5c3c063055 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 16:46:42 -0700 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..485d2a06 --- /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: + - grunt-legacy-log > lodash: + patched: '2020-05-06T23:46:39.267Z'