diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..add2268 --- /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: + - async > lodash: + patched: '2020-05-07T04:55:21.523Z' diff --git a/package.json b/package.json index 2d011d4..4ba2535 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "commander": "^2.9.0", "measured": "^1.0.2", "progress2": "~0.1.1", - "request": "^2.75.0" + "request": "^2.75.0", + "snyk": "^1.319.1" }, "devDependencies": { "accum": "^0.3.6", @@ -31,7 +32,9 @@ }, "bin": "bin/bench-rest", "scripts": { - "test": "./node_modules/mocha/bin/mocha ./test/*.mocha.js" + "test": "./node_modules/mocha/bin/mocha ./test/*.mocha.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [ "benchmarking", @@ -47,5 +50,6 @@ "load testing", "client", "DSL" - ] + ], + "snyk": true }