From 26dd89c93241deb5f38774166834d6d5ea563b4e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:31:54 +0100 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 23b6efb..ff8b291 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "bin/github-wiki-sidebar.js", "scripts": { "lint": "eslint index.js bin", - "github-wiki-sidebar": "node ./bin/github-wiki-sidebar.js" + "github-wiki-sidebar": "node ./bin/github-wiki-sidebar.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "bin": { "github-wiki-sidebar": "./bin/github-wiki-sidebar.js" @@ -41,9 +43,11 @@ "git-wiki-to-html": "~0.3.0", "inquirer": "^6.0.0", "shelljs": "^0.8.2", - "chalk": "^2.4.1" + "chalk": "^2.4.1", + "snyk": "^1.316.1" }, "devDependencies": { "eslint": "^4.19.1" - } + }, + "snyk": true } From 28a2f30ae86af2962954a400a30c8e9cd20fe1e0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 06:31:55 +0100 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..98ac17b --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - git-wiki-to-html > lodash: + patched: '2020-05-01T05:31:53.002Z' + - inquirer > lodash: + patched: '2020-05-01T05:31:53.002Z'