From 6f50b9ef60bbccecdf7af0aadff8122d96ce47c5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 23:29:23 -0700 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 f4ea3e5..63764fa 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "react-dom": "16.8.1", "react-helmet": "5.2.0", "react-router-dom": "4.3.1", - "winston": "3.2.1" + "winston": "3.2.1", + "snyk": "^1.316.1" }, "devDependencies": { "@babel/cli": "7.2.3", @@ -93,7 +94,9 @@ "start:prod": "node build/server/main.js", "test": "nps test", "postinstall": "nps postinstall", - "help": "nps help" + "help": "nps help", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "config": { "cz-emoji": { @@ -117,5 +120,6 @@ "bugs": { "url": "https://github.com/TGRstack/typescript-graphql-react-app-express/issues" }, - "homepage": "https://github.com/TGRstack/typescript-graphql-react-app-express#readme" + "homepage": "https://github.com/TGRstack/typescript-graphql-react-app-express#readme", + "snyk": true } From 74cb503ccdae634340c502a9c46b874006cf66dd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 23:29:24 -0700 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 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..29e49d5 --- /dev/null +++ b/.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: + - winston > async > lodash: + patched: '2020-05-01T06:29:20.208Z'