Merge pull request #1760 from shlinkio/dependabot/npm_and_yarn/react-router-7.10.1

Bump react-router from 7.9.6 to 7.10.1
This commit is contained in:
Alejandro Celaya 2025-12-08 11:05:13 +01:00 committed by GitHub
commit 389c988ef5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 187 additions and 1648 deletions

1824
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -42,7 +42,7 @@
"react-dom": "^19.2.1",
"react-external-link": "^2.6.1",
"react-redux": "^9.2.0",
"react-router": "^7.9.6",
"react-router": "^7.10.1",
"redux-localstorage-simple": "^2.5.1",
"workbox-core": "^7.4.0",
"workbox-expiration": "^7.4.0",
@ -58,6 +58,7 @@
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@total-typescript/shoehorn": "^0.1.2",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",

View File

@ -11,7 +11,7 @@ describe('<MainHeader />', () => {
history.push(pathname);
return renderWithStore(
<Router location={history.location} navigator={history}>
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
<MainHeader />
</Router>,
);

View File

@ -29,7 +29,7 @@ describe('<CreateServer />', () => {
return {
history,
...renderWithStore(
<Router location={history.location} navigator={history}>
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
<CreateServer useTimeoutToggle={useTimeoutToggle} />
</Router>,
{

View File

@ -11,7 +11,7 @@ describe('<DeleteServerButton />', () => {
const setUp = (children: ReactNode = 'Remove this server') => {
const history = createMemoryHistory({ initialEntries: ['/foo'] });
const result = renderWithStore(
<Router location={history.location} navigator={history}>
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
<DeleteServerButton server={fromPartial({})}>{children}</DeleteServerButton>
</Router>,
);

View File

@ -20,7 +20,7 @@ describe('<EditServer />', () => {
return {
history,
...renderWithStore(
<Router location={history.location} navigator={history}>
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
<EditServer />
</Router>,
{