diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..f0e1fd7 --- /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: + - request > form-data > async > lodash: + patched: '2019-07-05T05:20:05.925Z' diff --git a/package.json b/package.json index 4e00b04..a47495f 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "dependencies": { "json-stringify-safe": "5.0.x", "lodash": "^3.10.1", - "request": "2.68.0" + "request": "2.68.0", + "snyk": "^1.192.0" }, "devDependencies": { "assert": "^1.3.0", @@ -43,6 +44,9 @@ }, "license": "(Apache-2.0)", "scripts": { - "test": "node_modules/.bin/mocha -w" - } + "test": "node_modules/.bin/mocha -w", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } \ No newline at end of file