From 7cd1851566cb2a1377963dc4ee67e2cd6b5a5c53 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:49:00 +0100 Subject: [PATCH 1/2] fix: interface/src/.snyk & interface/src/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- interface/src/.snyk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 interface/src/.snyk diff --git a/interface/src/.snyk b/interface/src/.snyk new file mode 100644 index 00000000..4cc0ba4c --- /dev/null +++ b/interface/src/.snyk @@ -0,0 +1,22 @@ +# 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-04-30T23:48:58.674Z' + - material-ui > lodash: + patched: '2020-04-30T23:48:58.674Z' + - react-redux > lodash: + patched: '2020-04-30T23:48:58.674Z' + - redux > lodash: + patched: '2020-04-30T23:48:58.674Z' + - babel-inline-import-loader > babel-types > lodash: + patched: '2020-04-30T23:48:58.674Z' + - babel-inline-import-loader > babel-traverse > lodash: + patched: '2020-04-30T23:48:58.674Z' + - source-map-loader > async > lodash: + patched: '2020-04-30T23:48:58.674Z' + - babel-inline-import-loader > babel-traverse > babel-types > lodash: + patched: '2020-04-30T23:48:58.674Z' From 1d8ec5139da21bd5ae5fd1547ea5096c18b2f304 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:49:02 +0100 Subject: [PATCH 2/2] fix: interface/src/.snyk & interface/src/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- interface/src/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/interface/src/package.json b/interface/src/package.json index fc7a92fc..612d5b6f 100644 --- a/interface/src/package.json +++ b/interface/src/package.json @@ -3,7 +3,9 @@ "test": "npm run build", "dev": "cross-env NODE_ENV=development webpack-dev-server --progress --colors --config ./webpack.config.js", "build": "cross-env NODE_ENV=production webpack -p --progress --colors --config ./webpack.config.js", - "build:silent": "cross-env NODE_ENV=production webpack -p --colors --config ./webpack.config.js" + "build:silent": "cross-env NODE_ENV=production webpack -p --colors --config ./webpack.config.js", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "devDependencies": { "babel-core": "^6.26.0", @@ -92,7 +94,9 @@ "socket.io-client": "^2.0.4", "source-map-loader": "^0.2.3", "tapable": "^1.0.0-beta.5", - "uglifyjs-webpack-plugin": "^1.2.4" + "uglifyjs-webpack-plugin": "^1.2.4", + "snyk": "^1.316.1" }, - "private": false + "private": false, + "snyk": true }