From 8e411d39cfea9db7002380eff4aa2df79623e033 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:06:06 -0400 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 7e76b61f..d5711f4e 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,9 @@ "lint:staged": "lint-staged", "test": "NODE_ENV=test jest", "test:watch": "NODE_ENV=test jest --watch", - "test:coverage": "npm test -- --coverage --collectCoverageFrom 'app/**/*.js' --collectCoverageFrom 'graphql/**/*.js'" + "test:coverage": "npm test -- --coverage --collectCoverageFrom 'app/**/*.js' --collectCoverageFrom 'graphql/**/*.js'", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "lint-staged": { "lint:eslint": "*.js", @@ -46,7 +48,8 @@ "react-router-relay": "^0.13.5", "recompose": "^0.20.2", "sanitize.css": "^4.1.0", - "whatwg-fetch": "^1.0.0" + "whatwg-fetch": "^1.0.0", + "snyk": "^1.316.1" }, "devDependencies": { "aws-sdk": "^2.4.8", @@ -103,5 +106,6 @@ "^.+\\.(jpg|png|gif|eot|svg|ttf|woff|woff2|mp4|webm)$": "/foundation/jest/fileMock.js", "^.+\\.css$": "/foundation/jest/cssMock.js" } - } + }, + "snyk": true } From 9778208a72680c857e4921ad4cca5f6b6d85fe35 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:06:07 -0400 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 00000000..c2a4eff3 --- /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: + - lodash: + patched: '2020-05-01T04:06:03.958Z' + - react-router-relay > lodash: + patched: '2020-05-01T04:06:03.958Z'