From 1eeb5e8438086f5173e697553b94604e5309872e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 10:03:42 +0000 Subject: [PATCH] chore: bump up react-router-dom version to v7 --- packages/frontend/admin/package.json | 2 +- packages/frontend/apps/android/package.json | 2 +- packages/frontend/apps/electron/package.json | 2 +- packages/frontend/apps/ios/package.json | 2 +- packages/frontend/apps/mobile/package.json | 2 +- packages/frontend/apps/web/package.json | 2 +- packages/frontend/component/package.json | 2 +- packages/frontend/core/package.json | 2 +- yarn.lock | 73 ++++++++++++-------- 9 files changed, 51 insertions(+), 38 deletions(-) diff --git a/packages/frontend/admin/package.json b/packages/frontend/admin/package.json index 84fa2027a3256..29162bfdfb4cb 100644 --- a/packages/frontend/admin/package.json +++ b/packages/frontend/admin/package.json @@ -45,7 +45,7 @@ "react-dom": "^19.0.0", "react-hook-form": "^7.52.0", "react-resizable-panels": "^2.0.19", - "react-router-dom": "^6.23.1", + "react-router-dom": "^7.0.0", "sonner": "^1.5.0", "swr": "^2.2.5", "vaul": "^1.0.0", diff --git a/packages/frontend/apps/android/package.json b/packages/frontend/apps/android/package.json index a2bb1cbe6326a..33568203b0004 100644 --- a/packages/frontend/apps/android/package.json +++ b/packages/frontend/apps/android/package.json @@ -20,7 +20,7 @@ "@sentry/react": "^8.0.0", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.26.1" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@capacitor/cli": "^6.1.2", diff --git a/packages/frontend/apps/electron/package.json b/packages/frontend/apps/electron/package.json index c5e56f0474d0d..5c46a4974bc63 100644 --- a/packages/frontend/apps/electron/package.json +++ b/packages/frontend/apps/electron/package.json @@ -61,7 +61,7 @@ "nanoid": "^5.0.7", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.22.3", + "react-router-dom": "^7.0.0", "rxjs": "^7.8.1", "semver": "^7.6.0", "tree-kill": "^1.2.2", diff --git a/packages/frontend/apps/ios/package.json b/packages/frontend/apps/ios/package.json index 170070f6693d8..709fc11154dc0 100644 --- a/packages/frontend/apps/ios/package.json +++ b/packages/frontend/apps/ios/package.json @@ -26,7 +26,7 @@ "@sentry/react": "^8.0.0", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.26.1" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@capacitor/cli": "^6.1.2", diff --git a/packages/frontend/apps/mobile/package.json b/packages/frontend/apps/mobile/package.json index 471bab13c1cec..5da1a2b3da98c 100644 --- a/packages/frontend/apps/mobile/package.json +++ b/packages/frontend/apps/mobile/package.json @@ -18,7 +18,7 @@ "@sentry/react": "^8.0.0", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.26.1" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@types/react": "^19.0.0", diff --git a/packages/frontend/apps/web/package.json b/packages/frontend/apps/web/package.json index 2a2ab425ff208..5bd47245b8aa5 100644 --- a/packages/frontend/apps/web/package.json +++ b/packages/frontend/apps/web/package.json @@ -17,7 +17,7 @@ "@sentry/react": "^8.0.0", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.22.3" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@types/react": "^19.0.0", diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json index be55cc5c02cf8..092305453661a 100644 --- a/packages/frontend/component/package.json +++ b/packages/frontend/component/package.json @@ -59,7 +59,7 @@ "react": "19.0.0", "react-dom": "19.0.0", "react-paginate": "^8.2.0", - "react-router-dom": "^6.22.3", + "react-router-dom": "^7.0.0", "react-transition-state": "^2.1.1", "sonner": "^1.7.0", "swr": "^2.2.5", diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index f2230faf29f89..8805353f57cda 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -68,7 +68,7 @@ "react": "19.0.0", "react-dom": "19.0.0", "react-error-boundary": "^4.0.13", - "react-router-dom": "^6.22.3", + "react-router-dom": "^7.0.0", "react-transition-state": "^2.1.1", "react-virtuoso": "^4.7.8", "rxjs": "^7.8.1", diff --git a/yarn.lock b/yarn.lock index 0b073bce9f63a..e78670e89375d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -195,7 +195,7 @@ __metadata: react-dom: "npm:^19.0.0" react-hook-form: "npm:^7.52.0" react-resizable-panels: "npm:^2.0.19" - react-router-dom: "npm:^6.23.1" + react-router-dom: "npm:^7.0.0" shadcn-ui: "npm:^0.9.0" sonner: "npm:^1.5.0" swr: "npm:^2.2.5" @@ -225,7 +225,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-router-dom: "npm:^6.26.1" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft @@ -363,7 +363,7 @@ __metadata: react: "npm:19.0.0" react-dom: "npm:19.0.0" react-paginate: "npm:^8.2.0" - react-router-dom: "npm:^6.22.3" + react-router-dom: "npm:^7.0.0" react-transition-state: "npm:^2.1.1" sonner: "npm:^1.7.0" storybook: "npm:^8.4.7" @@ -466,7 +466,7 @@ __metadata: react: "npm:19.0.0" react-dom: "npm:19.0.0" react-error-boundary: "npm:^4.0.13" - react-router-dom: "npm:^6.22.3" + react-router-dom: "npm:^7.0.0" react-transition-state: "npm:^2.1.1" react-virtuoso: "npm:^4.7.8" rxjs: "npm:^7.8.1" @@ -553,7 +553,7 @@ __metadata: next-themes: "npm:^0.4.0" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-router-dom: "npm:^6.22.3" + react-router-dom: "npm:^7.0.0" rxjs: "npm:^7.8.1" semver: "npm:^7.6.0" set-cookie-parser: "npm:^2.7.1" @@ -636,7 +636,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-router-dom: "npm:^6.26.1" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft @@ -656,7 +656,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-router-dom: "npm:^6.26.1" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft @@ -903,7 +903,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-router-dom: "npm:^6.22.3" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft @@ -10928,13 +10928,6 @@ __metadata: languageName: node linkType: hard -"@remix-run/router@npm:1.21.0": - version: 1.21.0 - resolution: "@remix-run/router@npm:1.21.0" - checksum: 10/cf0fb69d19c1b79095ff67c59cea89086f3982a9a54c8a993818a60fc76e0ebab5a8db647c1a96a662729fad8e806ddd0a96622adf473f5a9f0b99998b2dbad4 - languageName: node - linkType: hard - "@repeaterjs/repeater@npm:^3.0.4, @repeaterjs/repeater@npm:^3.0.6": version: 3.0.6 resolution: "@repeaterjs/repeater@npm:3.0.6" @@ -17582,6 +17575,13 @@ __metadata: languageName: node linkType: hard +"cookie@npm:^1.0.1": + version: 1.0.2 + resolution: "cookie@npm:1.0.2" + checksum: 10/f5817cdc84d8977761b12549eba29435e675e65c7fef172bc31737788cd8adc83796bf8abe6d950554e7987325ad2d9ac2971c5bd8ff0c4f81c145f82e4ab1be + languageName: node + linkType: hard + "cookiejar@npm:^2.1.4": version: 2.1.4 resolution: "cookiejar@npm:2.1.4" @@ -28594,27 +28594,33 @@ __metadata: languageName: node linkType: hard -"react-router-dom@npm:^6.22.3, react-router-dom@npm:^6.23.1, react-router-dom@npm:^6.26.1": - version: 6.28.0 - resolution: "react-router-dom@npm:6.28.0" +"react-router-dom@npm:^7.0.0": + version: 7.0.2 + resolution: "react-router-dom@npm:7.0.2" dependencies: - "@remix-run/router": "npm:1.21.0" - react-router: "npm:6.28.0" + react-router: "npm:7.0.2" peerDependencies: - react: ">=16.8" - react-dom: ">=16.8" - checksum: 10/e637825132ea96c3514ef7b8322f9bf0b752a942d6b4ffc4c20e389b5911726adf3dba8208ed4b97bf5b9c3bd465d9d1a1db1a58a610a8d528f18d890e0b143f + react: ">=18" + react-dom: ">=18" + checksum: 10/7b7768c91bc19018278d05b7be2e959c4e47ffadfb81aeaa450efbd0dabc15bb3004e0c938da2a01eb4839c9f8decb5e42b85d81ee85584f47b5cbd4d958c112 languageName: node linkType: hard -"react-router@npm:6.28.0": - version: 6.28.0 - resolution: "react-router@npm:6.28.0" +"react-router@npm:7.0.2": + version: 7.0.2 + resolution: "react-router@npm:7.0.2" dependencies: - "@remix-run/router": "npm:1.21.0" + "@types/cookie": "npm:^0.6.0" + cookie: "npm:^1.0.1" + set-cookie-parser: "npm:^2.6.0" + turbo-stream: "npm:2.4.0" peerDependencies: - react: ">=16.8" - checksum: 10/f021a644513144884a567d9c2dcc432e8e3233f931378c219c5a3b5b842340f0faca86225a708bafca1e9010965afe1a7dada28aef5b7b6138c885c0552d9a7d + react: ">=18" + react-dom: ">=18" + peerDependenciesMeta: + react-dom: + optional: true + checksum: 10/f8bf5f7810388d4da81444d5e816135306aadd0340a26d645eb171e2b4c4a6d7f5a810f1d27e25ae0f006b949f7cf66fcf399f2af79f48341752a6651b2b30cb languageName: node linkType: hard @@ -29824,7 +29830,7 @@ __metadata: languageName: node linkType: hard -"set-cookie-parser@npm:^2.7.1": +"set-cookie-parser@npm:^2.6.0, set-cookie-parser@npm:^2.7.1": version: 2.7.1 resolution: "set-cookie-parser@npm:2.7.1" checksum: 10/c92b1130032693342bca13ea1b1bc93967ab37deec4387fcd8c2a843c0ef2fd9a9f3df25aea5bb3976cd05a91c2cf4632dd6164d6e1814208fb7d7e14edd42b4 @@ -31846,6 +31852,13 @@ __metadata: languageName: node linkType: hard +"turbo-stream@npm:2.4.0": + version: 2.4.0 + resolution: "turbo-stream@npm:2.4.0" + checksum: 10/7079bbc82b58340f783144cd669cc7e598288523103a8d68bb8a4c6bb28c64eccb71d389b33aab07788d3a9030638b795709e15cb8486f722b1cdac59cb58afc + languageName: node + linkType: hard + "tween-functions@npm:^1.2.0": version: 1.2.0 resolution: "tween-functions@npm:1.2.0"