From 673e1e5c88a852108e3d6cc4b259485854581fe2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:16:09 -0700 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 49e15fe..0abab78 100644 --- a/package.json +++ b/package.json @@ -23,15 +23,19 @@ "eslint" ], "scripts": { - "test": "tap test.js" + "test": "tap test.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { - "eslint": "^3.16.1" + "eslint": "^3.16.1", + "snyk": "^1.316.1" }, "devDependencies": { "remark": "^7.0.0", "remark-lint": "^6.0.0", "remark-lint-code": "^2.0.0", "tap": "^10.2.2" - } + }, + "snyk": true } From 8ce0b0242914482e93268c113c18d866eb8e621a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:16:10 -0700 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 0000000..be0763d --- /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: + - eslint > lodash: + patched: '2020-05-01T08:16:06.897Z' + - eslint > inquirer > lodash: + patched: '2020-05-01T08:16:06.897Z' + - eslint > table > lodash: + patched: '2020-05-01T08:16:06.897Z'