diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..c8c3c48 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - lodash: + patched: '2019-07-04T03:40:22.971Z' diff --git a/package.json b/package.json index 0b470ec..12461e5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "validated": "./lib/bin/validated.js" }, "scripts": { - "test": "make build lint check test" + "test": "make build lint check test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "babel": { "presets": [ @@ -59,6 +61,8 @@ "indent-string": "^2.1.0", "invariant": "^2.2.1", "levenshtein-edit-distance": "^1.0.0", - "lodash": "^4.11.2" - } + "lodash": "^4.11.2", + "snyk": "^1.189.0" + }, + "snyk": true }