diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..338e7fa --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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': + - botkit > localtunnel > debug: + patched: '2017-09-29T00:01:07.591Z' diff --git a/package.json b/package.json index 6659675..ea766e1 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.41.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }