From 2ba71930bf580f2257a81b75e2324ed203d089dc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:02:59 -0500 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 201acbe..b34b8d8 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "minimist": "^1.2.0", "patternlab-node": "^2.0.0", "styleguidekit-assets-default": "^3.0.0", - "styleguidekit-mustache-default": "^3.0.0" + "styleguidekit-mustache-default": "^3.0.0", + "snyk": "^1.316.1" }, "keywords": [ "Pattern Lab", @@ -28,10 +29,13 @@ "bugs": "https://github.com/pattern-lab/edition-node-grunt/issues", "author": "Brian Muenzenmeyer", "scripts": { - "postinstall": "node node_modules/patternlab-node/core/scripts/postinstall.js" + "postinstall": "node node_modules/patternlab-node/core/scripts/postinstall.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "license": "MIT", "engines": { "node": ">=5.0" - } + }, + "snyk": true } From a57b67f58c2dc940526f5644d6aef90836fa3676 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 03:03:00 -0500 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 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..88799aa --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# 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-contrib-watch > lodash: + patched: '2020-05-01T08:02:44.712Z' + - grunt > grunt-legacy-log > lodash: + patched: '2020-05-01T08:02:44.712Z' + - grunt > grunt-legacy-util > lodash: + patched: '2020-05-01T08:02:44.712Z' + - grunt-contrib-watch > async > lodash: + patched: '2020-05-01T08:02:44.712Z' + - patternlab-node > graphlib > lodash: + patched: '2020-05-01T08:02:44.712Z' + - grunt > grunt-legacy-log > grunt-legacy-log-utils > lodash: + patched: '2020-05-01T08:02:44.712Z' + - grunt-browser-sync > browser-sync > easy-extender > lodash: + patched: '2020-05-01T08:02:44.712Z' + - grunt-contrib-watch > gaze > globule > lodash: + patched: '2020-05-01T08:02:44.712Z'