diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..92c084e --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# 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-04T04:57:08.832Z' + - eslint > lodash: + patched: '2019-07-04T04:57:08.832Z' + - babel-eslint > babel-types > lodash: + patched: '2019-07-04T04:57:08.832Z' + - babel-eslint > babel-traverse > lodash: + patched: '2019-07-04T04:57:08.832Z' + - eslint > inquirer > lodash: + patched: '2019-07-04T04:57:08.832Z' + - eslint > table > lodash: + patched: '2019-07-04T04:57:08.832Z' + - babel-eslint > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:57:08.832Z' diff --git a/package.json b/package.json index ce7cabd..6ca533c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "app.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node_modules/.bin/babel-node app.js" + "start": "node_modules/.bin/babel-node app.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -29,6 +31,8 @@ "babel-eslint": "^6.0.0", "eslint": "^2.1.0", "github": "^0.2.4", - "lodash": "^4.17.5" - } + "lodash": "^4.17.5", + "snyk": "^1.189.0" + }, + "snyk": true }