diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..0000d30 --- /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-01T07:32:56.246Z' + - async > lodash: + patched: '2020-05-01T07:32:56.246Z' diff --git a/package.json b/package.json index 423b893..15b4be5 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,12 @@ "colors": "^1.1.2", "lodash": "^4.16.5", "minimal-request": "^3.0.0", - "semver": "^5.3.0" - } + "semver": "^5.3.0", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }