bikehopper / bikehopper-ui

Friendly bike+transit directions (frontend)
Other
26 stars 1 forks source link

Upgrade dependencies #325

Closed graue closed 4 months ago

graue commented 5 months ago

Upgrades all our npm dependencies except for:

Package Ours Latest Why hold back?
eslint 8 9 eslint-plugin-react does not yet support it
immer 9 10 Drops some browser backward compat w no real benefit
maplibre-gl 1 4 Need to figure out how to use with Mapbox styles (or switch off Mapbox)
react-redux 8 9 Requires redux 5
redux 4 5 Drops some browser backward compat w no real benefit
redux-thunk 2 3 Requires redux 5

and some packages we weren't actually using that I removed.

For the redux packages and immer, I figure we can wait a bit until those browsers being dropped are less used. The features they've adopted are unavailable for 3-5% of web users, which seems high when the old version works fine.

Note that the new vite-plugin-svgr requires changes to how we import SVG files.

graue commented 5 months ago

@Andykmcc since you're thinking about JS dependencies, have a look?