From e6962bb4d53d7d8f4a55222887c7d1af838a43f9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 04:49:46 +0200 Subject: [PATCH 1/2] fix: packages/core/package.json & packages/core/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/core/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index b56c60c915..24d4d411fb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -7,7 +7,9 @@ "start": "tsc -w", "test": "nyc --exclude-after-remap=false --check-coverage --reporter=html --report-dir=reports/coverage --lines 80 --functions 80 --branches 75 npm run mocha", "mocha": "mocha \"test/helpers/**/*.js\" \"test/unit/**/*.js\" && mocha --timeout 60000 \"test/helpers/**/*.js\" \"test/integration/**/*.js\"", - "stryker": "node bin/stryker run" + "stryker": "node bin/stryker run", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -74,7 +76,8 @@ "tree-kill": "~1.2.0", "tslib": "~1.10.0", "typed-inject": "~2.1.1", - "typed-rest-client": "~1.7.1" + "typed-rest-client": "~1.7.1", + "snyk": "^1.316.1" }, "devDependencies": { "@stryker-mutator/api": "^0.24.1", @@ -86,5 +89,6 @@ "@types/node": "~10.17.13", "@types/progress": "~2.0.1", "flatted": "^2.0.0" - } + }, + "snyk": true } From 20c85f85d13e4143edcdcfec208038650ff79d08 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 04:49:47 +0200 Subject: [PATCH 2/2] fix: packages/core/package.json & packages/core/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/core/.snyk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/core/.snyk diff --git a/packages/core/.snyk b/packages/core/.snyk new file mode 100644 index 0000000000..29a7ecd7a5 --- /dev/null +++ b/packages/core/.snyk @@ -0,0 +1,16 @@ +# 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: + - inquirer > lodash: + patched: '2020-05-01T02:49:44.037Z' + - istanbul-lib-instrument > @babel/traverse > lodash: + patched: '2020-05-01T02:49:44.037Z' + - istanbul-lib-instrument > @babel/traverse > @babel/generator > lodash: + patched: '2020-05-01T02:49:44.037Z' + - istanbul-lib-instrument > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-05-01T02:49:44.037Z' + - istanbul-lib-instrument > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2020-05-01T02:49:44.037Z'