diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7d1fad0 --- /dev/null +++ b/.snyk @@ -0,0 +1,11 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.8.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - gulp-ng-annotate > bufferstreams > debug: + patched: '2017-12-06T05:14:20.378Z' + 'npm:ms:20170412': + - gulp-ng-annotate > bufferstreams > debug > ms: + patched: '2017-12-06T05:14:20.378Z' diff --git a/package.json b/package.json index c94e235..01257b6 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "server.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node server.js" + "start": "node server.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "", "license": "MIT", @@ -25,6 +27,8 @@ "gulp-sourcemaps": "^1.6.0", "gulp-tap": "^0.1.3", "gulp-uglify": "^2.0.0", - "watchman": "^0.1.8" - } + "watchman": "^0.1.8", + "snyk": "^1.53.0" + }, + "snyk": true }