diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..7ac21d0 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - hercule > lodash: + patched: '2020-05-01T05:12:28.999Z' + - hercule > regexp-stream-tokenizer > lodash: + patched: '2020-05-01T05:12:28.999Z' diff --git a/package.json b/package.json index 890d70c..09ead0b 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,14 @@ }, "license": "MIT", "scripts": { - "test": "grunt && mocha" + "test": "grunt && mocha", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "grunt-tabs4life": "^1.0.11", - "hercule": "^3.0.2" + "hercule": "^3.0.2", + "snyk": "^1.316.1" }, "devDependencies": { "chai": "^3.0.0", @@ -34,5 +37,6 @@ }, "files": [ "tasks" - ] + ], + "snyk": true }