From 7a03cae29c3ae7dec9a660981f38e365480a600a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 8 Oct 2025 18:59:32 +0000 Subject: [PATCH] chore(deps): update dependency react-router-dom to v7 --- packages/core/package.json | 2 +- packages/plugin-api-docgen/package.json | 2 +- packages/plugin-playground/package.json | 2 +- packages/plugin-preview/package.json | 2 +- packages/runtime/package.json | 2 +- pnpm-lock.yaml | 71 ++++++++++++++----------- 6 files changed, 46 insertions(+), 35 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 9aaad15bb..29e5dd284 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -80,7 +80,7 @@ "react": "^19.1.1", "react-dom": "^19.1.1", "react-lazy-with-preload": "^2.2.1", - "react-router-dom": "^6.30.1", + "react-router-dom": "^7.9.4", "rehype-external-links": "^3.0.0", "rehype-raw": "^7.0.0", "remark-gfm": "^4.0.1", diff --git a/packages/plugin-api-docgen/package.json b/packages/plugin-api-docgen/package.json index d2fe6b2c2..dbbcb157a 100644 --- a/packages/plugin-api-docgen/package.json +++ b/packages/plugin-api-docgen/package.json @@ -46,7 +46,7 @@ "@types/react-dom": "^19.1.9", "react": "^19.1.1", "react-dom": "^19.1.1", - "react-router-dom": "^6.30.1", + "react-router-dom": "^7.9.4", "rsbuild-plugin-publint": "^0.3.3", "typescript": "^5.8.2" }, diff --git a/packages/plugin-playground/package.json b/packages/plugin-playground/package.json index 36af13f6e..3bfb3b0f1 100644 --- a/packages/plugin-playground/package.json +++ b/packages/plugin-playground/package.json @@ -54,7 +54,7 @@ "mdast-util-mdx-jsx": "^3.2.0", "react": "^19.1.1", "react-dom": "^19.1.1", - "react-router-dom": "^6.30.1", + "react-router-dom": "^7.9.4", "rsbuild-plugin-publint": "^0.3.3", "typescript": "^5.8.2", "unified": "^11.0.5" diff --git a/packages/plugin-preview/package.json b/packages/plugin-preview/package.json index 89ca86035..e1c0eb421 100644 --- a/packages/plugin-preview/package.json +++ b/packages/plugin-preview/package.json @@ -46,7 +46,7 @@ "mdast-util-mdxjs-esm": "^2.0.1", "react": "^19.1.1", "react-dom": "^19.1.1", - "react-router-dom": "^6.30.1", + "react-router-dom": "^7.9.4", "rsbuild-plugin-publint": "^0.3.3", "typescript": "^5.8.2", "unified": "^11.0.5", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 48a15bb7b..c407e2412 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -42,7 +42,7 @@ "@unhead/react": "^2.0.17", "react": "^19.1.1", "react-dom": "^19.1.1", - "react-router-dom": "^6.30.1" + "react-router-dom": "^7.9.4" }, "devDependencies": { "@rsbuild/plugin-react": "~1.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index adb789c3e..619f326ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -868,8 +868,8 @@ importers: specifier: ^2.2.1 version: 2.2.1 react-router-dom: - specifier: ^6.30.1 - version: 6.30.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + specifier: ^7.9.4 + version: 7.9.4(react-dom@19.1.1(react@19.1.1))(react@19.1.1) rehype-external-links: specifier: ^3.0.0 version: 3.0.0 @@ -1109,8 +1109,8 @@ importers: specifier: ^19.1.1 version: 19.1.1(react@19.1.1) react-router-dom: - specifier: ^6.30.1 - version: 6.30.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + specifier: ^7.9.4 + version: 7.9.4(react-dom@19.1.1(react@19.1.1))(react@19.1.1) rsbuild-plugin-publint: specifier: ^0.3.3 version: 0.3.3(@rsbuild/core@1.5.13) @@ -1280,8 +1280,8 @@ importers: specifier: ^19.1.1 version: 19.1.1(react@19.1.1) react-router-dom: - specifier: ^6.30.1 - version: 6.30.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + specifier: ^7.9.4 + version: 7.9.4(react-dom@19.1.1(react@19.1.1))(react@19.1.1) rsbuild-plugin-publint: specifier: ^0.3.3 version: 0.3.3(@rsbuild/core@1.5.13) @@ -1347,8 +1347,8 @@ importers: specifier: ^19.1.1 version: 19.1.1(react@19.1.1) react-router-dom: - specifier: ^6.30.1 - version: 6.30.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + specifier: ^7.9.4 + version: 7.9.4(react-dom@19.1.1(react@19.1.1))(react@19.1.1) rsbuild-plugin-publint: specifier: ^0.3.3 version: 0.3.3(@rsbuild/core@1.5.13) @@ -1522,8 +1522,8 @@ importers: specifier: ^19.1.1 version: 19.1.1(react@19.1.1) react-router-dom: - specifier: ^6.30.1 - version: 6.30.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + specifier: ^7.9.4 + version: 7.9.4(react-dom@19.1.1(react@19.1.1))(react@19.1.1) devDependencies: '@rsbuild/plugin-react': specifier: ~1.4.1 @@ -2930,10 +2930,6 @@ packages: resolution: {integrity: sha512-S+9ANAvUmjutrshV4jZjaiG8XQyuJIZ8a4utWmN/vW1sgQ9IfBnPndwkmQYw53QmouOIytT874u65HEmu6H5jw==} engines: {node: '>=18'} - '@remix-run/router@1.23.0': - resolution: {integrity: sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==} - engines: {node: '>=14.0.0'} - '@rollup/rollup-android-arm-eabi@4.20.0': resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==} cpu: [arm] @@ -3999,6 +3995,10 @@ packages: convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + cookie@1.0.2: + resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==} + engines: {node: '>=18'} + copy-to-clipboard@3.3.3: resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==} @@ -5913,18 +5913,22 @@ packages: resolution: {integrity: sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==} engines: {node: '>=0.10.0'} - react-router-dom@6.30.1: - resolution: {integrity: sha512-llKsgOkZdbPU1Eg3zK8lCn+sjD9wMRZZPuzmdWWX5SUs8OFkN5HnFVC0u5KMeMaC9aoancFI/KoLuKPqN+hxHw==} - engines: {node: '>=14.0.0'} + react-router-dom@7.9.4: + resolution: {integrity: sha512-f30P6bIkmYvnHHa5Gcu65deIXoA2+r3Eb6PJIAddvsT9aGlchMatJ51GgpU470aSqRRbFX22T70yQNUGuW3DfA==} + 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.9.4: + resolution: {integrity: sha512-SD3G8HKviFHg9xj7dNODUKDFgpG4xqD5nhyd0mYoB5iISepuZAvzSr8ywxgxKJ52yRzf/HWtVHc9AWwoTbljvA==} + engines: {node: '>=20.0.0'} peerDependencies: - react: '>=16.8' + react: '>=18' + react-dom: '>=18' + peerDependenciesMeta: + react-dom: + optional: true react@19.1.1: resolution: {integrity: sha512-w8nqGImo45dmMIfljjMwOGtbmC/mk4CMYhWIicdSflH91J9TyCyczcPFXJzrZ/ZXcgGRFeP6BU0BEJTw6tZdfQ==} @@ -6338,6 +6342,9 @@ packages: resolution: {integrity: sha512-RbcPH1n5cfwKrru7v7+zrZvjLurgHhGyso3HTyGtRivGWgYjbOmGuivCQaORNELjNONoK35nj28EoWul9sb1zQ==} engines: {node: '>=10'} + set-cookie-parser@2.7.1: + resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==} + set-value@4.1.0: resolution: {integrity: sha512-zTEg4HL0RwVrqcWs3ztF+x1vkxfm0lP+MQQFPiMJTKVceBwEV0A569Ou8l9IYQG8jOZdMVI1hGsc0tmeD2o/Lw==} engines: {node: '>=11.0'} @@ -8367,8 +8374,6 @@ snapshots: '@publint/pack@0.1.2': {} - '@remix-run/router@1.23.0': {} - '@rollup/rollup-android-arm-eabi@4.20.0': optional: true @@ -9528,6 +9533,8 @@ snapshots: convert-source-map@2.0.0: {} + cookie@1.0.2: {} + copy-to-clipboard@3.3.3: dependencies: toggle-selection: 1.0.6 @@ -12063,17 +12070,19 @@ snapshots: react-refresh@0.17.0: {} - react-router-dom@6.30.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1): + react-router-dom@7.9.4(react-dom@19.1.1(react@19.1.1))(react@19.1.1): dependencies: - '@remix-run/router': 1.23.0 react: 19.1.1 react-dom: 19.1.1(react@19.1.1) - react-router: 6.30.1(react@19.1.1) + react-router: 7.9.4(react-dom@19.1.1(react@19.1.1))(react@19.1.1) - react-router@6.30.1(react@19.1.1): + react-router@7.9.4(react-dom@19.1.1(react@19.1.1))(react@19.1.1): dependencies: - '@remix-run/router': 1.23.0 + cookie: 1.0.2 react: 19.1.1 + set-cookie-parser: 2.7.1 + optionalDependencies: + react-dom: 19.1.1(react@19.1.1) react@19.1.1: {} @@ -12553,6 +12562,8 @@ snapshots: seroval@1.3.2: {} + set-cookie-parser@2.7.1: {} + set-value@4.1.0: dependencies: is-plain-object: 2.0.4