diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..da89a19 --- /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: + - async > lodash: + patched: '2020-05-01T02:08:40.638Z' + - mailgun-js > async > lodash: + patched: '2020-05-01T02:08:40.638Z' diff --git a/package.json b/package.json index 28c9585..c9fcf10 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,12 @@ "moment": "^2.17.1", "rand-token": "^0.3.0", "request": "^2.81.0", - "syncano-server": "^0.7.2-34" - } + "syncano-server": "^0.7.2-34", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }