From c678fa3df8d64b5b24ceab5e1bed1464a7810490 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 16:33:30 -0600 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 3cf1f263fbda..9ca61f708caa 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,9 @@ "perf": "node Makefile.js perf", "profile": "beefy tests/bench/bench.js --open -- -t brfs -t ./tests/bench/xform-rules.js -r espree", "coveralls": "cat ./coverage/lcov.info | coveralls", - "check-commit": "node Makefile.js checkGitCommit" + "check-commit": "node Makefile.js checkGitCommit", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "files": [ "LICENSE", @@ -67,7 +69,8 @@ "strip-json-comments": "~2.0.1", "table": "^3.7.8", "text-table": "~0.2.0", - "user-home": "^2.0.0" + "user-home": "^2.0.0", + "snyk": "^1.316.1" }, "devDependencies": { "babel-polyfill": "^6.9.1", @@ -118,5 +121,6 @@ "license": "MIT", "engines": { "node": ">=4" - } + }, + "snyk": true } From 6a51654b4074d944ddaf4fddd5a35d16c856543f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 16:33:31 -0600 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 000000000000..51e6a77784fe --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# 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-04-30T22:33:28.135Z' + - inquirer > lodash: + patched: '2020-04-30T22:33:28.135Z' + - table > lodash: + patched: '2020-04-30T22:33:28.135Z'