diff --git a/packages/frontend/admin/package.json b/packages/frontend/admin/package.json index 0b1fce2d0bf3d..9cb0f381fb2ad 100644 --- a/packages/frontend/admin/package.json +++ b/packages/frontend/admin/package.json @@ -44,7 +44,7 @@ "react-dom": "^18.3.1", "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 3a3ab0d0d90d2..96c05db5e3c91 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": "^18.2.0", "react-dom": "^18.2.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 c38fe1ae8d39b..7093850527d6c 100644 --- a/packages/frontend/apps/electron/package.json +++ b/packages/frontend/apps/electron/package.json @@ -61,7 +61,7 @@ "nanoid": "^5.0.7", "react": "^18.2.0", "react-dom": "^18.2.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 652a68885c7f9..0601928411c7c 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": "^18.2.0", "react-dom": "^18.2.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 7f02417e9eb93..8d0a797aa8254 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": "^18.2.0", "react-dom": "^18.2.0", - "react-router-dom": "^6.26.1" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@types/react": "^18.2.75", diff --git a/packages/frontend/apps/web/package.json b/packages/frontend/apps/web/package.json index 2e7aa42af5a97..75961fccba5b7 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": "^18.2.0", "react-dom": "^18.2.0", - "react-router-dom": "^6.22.3" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@types/react": "^18.2.75", diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json index 3faab6d90935c..f387d38b877dc 100644 --- a/packages/frontend/component/package.json +++ b/packages/frontend/component/package.json @@ -56,7 +56,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "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.4.41", "swr": "^2.2.5", diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index 71d496d0223bf..f48c1decabf68 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -68,7 +68,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "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 befc5c886600a..513bee2bb62a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -194,7 +194,7 @@ __metadata: react-dom: "npm:^18.3.1" 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" @@ -224,7 +224,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" - react-router-dom: "npm:^6.26.1" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft @@ -361,7 +361,7 @@ __metadata: react: "npm:18.3.1" react-dom: "npm:18.3.1" 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.4.41" storybook: "npm:^8.2.9" @@ -459,7 +459,7 @@ __metadata: react: "npm:18.3.1" react-dom: "npm:18.3.1" 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" @@ -546,7 +546,7 @@ __metadata: next-themes: "npm:^0.4.0" react: "npm:^18.2.0" react-dom: "npm:^18.2.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" @@ -629,7 +629,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" - react-router-dom: "npm:^6.26.1" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft @@ -649,7 +649,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" - react-router-dom: "npm:^6.26.1" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft @@ -888,7 +888,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" - react-router-dom: "npm:^6.22.3" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft @@ -10940,13 +10940,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" @@ -17496,6 +17489,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" @@ -28508,27 +28508,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 @@ -29742,7 +29748,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 @@ -31771,6 +31777,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"