diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..569438e --- /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: + - lodash: + patched: '2020-05-01T00:49:12.812Z' + - async > lodash: + patched: '2020-05-01T00:49:12.812Z' diff --git a/package.json b/package.json index 17573a5..1969863 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,12 @@ "dependencies": { "request": "^2.75", "lodash": "^4.16", - "async": "^2.0" - } + "async": "^2.0", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }