diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..63161c6 --- /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:48:24.856Z' diff --git a/package.json b/package.json index 99d8f0b..1b769d3 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "build:merge": "concat -o README.md ./general-readme.md ./method-docs.md ./contributors.md ./readme_license.md", "test": "echo \"Error: no test specified\" && exit 1", "contributors:add": "all-contributors add", - "contributors:generate": "all-contributors generate" + "contributors:generate": "all-contributors generate", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "neilkalman@gmail.com", "license": "MIT", @@ -28,7 +30,8 @@ "merge-dirs": "^0.2.1", "mkdirp": "^0.5.1", "pkginfo": "^0.4.1", - "prettyjson": "^1.2.1" + "prettyjson": "^1.2.1", + "snyk": "^1.316.1" }, "bin": { "cli-lit": "bin/cli-lit.js" @@ -69,5 +72,6 @@ "generator", "typescript", "automation" - ] + ], + "snyk": true }