From 0c54a73afc70e73cd0a7b207f2429def80405e81 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 16:21:06 -0700 Subject: [PATCH 1/2] fix: hack/docs/.snyk & hack/docs/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- hack/docs/.snyk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 hack/docs/.snyk diff --git a/hack/docs/.snyk b/hack/docs/.snyk new file mode 100644 index 00000000..cad3dcbf --- /dev/null +++ b/hack/docs/.snyk @@ -0,0 +1,8 @@ +# 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-30T23:21:04.417Z' From 4e002fb0fe23d2963c15eadedc8231b2aba6fe20 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 16:21:07 -0700 Subject: [PATCH 2/2] fix: hack/docs/.snyk & hack/docs/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- hack/docs/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hack/docs/package.json b/hack/docs/package.json index 9f921a26..d98b1406 100644 --- a/hack/docs/package.json +++ b/hack/docs/package.json @@ -4,7 +4,9 @@ "description": "supportbundle docs hacks", "main": "build/index.js", "scripts": { - "test": "mocha" + "test": "mocha", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "repository": { "type": "git", @@ -28,7 +30,8 @@ "tmp": "^0.0.33", "ts-node": "^4.1.0", "tv4": "^1.3.0", - "yargs": "^12.0.2" + "yargs": "^12.0.2", + "snyk": "^1.316.1" }, "devDependencies": { "@types/chai": "^4.1.4", @@ -41,5 +44,6 @@ "mocha-typescript": "^1.1.17", "tslint": "^5.9.1", "typescript": "^2.6.2" - } + }, + "snyk": true }