From e6fda6ab977f3da07139fbc6a7da08dcf8b4154d Mon Sep 17 00:00:00 2001 From: Tom Groshong Date: Mon, 20 May 2019 14:06:19 -0400 Subject: Update dependencies to latest Several important packages were outdated enough to have transient deps with security vulnerabilities. This patch upgrades key packages and makes config adjustments to support them. --- modern/package.json | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'modern/package.json') diff --git a/modern/package.json b/modern/package.json index 457650c..9d5ccf6 100644 --- a/modern/package.json +++ b/modern/package.json @@ -5,14 +5,14 @@ "dependencies": { "@material-ui/core": "^3.0.1", "@material-ui/icons": "^3.0.1", - "leaflet": "^1.3.4", - "react": "^16.4.2", + "leaflet": "^1.5.1", + "react": "^16.8.6", "react-container-dimensions": "^1.4.1", - "react-dom": "^16.4.2", - "react-leaflet": "^2.0.1", - "react-redux": "^5.0.7", - "react-router-dom": "^4.3.1", - "react-scripts": "^1.1.5", + "react-dom": "^16.8.6", + "react-leaflet": "^2.3.0", + "react-redux": "^7.0.3", + "react-router-dom": "^5.0.0", + "react-scripts": "^3.0.1", "redux": "^4.0.0" }, "scripts": { @@ -21,10 +21,17 @@ "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" }, - "proxy": { - "/api": { - "target": "http://localhost:8082", - "ws": true - } + "proxy": "http://localhost:8082", + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] } } -- cgit v1.2.3