From 0e5090d141d2650c85d5373c51e0ae7cdfc80c0d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:23:18 -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 69bfdf0..47a2a09 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,9 @@ "version": "1.0.0", "description": "Boilerplate for MobX + React project with Typescript, ES6 compilation and hot code reloading", "scripts": { - "start": "node server.js" + "start": "node server.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -37,6 +39,8 @@ "react-dom": "^15.1.0", "react-json-table": "^0.1.1", "react-jsonschema": "^0.4.1", - "react-jsonschema-form": "^0.38.0" - } + "react-jsonschema-form": "^0.38.0", + "snyk": "^1.316.1" + }, + "snyk": true } From 610f9771dadf501e55073ec1428efaee185ad11e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:23:19 -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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..9c3641c --- /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-01T05:23:15.658Z' + - react-jsonschema > lodash: + patched: '2020-05-01T05:23:15.658Z' + - react-jsonschema > material-ui > lodash: + patched: '2020-05-01T05:23:15.658Z'