diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..0bd2a7f --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - async > lodash: + patched: '2019-07-04T00:39:08.764Z' diff --git a/package.json b/package.json index 896960f..da2514b 100644 --- a/package.json +++ b/package.json @@ -9,14 +9,18 @@ "mustache": "2.2.1", "portal-env": "file:../portal-env.tgz", "request": "2.88.0", - "wicked-sdk": "file:wicked-sdk.tgz" + "wicked-sdk": "file:wicked-sdk.tgz", + "snyk": "^1.189.0" }, "scripts": { - "start": "node ./bin/chatbot" + "start": "node ./bin/chatbot", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "jshintConfig": { "node": true, "esversion": 6 }, - "name": "portal-chatbot" + "name": "portal-chatbot", + "snyk": true } \ No newline at end of file