mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-18 05:23:49 +00:00
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:
1824
package-lock.json
generated
1824
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -42,7 +42,7 @@
|
|||||||
"react-dom": "^19.2.1",
|
"react-dom": "^19.2.1",
|
||||||
"react-external-link": "^2.6.1",
|
"react-external-link": "^2.6.1",
|
||||||
"react-redux": "^9.2.0",
|
"react-redux": "^9.2.0",
|
||||||
"react-router": "^7.9.6",
|
"react-router": "^7.10.1",
|
||||||
"redux-localstorage-simple": "^2.5.1",
|
"redux-localstorage-simple": "^2.5.1",
|
||||||
"workbox-core": "^7.4.0",
|
"workbox-core": "^7.4.0",
|
||||||
"workbox-expiration": "^7.4.0",
|
"workbox-expiration": "^7.4.0",
|
||||||
@@ -58,6 +58,7 @@
|
|||||||
"@testing-library/react": "^16.3.0",
|
"@testing-library/react": "^16.3.0",
|
||||||
"@testing-library/user-event": "^14.6.1",
|
"@testing-library/user-event": "^14.6.1",
|
||||||
"@total-typescript/shoehorn": "^0.1.2",
|
"@total-typescript/shoehorn": "^0.1.2",
|
||||||
|
"@types/node": "^24.10.1",
|
||||||
"@types/react": "^19.2.7",
|
"@types/react": "^19.2.7",
|
||||||
"@types/react-dom": "^19.2.3",
|
"@types/react-dom": "^19.2.3",
|
||||||
"@vitejs/plugin-react": "^5.1.1",
|
"@vitejs/plugin-react": "^5.1.1",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ describe('<MainHeader />', () => {
|
|||||||
history.push(pathname);
|
history.push(pathname);
|
||||||
|
|
||||||
return renderWithStore(
|
return renderWithStore(
|
||||||
<Router location={history.location} navigator={history}>
|
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
|
||||||
<MainHeader />
|
<MainHeader />
|
||||||
</Router>,
|
</Router>,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ describe('<CreateServer />', () => {
|
|||||||
return {
|
return {
|
||||||
history,
|
history,
|
||||||
...renderWithStore(
|
...renderWithStore(
|
||||||
<Router location={history.location} navigator={history}>
|
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
|
||||||
<CreateServer useTimeoutToggle={useTimeoutToggle} />
|
<CreateServer useTimeoutToggle={useTimeoutToggle} />
|
||||||
</Router>,
|
</Router>,
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ describe('<DeleteServerButton />', () => {
|
|||||||
const setUp = (children: ReactNode = 'Remove this server') => {
|
const setUp = (children: ReactNode = 'Remove this server') => {
|
||||||
const history = createMemoryHistory({ initialEntries: ['/foo'] });
|
const history = createMemoryHistory({ initialEntries: ['/foo'] });
|
||||||
const result = renderWithStore(
|
const result = renderWithStore(
|
||||||
<Router location={history.location} navigator={history}>
|
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
|
||||||
<DeleteServerButton server={fromPartial({})}>{children}</DeleteServerButton>
|
<DeleteServerButton server={fromPartial({})}>{children}</DeleteServerButton>
|
||||||
</Router>,
|
</Router>,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ describe('<EditServer />', () => {
|
|||||||
return {
|
return {
|
||||||
history,
|
history,
|
||||||
...renderWithStore(
|
...renderWithStore(
|
||||||
<Router location={history.location} navigator={history}>
|
<Router location={history.location} navigator={history} unstable_useTransitions={false}>
|
||||||
<EditServer />
|
<EditServer />
|
||||||
</Router>,
|
</Router>,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user