diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..c468e56 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - conventional-changelog > conventional-changelog-writer > lodash: + patched: '2019-07-04T00:43:47.080Z' + - conventional-github-releaser > conventional-changelog > conventional-changelog-writer > lodash: + patched: '2019-07-04T00:43:47.080Z' diff --git a/package.json b/package.json index b02abf0..ebda61a 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,12 @@ "conventional-github-releaser": "^0.5.0", "git-raw-commits": "^0.1.2", "loophole": "git://github.com/stevemao/loophole.git", - "through2": "^2.0.0" - } + "through2": "^2.0.0", + "snyk": "^1.189.0" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }