Skip to content

Commit 445faf4

Browse files
JannikBrackjannik brackcioddi
authored
Update dependencies (#239)
Co-authored-by: jannik brack <[email protected]> Co-authored-by: Max Tobias Weber <[email protected]>
1 parent 61984b3 commit 445faf4

File tree

5 files changed

+1635
-1996
lines changed

5 files changed

+1635
-1996
lines changed

.storybook/main.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ module.exports = {
22
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
33

44
addons: [
5-
'@storybook/addon-docs',
6-
],
7-
5+
'@storybook/addon-docs',
6+
],
87
framework: {
98
name: '@storybook/react-webpack5',
109
options: {},

package.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
"@emotion/react": "^11.14.0",
3030
"@emotion/styled": "^11.14.1",
3131
"@eslint/eslintrc": "^3.3.1",
32-
"@eslint/js": "^9.30.0",
32+
"@eslint/js": "^9.34.0",
3333
"@mapbox/mapbox-gl-draw": "1.4.3",
3434
"@mapbox/mapbox-gl-sync-move": "^0.3.1",
35-
"@mui/icons-material": "^7.2.0",
36-
"@mui/material": "^7.2.0",
37-
"@mui/system": "^7.2.0",
35+
"@mui/icons-material": "^7.3.1",
36+
"@mui/material": "^7.3.1",
37+
"@mui/system": "^7.3.1",
3838
"@reduxjs/toolkit": "^2.6.1",
3939
"@rollup/plugin-json": "^6.1.0",
40-
"@testing-library/dom": "^10.4.0",
40+
"@testing-library/dom": "^10.4.1",
4141
"@tmcw/togeojson": "^7.0.0",
4242
"@turf/helpers": "^7.2.0",
4343
"@turf/turf": "^7.2.0",
@@ -49,7 +49,7 @@
4949
"csv2geojson": "^5.1.2",
5050
"d3": "^7.9.0",
5151
"globals": "^16.3.0",
52-
"jspdf": "^3.0.1",
52+
"jspdf": "^3.0.2",
5353
"maplibre-gl": "5.6.0",
5454
"osm2geojson-lite": "^1.0.3",
5555
"pako": "^2.1.0",
@@ -58,7 +58,7 @@
5858
"react-redux": "^9.2.0",
5959
"redux": "^5.0.1",
6060
"redux-thunk": "^3.1.0",
61-
"three": "^0.178.0",
61+
"three": "^0.179.1",
6262
"topojson-client": "^3.1.0",
6363
"uuid": "^11.1.0",
6464
"wms-capabilities": "^0.6.0"
@@ -70,10 +70,10 @@
7070
"@rollup/plugin-babel": "^6.0.4",
7171
"@rollup/plugin-commonjs": "^28.0.6",
7272
"@rollup/plugin-url": "^8.0.2",
73-
"@storybook/addon-docs": "^9.0.15",
74-
"@storybook/addon-links": "^9.0.15",
73+
"@storybook/addon-docs": "^9.1.3",
74+
"@storybook/addon-links": "^9.1.3",
7575
"@storybook/addons": "^7.6.17",
76-
"@storybook/react-webpack5": "^9.0.15",
76+
"@storybook/react-webpack5": "^9.1.3",
7777
"@storybook/testing-react": "^2.0.1",
7878
"@testing-library/react": "^16.3.0",
7979
"@types/chai": "^5.2.1",
@@ -85,57 +85,57 @@
8585
"@types/mapbox__point-geometry": "^0.1.4",
8686
"@types/mapbox__vector-tile": "^2.0.0",
8787
"@types/mocha": "^10.0.10",
88-
"@types/pako": "^2.0.3",
89-
"@types/react": "^19.1.0",
90-
"@types/react-dom": "^19.1.1",
88+
"@types/pako": "^2.0.4",
89+
"@types/react": "^19.1.11",
90+
"@types/react-dom": "^19.1.8",
9191
"@types/sql.js": "^1.4.9",
92-
"@types/three": "^0.177.0",
92+
"@types/three": "^0.179.0",
9393
"@types/uuid": "^10.0.0",
94-
"@typescript-eslint/eslint-plugin": "^8.35.1",
95-
"@typescript-eslint/parser": "^8.35.1",
94+
"@typescript-eslint/eslint-plugin": "^8.41.0",
95+
"@typescript-eslint/parser": "^8.41.0",
9696
"avj": "^0.0.0",
97-
"babel-jest": "^30.0.2",
97+
"babel-jest": "^30.0.5",
9898
"babel-loader": "^10.0.0",
9999
"babel-plugin-inline-react-svg": "^2.0.2",
100100
"babel-plugin-styled-components": "^2.1.4",
101101
"babel-preset-react-app": "^10.1.0",
102-
"chai": "^5.2.0",
103-
"cypress": "^14.5.0",
102+
"chai": "^6.0.1",
103+
"cypress": "^15.0.0",
104104
"elasticlunr": "^0.9.5",
105-
"eslint": "^9.30.0",
106-
"eslint-config-prettier": "^10.1.1",
105+
"eslint": "^9.34.0",
106+
"eslint-config-prettier": "^10.1.8",
107107
"eslint-plugin-react": "^7.37.5",
108-
"eslint-plugin-storybook": "^9.0.15",
108+
"eslint-plugin-storybook": "^9.1.3",
109109
"glob": "^11.0.1",
110-
"jest": "30.0.3",
111-
"jest-circus": "30.0.3",
112-
"jest-environment-jsdom": "^30.0.2",
110+
"jest": "30.0.5",
111+
"jest-circus": "30.0.5",
112+
"jest-environment-jsdom": "^30.0.5",
113113
"jest-enzyme": "^7.1.2",
114-
"jest-resolve": "30.0.2",
114+
"jest-resolve": "30.0.5",
115115
"jest-watch-typeahead": "3.0.1",
116116
"mocha": "^11.7.1",
117117
"node-fetch": "^3.3.2",
118118
"path-browserify": "^1.0.1",
119119
"postcss": "^8.5.6",
120120
"prettier": "3.6.2",
121-
"react": "^19.1.0",
121+
"react": "^19.1.1",
122122
"react-app-polyfill": "^3.0.0",
123123
"react-dev-utils": "^12.0.1",
124-
"react-dom": "^19.1.0",
124+
"react-dom": "^19.1.1",
125125
"react-draggable": "^4.5.0",
126-
"react-i18next": "^15.4.1",
127-
"rollup": "^4.44.1",
126+
"react-i18next": "^15.7.2",
127+
"rollup": "^4.48.1",
128128
"rollup-plugin-delete": "^3.0.1",
129-
"rollup-plugin-import-css": "^4.0.1",
130-
"rollup-plugin-node-externals": "^8.0.1",
129+
"rollup-plugin-import-css": "^4.0.2",
130+
"rollup-plugin-node-externals": "^8.1.0",
131131
"rollup-plugin-typescript2": "^0.36.0",
132132
"showdown": "^2.1.0",
133133
"sql.js": "^1.13.0",
134-
"storybook": "^9.0.15",
135-
"ts-jest": "^29.3.1",
136-
"ts-loader": "^9.5.2",
134+
"storybook": "^9.1.3",
135+
"ts-jest": "^29.4.1",
136+
"ts-loader": "^9.5.4",
137137
"ts-node": "^10.9.2",
138-
"typescript": "^5.8.3"
138+
"typescript": "^5.9.2"
139139
},
140140
"jest": {
141141
"roots": [

src/hooks/useGpx/useGpx.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const useGpx = (props: useGpxProps) => {
3434
const title = node.nodeName;
3535

3636
if (node.nodeName === 'link') {
37-
value = node.getAttribute('href');
37+
value = node.getAttribute('href') ?? "";
3838
}
3939
if (value?.trim().length) {
4040
const metaDataEntry = {

src/setupTests.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
import '@testing-library/jest-dom';
2+
import { TextEncoder, TextDecoder } from 'util';
3+
4+
Object.assign(global, { TextDecoder, TextEncoder });
5+
26

37
var uuid_regex = '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}';
48
export { uuid_regex };
@@ -18,6 +22,8 @@ var mockMapLibreMethods = {
1822
};
1923
export { mockMapLibreMethods };
2024

25+
26+
2127
jest.mock('maplibre-gl/dist/maplibre-gl', () => {
2228
const originalModule = jest.requireActual('maplibre-gl/dist/maplibre-gl');
2329

0 commit comments

Comments
 (0)