fix(deps): update dependency react-router-dom to v7 (#1881)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2025-05-31 16:10:19 +00:00 committed by GitHub
parent 41f3c1a7b6
commit 6468c48b75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 46 additions and 35 deletions

View File

@ -22,7 +22,7 @@
"react-dom": "^19.1.0",
"react-is": "^19.1.0",
"react-redux": "^9.2.0",
"react-router-dom": "^6.30.1",
"react-router-dom": "^7.6.1",
"redux": "^5.0.1",
"redux-logger": "^3.0.6",
"styled-components": "^5.3.11"

View File

@ -21,7 +21,7 @@
"react-bootstrap": "^2.10.10",
"react-dom": "^19.1.0",
"react-redux": "^9.2.0",
"react-router-dom": "^6.30.1",
"react-router-dom": "^7.6.1",
"redux": "^5.0.1",
"redux-logger": "^3.0.6"
},

View File

@ -155,22 +155,22 @@ function DemoApp(props: Props) {
});
};
const toggleImmutableSupport = () => {
const toggleImmutableSupport = async () => {
const options = getOptions(location);
navigate(
await navigate(
buildUrl({ ...options, supportImmutable: !options.supportImmutable }),
);
};
const toggleTheme = () => {
const toggleTheme = async () => {
const options = getOptions(location);
navigate(buildUrl({ ...options, dark: !options.dark }));
await navigate(buildUrl({ ...options, dark: !options.dark }));
};
const setTheme = (options: Options, theme: string) => {
navigate(buildUrl({ ...options, theme }));
const setTheme = async (options: Options, theme: string) => {
await navigate(buildUrl({ ...options, theme }));
};
const toggleTimeoutUpdate = () => {

View File

@ -26,7 +26,7 @@
"react-icons": "^5.5.0",
"react-is": "^19.1.0",
"react-redux": "^9.2.0",
"react-router-dom": "^6.30.1",
"react-router-dom": "^7.6.1",
"styled-components": "^5.3.11"
},
"devDependencies": {

View File

@ -1478,8 +1478,8 @@ importers:
specifier: ^9.2.0
version: 9.2.0(@types/react@19.1.6)(react@19.1.0)(redux@5.0.1)
react-router-dom:
specifier: ^6.30.1
version: 6.30.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
specifier: ^7.6.1
version: 7.6.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
redux:
specifier: ^5.0.1
version: 5.0.1
@ -1699,8 +1699,8 @@ importers:
specifier: ^9.2.0
version: 9.2.0(@types/react@19.1.6)(react@19.1.0)(redux@5.0.1)
react-router-dom:
specifier: ^6.30.1
version: 6.30.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
specifier: ^7.6.1
version: 7.6.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
redux:
specifier: ^5.0.1
version: 5.0.1
@ -2108,8 +2108,8 @@ importers:
specifier: ^9.2.0
version: 9.2.0(@types/react@19.1.6)(react@19.1.0)(redux@5.0.1)
react-router-dom:
specifier: ^6.30.1
version: 6.30.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
specifier: ^7.6.1
version: 7.6.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
styled-components:
specifier: ^5.3.11
version: 5.3.11(@babel/core@7.27.1)(react-dom@19.1.0(react@19.1.0))(react-is@19.1.0)(react@19.1.0)
@ -4267,10 +4267,6 @@ packages:
react-redux:
optional: true
'@remix-run/router@1.23.0':
resolution: {integrity: sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==}
engines: {node: '>=14.0.0'}
'@restart/hooks@0.4.16':
resolution: {integrity: sha512-f7aCv7c+nU/3mF7NWLtVVr0Ra80RqsO89hO72r+Y/nvQr5+q0UFGkocElTH6MJApvReVh6JHUFYn2cw1WdHF3w==}
peerDependencies:
@ -5903,6 +5899,10 @@ packages:
resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
engines: {node: '>= 0.6'}
cookie@1.0.2:
resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==}
engines: {node: '>=18'}
cookiejar@2.1.4:
resolution: {integrity: sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==}
@ -8881,18 +8881,22 @@ packages:
'@types/react':
optional: true
react-router-dom@6.30.1:
resolution: {integrity: sha512-llKsgOkZdbPU1Eg3zK8lCn+sjD9wMRZZPuzmdWWX5SUs8OFkN5HnFVC0u5KMeMaC9aoancFI/KoLuKPqN+hxHw==}
engines: {node: '>=14.0.0'}
react-router-dom@7.6.1:
resolution: {integrity: sha512-vxU7ei//UfPYQ3iZvHuO1D/5fX3/JOqhNTbRR+WjSBWxf9bIvpWK+ftjmdfJHzPOuMQKe2fiEdG+dZX6E8uUpA==}
engines: {node: '>=20.0.0'}
peerDependencies:
react: '>=16.8'
react-dom: '>=16.8'
react: '>=18'
react-dom: '>=18'
react-router@6.30.1:
resolution: {integrity: sha512-X1m21aEmxGXqENEPG3T6u0Th7g0aS4ZmoNynhbs+Cn+q+QGTLt+d5IQ2bHAXKzKcxGJjxACpVbnYQSCRcfxHlQ==}
engines: {node: '>=14.0.0'}
react-router@7.6.1:
resolution: {integrity: sha512-hPJXXxHJZEsPFNVbtATH7+MMX43UDeOauz+EAU4cgqTn7ojdI9qQORqS8Z0qmDlL1TclO/6jLRYUEtbWidtdHQ==}
engines: {node: '>=20.0.0'}
peerDependencies:
react: '>=16.8'
react: '>=18'
react-dom: '>=18'
peerDependenciesMeta:
react-dom:
optional: true
react-select@5.10.1:
resolution: {integrity: sha512-roPEZUL4aRZDx6DcsD+ZNreVl+fM8VsKn0Wtex1v4IazH60ILp5xhdlp464IsEAlJdXeD+BhDAFsBVMfvLQueA==}
@ -9190,6 +9194,9 @@ packages:
set-blocking@2.0.0:
resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
set-cookie-parser@2.7.1:
resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==}
set-function-length@1.2.2:
resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
engines: {node: '>= 0.4'}
@ -12149,8 +12156,6 @@ snapshots:
react: 19.1.0
react-redux: 9.2.0(@types/react@19.1.6)(react@19.1.0)(redux@5.0.1)
'@remix-run/router@1.23.0': {}
'@restart/hooks@0.4.16(react@19.1.0)':
dependencies:
dequal: 2.0.3
@ -13991,6 +13996,8 @@ snapshots:
cookie@0.7.2: {}
cookie@1.0.2: {}
cookiejar@2.1.4: {}
copy-to-clipboard@3.3.3:
@ -17398,17 +17405,19 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.6
react-router-dom@6.30.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
react-router-dom@7.6.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies:
'@remix-run/router': 1.23.0
react: 19.1.0
react-dom: 19.1.0(react@19.1.0)
react-router: 6.30.1(react@19.1.0)
react-router: 7.6.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
react-router@6.30.1(react@19.1.0):
react-router@7.6.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies:
'@remix-run/router': 1.23.0
cookie: 1.0.2
react: 19.1.0
set-cookie-parser: 2.7.1
optionalDependencies:
react-dom: 19.1.0(react@19.1.0)
react-select@5.10.1(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies:
@ -17789,6 +17798,8 @@ snapshots:
set-blocking@2.0.0:
optional: true
set-cookie-parser@2.7.1: {}
set-function-length@1.2.2:
dependencies:
define-data-property: 1.1.4