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' 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 }