diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..465c5d8 --- /dev/null +++ b/.snyk @@ -0,0 +1,18 @@ +# 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-04T08:49:30.086Z' + - yeoman-generator > lodash: + patched: '2019-07-04T08:49:30.086Z' + - yeoman-generator > async > lodash: + patched: '2019-07-04T08:49:30.086Z' + - yeoman-generator > yeoman-environment > lodash: + patched: '2019-07-04T08:49:30.086Z' + - yeoman-generator > yeoman-environment > grouped-queue > lodash: + patched: '2019-07-04T08:49:30.086Z' + - yeoman-generator > yeoman-environment > inquirer > lodash: + patched: '2019-07-04T08:49:30.086Z' diff --git a/package.json b/package.json index 89a6cc8..09921c9 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "scripts": { "test": "istanbul cover _mocha -- --recursive test", "eslint": "node_modules/.bin/eslint generators/ test/", - "cobertura": "istanbul report cobertura --root coverage" + "cobertura": "istanbul report cobertura --root coverage", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": { "name": "Rain Agency", @@ -24,7 +26,8 @@ "lodash": "^4.17.4", "path": "^0.12.7", "simple-mock": "^0.7.3", - "yeoman-generator": "^1.0.0" + "yeoman-generator": "^1.0.0", + "snyk": "^1.190.0" }, "devDependencies": { "chai": "^3.5.0", @@ -46,5 +49,6 @@ "yeoman-test": "^1.6.0" }, "repository": "mediarain/generator-voxa-skill", - "license": "MIT" + "license": "MIT", + "snyk": true }