From dc31bf9fb7c9baf4ea2067b242aefdb3de1814a2 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Fri, 5 Jul 2019 08:02:28 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 22 ++++++++++++++++++++++ package.json | 10 +++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..da61d46 --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - grunt-contrib-watch > lodash: + patched: '2019-07-05T08:02:26.434Z' + - grunt > grunt-legacy-log > lodash: + patched: '2019-07-05T08:02:26.434Z' + - grunt > grunt-legacy-util > lodash: + patched: '2019-07-05T08:02:26.434Z' + - grunt-contrib-watch > async > lodash: + patched: '2019-07-05T08:02:26.434Z' + - patternlab-node > graphlib > lodash: + patched: '2019-07-05T08:02:26.434Z' + - grunt > grunt-legacy-log > grunt-legacy-log-utils > lodash: + patched: '2019-07-05T08:02:26.434Z' + - grunt-browser-sync > browser-sync > easy-extender > lodash: + patched: '2019-07-05T08:02:26.434Z' + - grunt-contrib-watch > gaze > globule > lodash: + patched: '2019-07-05T08:02:26.434Z' diff --git a/package.json b/package.json index 201acbe..597f594 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.192.0" }, "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 }