diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..298f484 --- /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: + - lodash: + patched: '2020-04-30T23:00:44.159Z' diff --git a/package.json b/package.json index e8af9bd..af9fef8 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,17 @@ "lodash": "^4.11.1", "mandrill-api": "^1.0.45", "nodemailer": "^2.3.2", - "swig": "^1.4.2" + "swig": "^1.4.2", + "snyk": "^1.316.1" }, "devDependencies": { "rewire": "^2.5.1", "should": "^8.3.1", "sinon": "^1.17.3" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }