From 440b4ef1f8c35789a8f657f0740075b540bb1214 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 04:26:00 +0100 Subject: [PATCH 1/2] fix: .snyk & package.json 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..1f7cf36 --- /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: + - lodash: + patched: '2020-05-01T03:25:58.808Z' + - nodegit > lodash: + patched: '2020-05-01T03:25:58.808Z' + - react-redux > lodash: + patched: '2020-05-01T03:25:58.808Z' From b73dc403d57a434ad1b99eee65edb03ac8aab3e4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 04:26:01 +0100 Subject: [PATCH 2/2] fix: .snyk & package.json 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 ca91570..9942c50 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "scripts": { "start": "electron dist/", "build": "webpack", - "lint-ts": "tslint --project tsconfig.json" + "lint-ts": "tslint --project tsconfig.json", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "devDependencies": { "@types/electron": "1.6.10", @@ -42,6 +44,8 @@ "react-redux": "5.0.7", "redux": "4.0.0", "redux-thunk": "2.3.0", - "url-join": "4.0.0" - } + "url-join": "4.0.0", + "snyk": "^1.316.1" + }, + "snyk": true }