Skip to content

Commit dcdd355

Browse files
authored
chore: Update dependencies (#1085)
1 parent c28ac71 commit dcdd355

38 files changed

+7956
-5390
lines changed

package-lock.json

Lines changed: 7753 additions & 5171 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -4,54 +4,54 @@
44
"private": true,
55
"type": "module",
66
"dependencies": {
7-
"@applitools/eyes-playwright": "^1.32.0",
7+
"@applitools/eyes-playwright": "^1.37.2",
88
"@emotion/react": "^11.14.0",
9-
"@emotion/styled": "^11.11.5",
10-
"@mui/icons-material": "^5.16.11",
11-
"@mui/lab": "^5.0.0-alpha.169",
12-
"@mui/material": "^5.16.7",
13-
"@mui/x-date-pickers": "^7.1.0",
14-
"@mui/x-tree-view": "^6.17.0",
15-
"@tanstack/query-sync-storage-persister": "^5.66.0",
16-
"@tanstack/react-query": "^5.45.1",
17-
"@tanstack/react-query-persist-client": "^5.66.0",
9+
"@emotion/styled": "^11.14.0",
10+
"@mui/icons-material": "^7.0.2",
11+
"@mui/lab": "^7.0.0-beta.11",
12+
"@mui/material": "^7.0.2",
13+
"@mui/x-date-pickers": "^7.28.3",
14+
"@mui/x-tree-view": "^7.28.1",
15+
"@tanstack/query-sync-storage-persister": "^5.74.4",
16+
"@tanstack/react-query": "^5.74.4",
17+
"@tanstack/react-query-persist-client": "^5.74.4",
1818
"@types/git-username": "^1.0.5",
1919
"@types/leaflet.markercluster": "^1.5.5",
20-
"@vitejs/plugin-react-swc": "^3.8.1",
21-
"antd": "^5.22.3",
20+
"@vitejs/plugin-react-swc": "^3.9.0",
21+
"antd": "^5.24.7",
2222
"axios": "^1.8.4",
2323
"babel-plugin-transform-import-meta": "^2.3.2",
2424
"classnames": "^2.5.1",
25-
"dayjs": "^1.11.11",
25+
"dayjs": "^1.11.13",
2626
"eslint-js": "github:eslint/js",
27-
"geolib": "^3.3.3",
27+
"geolib": "^3.3.4",
2828
"git-username": "^1.0.0",
29-
"http-proxy-middleware": "^3.0.3",
30-
"i18next": "^23.11.3",
31-
"i18next-fs-backend": "^2.3.1",
32-
"leaflet": "^1.8.0",
29+
"http-proxy-middleware": "^3.0.5",
30+
"i18next": "^25.0.0",
31+
"i18next-fs-backend": "^2.6.0",
32+
"leaflet": "^1.9.4",
3333
"lodash.debounce": "^4.0.8",
34-
"madge": "^6.1.0",
34+
"madge": "^8.0.0",
3535
"moment": "^2.30.1",
36-
"moment-timezone": "^0.5.46",
37-
"open-bus-stride-client": "0.1.2",
38-
"react": "^18.2.0",
36+
"moment-timezone": "^0.5.48",
37+
"open-bus-stride-client": "^0.1.3",
38+
"react": "^18.3.1",
3939
"react-dom": "^18.3.1",
4040
"react-ga4": "^2.1.0",
41-
"react-i18next": "^14.1.0",
42-
"react-leaflet": "^4.0.1",
41+
"react-i18next": "^15.4.1",
42+
"react-leaflet": "^4.2.1",
4343
"react-leaflet-cluster": "^2.1.0",
44-
"react-router-dom": "^6.26.2",
45-
"recharts": "^2.15.0",
46-
"sass": "^1.81.0",
47-
"styled-components": "^6.1.11",
44+
"react-router": "^7.5.0",
45+
"recharts": "^2.15.2",
46+
"sass": "^1.86.3",
47+
"styled-components": "^6.1.17",
4848
"stylis-plugin-rtl": "^2.1.1",
4949
"typescript": "^5.8.3",
5050
"underscore.string": "^3.3.6",
5151
"use-konami": "^1.0.1",
52-
"usehooks-ts": "^3.1.0",
52+
"usehooks-ts": "^3.1.1",
5353
"vite-plugin-svgr": "^4.3.0",
54-
"vite-tsconfig-paths": "^5.1.3",
54+
"vite-tsconfig-paths": "^5.1.4",
5555
"web-vitals": "^4.2.4"
5656
},
5757
"resolutions": {
@@ -85,14 +85,14 @@
8585
]
8686
},
8787
"devDependencies": {
88-
"@babel/preset-env": "^7.26.0",
89-
"@babel/preset-react": "^7.24.7",
88+
"@babel/preset-env": "^7.26.9",
89+
"@babel/preset-react": "^7.26.3",
9090
"@eslint/eslintrc": "^3.3.1",
9191
"@eslint/js": "^9.24.0",
9292
"@jest/globals": "^29.7.0",
93-
"@nx/eslint": "20.7.2",
94-
"@nx/eslint-plugin": "20.7.2",
95-
"@playwright/test": "^1.46.1",
93+
"@nx/eslint": "20.8.0",
94+
"@nx/eslint-plugin": "20.8.0",
95+
"@playwright/test": "^1.51.1",
9696
"@storybook/addon-essentials": "^8.6.12",
9797
"@storybook/addon-interactions": "^8.6.12",
9898
"@storybook/addon-links": "^8.6.12",
@@ -101,20 +101,20 @@
101101
"@storybook/react": "^8.6.12",
102102
"@storybook/react-vite": "^8.6.12",
103103
"@storybook/test": "^8.6.12",
104-
"@swc/cli": "^0.3.9",
105-
"@swc/core": "^1.9.2",
106-
"@testing-library/jest-dom": "^6.4.6",
107-
"@testing-library/react": "^16.0.1",
108-
"@testing-library/user-event": "^14.5.2",
104+
"@swc/cli": "^0.7.2",
105+
"@swc/core": "^1.11.21",
106+
"@testing-library/jest-dom": "^6.6.3",
107+
"@testing-library/react": "^16.3.0",
108+
"@testing-library/user-event": "^14.6.1",
109109
"@types/jest": "^29.5.14",
110-
"@types/leaflet": "^1.9.16",
111-
"@types/lodash.debounce": "^4.0.7",
112-
"@types/node": "^22.10.7",
113-
"@types/react": "^18.2.58",
114-
"@types/react-dom": "^18.3.0",
110+
"@types/leaflet": "^1.9.17",
111+
"@types/lodash.debounce": "^4.0.9",
112+
"@types/node": "^22.14.1",
113+
"@types/react": "^19.1.2",
114+
"@types/react-dom": "^19.1.2",
115115
"@types/styled-components": "^5.1.34",
116116
"@types/underscore.string": "^0.0.41",
117-
"@typescript-eslint/eslint-plugin": "^8.29.1",
117+
"@typescript-eslint/eslint-plugin": "^8.30.1",
118118
"cross-env": "^7.0.3",
119119
"eslint": "^9.24.0",
120120
"eslint-config-prettier": "^10.1.2",
@@ -129,19 +129,19 @@
129129
"jest": "^29.7.0",
130130
"jest-environment-jsdom": "^29.7.0",
131131
"jest-svg-transformer": "^1.0.0",
132-
"jsdom": "^24.0.0",
133-
"nx": "20.7.2",
134-
"playwright-advanced-har": "^1.3.1",
132+
"jsdom": "^26.1.0",
133+
"nx": "20.8.0",
134+
"playwright-advanced-har": "^1.3.3",
135135
"prettier": "^3.5.3",
136136
"storybook": "^8.6.12",
137137
"stylelint": "^16.18.0",
138138
"stylelint-config-standard-scss": "^14.0.0",
139-
"ts-jest": "^29.1.2",
139+
"ts-jest": "^29.3.2",
140140
"ts-node": "^10.9.2",
141-
"typescript-eslint": "^8.29.1",
142-
"vite": "^6.2.4",
141+
"typescript-eslint": "^8.30.1",
142+
"vite": "^6.3.1",
143143
"vite-plugin-istanbul": "^7.0.0",
144-
"vitest": "^3.0.5"
144+
"vitest": "^3.1.1"
145145
},
146146
"nx": {
147147
"targets": {

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import './App.scss'
22
import 'leaflet/dist/leaflet.css'
33
import 'moment/locale/he'
44
import { useTranslation } from 'react-i18next'
5-
import { RouterProvider } from 'react-router-dom'
5+
import { RouterProvider } from 'react-router'
66
import { Suspense, useEffect } from 'react'
77
import moment from 'moment-timezone'
88
import Preloader from './shared/Preloader'

src/api/gtfsService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ export async function getStopsForRouteAsync(
8787
})
8888
await Promise.all(
8989
rideStops.map(async (rideStop) => {
90+
if (!rideStop.gtfsStopId) return
9091
const stop = await GTFS_API.gtfsStopsGetGet({ id: rideStop.gtfsStopId })
91-
stops.push(fromGtfsStop(rideStop, stop, rideRepresentative))
92+
stops.push(fromGtfsStop(rideStop as GtfsRideStopPydanticModel, stop, rideRepresentative))
9293
}),
9394
)
9495
}

src/complaint/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/playwright:v1.38.0-jammy
1+
FROM mcr.microsoft.com/playwright:v1.52.0-jammy
22

33
COPY complaint.js /complaint.js
44
COPY package.json /package.json

src/complaint/package-lock.json

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/complaint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"author": "",
1414
"license": "ISC",
1515
"dependencies": {
16-
"playwright": "^1.38.1"
16+
"playwright": "^1.52.0"
1717
}
1818
}

src/layout/ThemeContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const ThemeProvider: FC<PropsWithChildren> = ({ children }) => {
5353
return (
5454
<LocalizationProvider dateAdapter={AdapterMoment} adapterLocale={i18n.language}>
5555
<ConfigProvider
56-
direction={i18n.dir()}
56+
direction={i18n.language === 'he' ? 'rtl' : 'ltr'}
5757
locale={heIL}
5858
theme={{
5959
algorithm: isDarkTheme ? darkAlgorithm : defaultAlgorithm,

src/layout/header/HeaderLinks/HeaderLinks.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FC } from 'react'
2-
import { useNavigate } from 'react-router-dom'
2+
import { useNavigate } from 'react-router'
33
import { useTranslation } from 'react-i18next'
44

55
import './HeaderLinks.scss'
@@ -50,7 +50,9 @@ const InternalLink = ({ label, path, icon }: LinkType) => {
5050
aria-label={t(label)}
5151
title={t(label)}
5252
className="header-link"
53-
onClick={() => navigate(path)}>
53+
onClick={() => {
54+
navigate(path)
55+
}}>
5456
{icon}
5557
</div>
5658
)

src/layout/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Layout } from 'antd'
22
import styled from 'styled-components'
3-
import { Link, Outlet } from 'react-router-dom'
3+
import { Link, Outlet } from 'react-router'
44
import { Suspense } from 'react'
55
import MainHeader from './header/Header'
66
import SideBar from './sidebar/SideBar'

src/layout/sidebar/SideBar.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import './sidebar.scss'
22
import { Drawer, Layout } from 'antd'
33
import { useContext, useState } from 'react'
4-
import { Link } from 'react-router-dom'
4+
import { Link } from 'react-router'
55
import { useTranslation } from 'react-i18next'
66
import { LayoutContextInterface, LayoutCtx } from '../LayoutContext'
77
import Menu from './menu/Menu'
@@ -16,12 +16,10 @@ export default function SideBar() {
1616
const { drawerOpen, setDrawerOpen } = useContext<LayoutContextInterface>(LayoutCtx)
1717
const [collapsed, setCollapsed] = useState(false)
1818

19-
const isRtl = i18n.language === 'he'
20-
2119
return (
2220
<>
2321
<Drawer
24-
placement="right"
22+
placement={i18n.dir() === 'rtl' ? 'right' : 'left'}
2523
mask
2624
width={280}
2725
onClose={() => setDrawerOpen(false)}
@@ -40,7 +38,6 @@ export default function SideBar() {
4038
width={250}
4139
collapsible
4240
collapsed={collapsed}
43-
reverseArrow={isRtl}
4441
style={{ overflowY: 'auto', marginBottom: '48px' }}
4542
onCollapse={(value: boolean) => setCollapsed(value)}
4643
className="hideOnMobile">

src/layout/sidebar/menu/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useState, useContext } from 'react'
2-
import { Link, useLocation } from 'react-router-dom'
2+
import { Link, useLocation } from 'react-router'
33
import './menu.scss'
44
import { useTranslation } from 'react-i18next'
55

src/pages/BugReportForm .tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import React, { useState } from 'react'
1+
import { useState } from 'react'
22
import { useTranslation } from 'react-i18next'
33
import { Form, Input, Button, Upload, message, Select, FormProps } from 'antd'
4-
import Card from '@mui/material/Card'
5-
import CardContent from '@mui/material/CardContent'
6-
import FileUploadOutlinedIcon from '@mui/icons-material/FileUploadOutlined'
4+
import { Card, CardContent } from '@mui/material'
5+
import { FileUploadOutlined } from '@mui/icons-material'
76
import axios from 'axios'
87
import './BugReportForm.scss'
98
import { UploadChangeParam, UploadFile } from 'antd/lib/upload'
@@ -168,7 +167,7 @@ const BugReportForm = () => {
168167
listType="picture"
169168
fileList={fileList}
170169
onChange={onFileChange}>
171-
<Button icon={<FileUploadOutlinedIcon fontSize="small" />}>
170+
<Button icon={<FileUploadOutlined fontSize="small" />}>
172171
{t('bug_attachments_upload_button')}
173172
</Button>
174173
</Upload>

src/pages/DataResearch/DataResearch.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ function StackedResearchInputs({
112112
return (
113113
<>
114114
<Grid container>
115-
<Grid xs={6} item>
115+
<Grid size={{ xs: 6 }}>
116116
<DateSelector
117117
time={startDate}
118118
onChange={(data) => data && setStartDate(data)}
119119
customLabel={t('start')}
120120
/>
121121
</Grid>
122-
<Grid xs={6} item>
122+
<Grid size={{ xs: 6 }}>
123123
<DateSelector
124124
time={endDate}
125125
onChange={(data) => data && setEndDate(data)}

src/pages/DonateModal/DonateModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const DonateModal: React.FC<DonateModalProps> = ({ isVisible, onClose })
5656
</Typography>
5757
<p>{t('how_to_donate_text')}</p>
5858
<Grid container spacing={2} direction={shouldImgCollapse ? 'column-reverse' : 'row'}>
59-
<Grid item xs={6}>
59+
<Grid size={{ xs: 6 }}>
6060
<Typography id="modal-modal-description" sx={{ mt: 2 }}>
6161
<h2>{t('donate_through_jgive.com_title')}</h2>
6262
<a
@@ -79,7 +79,7 @@ export const DonateModal: React.FC<DonateModalProps> = ({ isVisible, onClose })
7979
</a>
8080
</Typography>
8181
</Grid>
82-
<Grid item dir={direction} xs={6}>
82+
<Grid dir={direction} size={{ xs: 6 }}>
8383
<h2>{t('donation_through_bank_title')}</h2>
8484
<p>{t('donation_through_bank_reccomendation')}</p>
8585
<Typography id="modal-modal-description" sx={{ mt: 2 }}>

0 commit comments

Comments
 (0)