diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..d5d05f5 --- /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: + - bunnybus > async > lodash: + patched: '2019-07-09T07:02:08.628Z' diff --git a/package.json b/package.json index f6917ac..9768d42 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,9 @@ "test-unit": "lab -t 100", "start-docker": "docker run -d --name=rabbitmq -p 5671:5671 -p 15672:15672 -p 5672:5672 rabbitmq:3-management", "stop-docker": "docker rm -f rabbitmq", - "updateTOC": "doctoc API.md" + "updateTOC": "doctoc API.md", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "engines": { "node": ">=6.x.x" @@ -40,6 +42,8 @@ }, "dependencies": { "bunnybus": "2.x.x", - "toki-templater": "2.x.x" - } + "toki-templater": "2.x.x", + "snyk": "^1.192.4" + }, + "snyk": true }