From 21c34ca3726e3905d8fcf477643e9b888eec045c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 10:26:30 +0200 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 d755a9b6cdb..043dcb7a22e 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,9 @@ "build": "tsc -p .", "watch": "tsc -w -p .", "clean": "rm -rf dist", - "test": "nyc -r=lcov -r=text mocha 'dist/**/*.spec.js'" + "test": "nyc -r=lcov -r=text mocha 'dist/**/*.spec.js'", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [ "office 365", @@ -41,7 +43,8 @@ "applicationinsights": "^1.0.0", "request": "^2.83.0", "request-promise-native": "^1.0.5", - "vorpal": "^1.12.0" + "vorpal": "^1.12.0", + "snyk": "^1.316.1" }, "devDependencies": { "@types/chalk": "^0.4.31", @@ -55,5 +58,6 @@ "nyc": "^11.2.1", "sinon": "^4.0.1", "typescript": "^2.6.1" - } + }, + "snyk": true } From 9557d5d7fd1bfb98e10f2588b2f61d438a4728c6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 10:26:31 +0200 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 00000000000..c9e64017023 --- /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: + - vorpal > lodash: + patched: '2020-05-01T08:26:28.219Z' + - request-promise-native > request-promise-core > lodash: + patched: '2020-05-01T08:26:28.219Z'