diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..b4711ec --- /dev/null +++ b/.snyk @@ -0,0 +1,42 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.7.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - grunt-browser-sync > browser-sync > socket.io-client > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-contrib-watch > tiny-lr > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > connect > finalhandler > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > serve-index > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-contrib-watch > tiny-lr > body-parser > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > localtunnel > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io > engine.io > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io > socket.io-adapter > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > connect > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io > socket.io-client > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io-client > engine.io-client > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io > socket.io-client > engine.io-client > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > serve-static > send > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io > socket.io-parser > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io-client > socket.io-parser > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io > socket.io-client > socket.io-parser > debug: + patched: '2017-09-29T06:59:09.236Z' + - grunt-browser-sync > browser-sync > socket.io > socket.io-adapter > socket.io-parser > debug: + patched: '2017-09-29T06:59:09.236Z' diff --git a/package.json b/package.json index 201acbe..951b268 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.41.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 }