diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ce41df6 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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:ms:20170412': + - botkit > localtunnel > debug > ms: + patched: '2017-05-26T00:01:06.785Z' + - botkit > twilio > jsonwebtoken > ms: + patched: '2017-05-26T00:01:06.785Z' diff --git a/package.json b/package.json index 6659675..d6be161 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,12 @@ }, "dependencies": { "botkit": "^0.2.2", - "omdb": "^0.6.1" - } + "omdb": "^0.6.1", + "snyk": "^1.30.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }