aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorTom Groshong <tom@groshong.software>2019-05-20 14:06:19 -0400
committerTom Groshong <tom@groshong.software>2019-05-20 14:30:06 -0400
commite6fda6ab977f3da07139fbc6a7da08dcf8b4154d (patch)
tree683daa58ca9a3cf53c5f2b9acf2b7ae72d3be91e /modern
parent4176a083468c13c1a8a8a4b0ff4ae5c36eb2951f (diff)
downloadetbsa-traccar-web-e6fda6ab977f3da07139fbc6a7da08dcf8b4154d.tar.gz
etbsa-traccar-web-e6fda6ab977f3da07139fbc6a7da08dcf8b4154d.tar.bz2
etbsa-traccar-web-e6fda6ab977f3da07139fbc6a7da08dcf8b4154d.zip
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.
Diffstat (limited to 'modern')
-rw-r--r--modern/package.json31
1 files changed, 19 insertions, 12 deletions
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"
+ ]
}
}