diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..71aa491 --- /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-05-01T06:50:21.494Z' diff --git a/package.json b/package.json index 9f2833e..7d8fcb0 100644 --- a/package.json +++ b/package.json @@ -37,12 +37,16 @@ "dependencies": { "assert-plus": "^1.0.0", "extsprintf": "^1.4.0", - "lodash": "^4.17.15" + "lodash": "^4.17.15", + "snyk": "^1.316.1" }, "scripts": { - "test": "make prepush & tsd" + "test": "make prepush & tsd", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "tsd": { "directory": "test" - } + }, + "snyk": true }