Skip to content

Commit

Permalink
general: update all dependencies (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbycz authored Oct 12, 2024
1 parent 7bd6863 commit a65a157
Show file tree
Hide file tree
Showing 5 changed files with 803 additions and 698 deletions.
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@
}
},
"dependencies": {
"@babel/runtime": "^7.24.6",
"@babel/runtime": "^7.25.7",
"@emotion/cache": "^11.13.1",
"@emotion/react": "^11.13.3",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^5.15.20",
"@mui/lab": "^5.0.0-alpha.170",
"@mui/material": "^5.15.20",
"@mui/material-nextjs": "^5.16.6",
"@openstreetmap/id-tagging-schema": "^6.7.3",
"@sentry/nextjs": "^8",
"@mui/icons-material": "^6.1.3",
"@mui/lab": "^6.0.0-beta.11",
"@mui/material": "^6.1.3",
"@mui/material-nextjs": "^6.1.3",
"@openstreetmap/id-tagging-schema": "^6.8.1",
"@sentry/nextjs": "^8.34.0",
"@teritorio/openmaptiles-gl-language": "^1.5.4",
"@xmldom/xmldom": "^0.8.10",
"@xmldom/xmldom": "^0.9.3",
"accept-language-parser": "^1.5.0",
"autosuggest-highlight": "^3.3.4",
"canvas": "^2.11.2",
"canvg": "^4.0.2",
"date-fns": "^3.6.0",
"date-fns": "^4.1.0",
"dice-coefficient": "^2.1.1",
"image-size": "^1.1.1",
"isomorphic-unfetch": "^4.0.2",
Expand All @@ -46,8 +46,8 @@
"js-md5": "^0.8.3",
"jss": "^10.10.0",
"lodash": "^4.17.21",
"maplibre-gl": "^4.6.0",
"next": "^14.2.6",
"maplibre-gl": "^4.7.1",
"next": "^14.2.15",
"next-codegrid": "^1.0.3",
"next-cookies": "^2.0.3",
"opening_hours": "^3.8.0",
Expand All @@ -62,22 +62,22 @@
},
"devDependencies": {
"@types/autosuggest-highlight": "^3.2.3",
"@types/jest": "^29.5.12",
"@types/jest": "^29.5.13",
"@types/js-cookie": "^3.0.6",
"@types/lodash": "^4.17.7",
"@types/lodash": "^4.17.10",
"@types/react-custom-scrollbars": "^4.0.13",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/typescript-estree": "^8.2.0",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/typescript-estree": "^8.8.1",
"babel-eslint": "^10.1.0",
"eslint": "^8",
"eslint-config-next": "14.2.5",
"eslint-config-next": "14.2.15",
"eslint-config-prettier": "^9.1.0",
"husky": "^4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.9",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"typescript": "^5.5.2"
"typescript": "^5.6.3"
},
"resolutions": {
"wrap-ansi": "npm:wrap-ansi@^7"
Expand Down
6 changes: 3 additions & 3 deletions src/components/LayerSwitcher/LayerSwitcherContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
ListItemText,
ListItemSecondaryAction,
Tooltip,
ListItemButton,
} from '@mui/material';
import { dotToOptionalBr } from '../helpers';
import {
Expand Down Expand Up @@ -75,8 +76,7 @@ export const LayerSwitcherContent = () => {
const isOutsideOfView =
bboxes && !bboxes.some((b) => isViewInsideBbox(view, b));
return (
<ListItem
button
<ListItemButton
key={key}
selected={activeLayers.includes(key)}
onClick={setActiveBaseMap}
Expand All @@ -102,7 +102,7 @@ export const LayerSwitcherContent = () => {
/>
)}
</ListItemSecondaryAction>
</ListItem>
</ListItemButton>
);
})}
</StyledList>
Expand Down
6 changes: 3 additions & 3 deletions src/components/LayerSwitcher/Overlays.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import {
Checkbox,
ListItem,
ListItemButton,
ListItemSecondaryAction,
ListItemText,
Typography,
Expand Down Expand Up @@ -47,7 +47,7 @@ export const Overlays = ({
);

return (
<ListItem button onClick={toggleOverlayLayer} key={key}>
<ListItemButton onClick={toggleOverlayLayer} key={key}>
<LayerIcon Icon={Icon} />
<ListItemText primary={dotToOptionalBr(name)} />
<ListItemSecondaryAction>
Expand All @@ -57,7 +57,7 @@ export const Overlays = ({
onClick={toggleOverlayLayer}
/>
</ListItemSecondaryAction>
</ListItem>
</ListItemButton>
);
})}
</StyledList>
Expand Down
6 changes: 6 additions & 0 deletions src/services/tagging/__tests__/idTaggingScheme.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,17 @@ describe('idTaggingScheme', () => {
'wikimedia_commons',
'wikidata',
'start_date',
'short_name',
'reg_name',
'official_name',
'note',
'nat_name',
'mapillary',
'loc_name',
'fixme',
'ele_node',
'description',
'alt_name',
'ref/linz/place_id-NZ',
'architect',
]);
Expand Down
Loading

0 comments on commit a65a157

Please sign in to comment.