From 846c471ea9bb2d10aa5ae2adbb71fe81b232d361 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 08:56:16 +0400 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ce7cabd..e1571a4 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.316.1" + }, + "snyk": true } From 76354df17f1c9f403e3bba4475e424577f65a460 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 08:56:17 +0400 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..53eaf63 --- /dev/null +++ b/.snyk @@ -0,0 +1,20 @@ +# 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-01T04:56:14.057Z' + - eslint > lodash: + patched: '2020-05-01T04:56:14.057Z' + - babel-eslint > babel-types > lodash: + patched: '2020-05-01T04:56:14.057Z' + - babel-eslint > babel-traverse > lodash: + patched: '2020-05-01T04:56:14.057Z' + - eslint > inquirer > lodash: + patched: '2020-05-01T04:56:14.057Z' + - eslint > table > lodash: + patched: '2020-05-01T04:56:14.057Z' + - babel-eslint > babel-traverse > babel-types > lodash: + patched: '2020-05-01T04:56:14.057Z'