diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..5a6b25c --- /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: + - mongoose > async > lodash: + patched: '2020-05-01T08:32:22.067Z' diff --git a/package.json b/package.json index c898340..ae0fea7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,12 @@ { "dependencies": { "mongoose": "^4.13.7", - "superagent": "^3.5.2" - } + "superagent": "^3.5.2", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" + }, + "snyk": true }