diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..5882b41 --- /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-04T00:54:38.719Z' diff --git a/package.json b/package.json index f267de1..f73cae9 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "test": "gulp test", - "coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" + "coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -31,7 +33,8 @@ "promise": "~7.1.1", "request": "~2.81.0", "sarathi-discovery-strategy": "0.0.1", - "string-format": "~0.5.0" + "string-format": "~0.5.0", + "snyk": "^1.317.0" }, "devDependencies": { "chai": "~3.5.0", @@ -42,5 +45,6 @@ "mocha": "~3.2.0", "proxyquire": "~1.7.11", "sinon": "~1.17.7" - } + }, + "snyk": true }