diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..9526735 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.3 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:lodash:20180130': + - yeoman-generator > html-wiring > cheerio > lodash: + patched: '2019-04-08T10:13:57.560Z' diff --git a/package.json b/package.json index 592942e..7c9546d 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,12 @@ "node": ">=0.10.0" }, "dependencies": { - "yeoman-generator": "~0.24.1" - } + "yeoman-generator": "~2.0.5", + "snyk": "^1.147.4" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }