diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..944e855 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - lodash: + patched: '2020-05-01T00:26:30.940Z' diff --git a/package.json b/package.json index ff5303e..c93e306 100644 --- a/package.json +++ b/package.json @@ -26,14 +26,23 @@ "node": ">0.6.12" }, "scripts": { - "test": "./node_modules/.bin/grunt test" + "test": "./node_modules/.bin/grunt test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { - "eventemitter2" : ">= 0.4.9" , - "lodash": ">= 0.3.2" + "eventemitter2": ">= 0.4.9", + "lodash": ">= 0.3.2", + "snyk": "^1.316.1" }, "devDependencies": { "grunt": "~0.3.14" }, - "keywords": [ "github", "payload", "git hook", "post-receive" ] + "keywords": [ + "github", + "payload", + "git hook", + "post-receive" + ], + "snyk": true }