Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
starsep committed Apr 20, 2024
1 parent fcf8afd commit 61635e0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion openaedmap-frontend.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
}
],
"settings": {}
}
}
33 changes: 17 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"@maplibre/maplibre-gl-geocoder": "^1.5.0",
"@mdi/js": "^7.4.47",
"@mdi/react": "^1.6.1",
"@sentry/react": "^7.107.0",
"@sentry/react": "^7.111.0",
"bulma": "^1.0.0",
"bulma-checkradio": "^2.1.3",
"events": "^3.3.0",
"i18next": "^23.10.1",
"i18next-browser-languagedetector": "^7.2.0",
"i18next-http-backend": "^2.5.0",
"maplibre-gl": "^4.1.1",
"i18next": "^23.11.2",
"i18next-browser-languagedetector": "^7.2.1",
"i18next-http-backend": "^2.5.1",
"maplibre-gl": "^4.1.3",
"opening_hours": "^3.8.0",
"osm-auth": "^2.4.0",
"react": "^18.2.0",
Expand All @@ -25,7 +25,7 @@
"react-i18next": "^14.1.0",
"react-image-gallery": "^1.3.0",
"react-select": "^5.8.0",
"typescript": "^5.4.2"
"typescript": "^5.4.5"
},
"engines": {
"node": ">=20.0.0"
Expand All @@ -40,17 +40,18 @@
"css-build": "sass sass/mystyles.scss src/mystyles.css"
},
"devDependencies": {
"@biomejs/biome": "1.6.1",
"@sentry/vite-plugin": "^2.15.0",
"@types/bun": "^1.0.8",
"@types/node": "^20.11.28",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@biomejs/biome": "1.7.0",
"@sentry/vite-plugin": "^2.16.1",
"@types/bun": "^1.1.0",
"@types/node": "^20.12.7",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@types/react-image-gallery": "^1.2.4",
"@vitejs/plugin-react": "^4.2.1",
"bun-types": "^1.0.31",
"sass": "^1.72.0",
"vite": "^5.1.6",
"bun-types": "^1.1.4",
"sass": "^1.75.0",
"vite": "^5.2.9",
"vite-plugin-sitemap": "^0.5.3"
}
},
"trustedDependencies": ["@biomejs/biome"]
}
3 changes: 2 additions & 1 deletion src/components/map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ const MapView: FC<MapViewProps> = ({ openChangesetId, setOpenChangesetId }) => {
setSidebarData,
language,
countriesData,
addMaplibreGeocoder,
]);

useEffect(() => {
Expand All @@ -316,7 +317,7 @@ const MapView: FC<MapViewProps> = ({ openChangesetId, setOpenChangesetId }) => {
addMaplibreGeocoder(map);
if (countriesDataLanguage !== language) return; // wait for countries data to be loaded
map.setStyle(mapStyle(language.toUpperCase(), countriesData));
}, [countriesData, countriesDataLanguage, language]);
}, [countriesData, countriesDataLanguage, language, addMaplibreGeocoder]);

return (
<>
Expand Down

0 comments on commit 61635e0

Please sign in to comment.