From 581fc6c6a1cb9be124dda4c7d62f0da688e946c1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Dec 2024 08:25:31 +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 2eb2891ad6a28..db61bc62dd161 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.54.1", "react-resizable-panels": "^2.1.7", - "react-router-dom": "^6.28.0", + "react-router-dom": "^7.0.0", "sonner": "^1.7.1", "swr": "^2.2.5", "vaul": "^1.1.1", diff --git a/packages/frontend/apps/android/package.json b/packages/frontend/apps/android/package.json index 28b40b97a6e83..4f990ac60a53a 100644 --- a/packages/frontend/apps/android/package.json +++ b/packages/frontend/apps/android/package.json @@ -20,7 +20,7 @@ "@sentry/react": "^8.44.0", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.28.0" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@capacitor/cli": "^6.2.0", diff --git a/packages/frontend/apps/electron/package.json b/packages/frontend/apps/electron/package.json index 7ff1b83db15e0..dd7a1ea758fe6 100644 --- a/packages/frontend/apps/electron/package.json +++ b/packages/frontend/apps/electron/package.json @@ -62,7 +62,7 @@ "nanoid": "^5.0.9", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.28.0", + "react-router-dom": "^7.0.0", "rxjs": "^7.8.1", "semver": "^7.6.3", "tree-kill": "^1.2.2", diff --git a/packages/frontend/apps/ios/package.json b/packages/frontend/apps/ios/package.json index 8298e44a419e5..5705e2cdd2225 100644 --- a/packages/frontend/apps/ios/package.json +++ b/packages/frontend/apps/ios/package.json @@ -26,7 +26,7 @@ "@sentry/react": "^8.44.0", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.28.0" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@capacitor/cli": "^6.2.0", diff --git a/packages/frontend/apps/mobile/package.json b/packages/frontend/apps/mobile/package.json index 2c6af6469fe2b..c32e32caf0fcc 100644 --- a/packages/frontend/apps/mobile/package.json +++ b/packages/frontend/apps/mobile/package.json @@ -18,7 +18,7 @@ "@sentry/react": "^8.44.0", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.28.0" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@types/react": "^19.0.1", diff --git a/packages/frontend/apps/web/package.json b/packages/frontend/apps/web/package.json index b3a995920f089..08263875e0440 100644 --- a/packages/frontend/apps/web/package.json +++ b/packages/frontend/apps/web/package.json @@ -17,7 +17,7 @@ "@sentry/react": "^8.44.0", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-router-dom": "^6.28.0" + "react-router-dom": "^7.0.0" }, "devDependencies": { "@types/react": "^19.0.1", diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json index fee9b3b2e20da..687708ff6aa32 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.28.0", + "react-router-dom": "^7.0.0", "react-transition-state": "^2.2.0", "sonner": "^1.7.1", "swr": "^2.2.5", diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index dd4c868eaa6bf..cdc8d5103b72e 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.1.2", - "react-router-dom": "^6.28.0", + "react-router-dom": "^7.0.0", "react-transition-state": "^2.2.0", "react-virtuoso": "^4.12.3", "rxjs": "^7.8.1", diff --git a/yarn.lock b/yarn.lock index 85275bb53e9ec..7c9b14287d15e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -195,7 +195,7 @@ __metadata: react-dom: "npm:^19.0.0" react-hook-form: "npm:^7.54.1" react-resizable-panels: "npm:^2.1.7" - react-router-dom: "npm:^6.28.0" + react-router-dom: "npm:^7.0.0" shadcn-ui: "npm:^0.9.4" sonner: "npm:^1.7.1" 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.28.0" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.7.2" 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.28.0" + react-router-dom: "npm:^7.0.0" react-transition-state: "npm:^2.2.0" sonner: "npm:^1.7.1" 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.1.2" - react-router-dom: "npm:^6.28.0" + react-router-dom: "npm:^7.0.0" react-transition-state: "npm:^2.2.0" react-virtuoso: "npm:^4.12.3" rxjs: "npm:^7.8.1" @@ -554,7 +554,7 @@ __metadata: next-themes: "npm:^0.4.4" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-router-dom: "npm:^6.28.0" + react-router-dom: "npm:^7.0.0" rxjs: "npm:^7.8.1" semver: "npm:^7.6.3" set-cookie-parser: "npm:^2.7.1" @@ -637,7 +637,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-router-dom: "npm:^6.28.0" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.7.2" languageName: unknown linkType: soft @@ -657,7 +657,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-router-dom: "npm:^6.28.0" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.7.2" languageName: unknown linkType: soft @@ -905,7 +905,7 @@ __metadata: cross-env: "npm:^7.0.3" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-router-dom: "npm:^6.28.0" + react-router-dom: "npm:^7.0.0" typescript: "npm:^5.7.2" languageName: unknown linkType: soft @@ -11677,13 +11677,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" @@ -18225,6 +18218,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" @@ -29243,27 +29243,33 @@ __metadata: languageName: node linkType: hard -"react-router-dom@npm:^6.28.0": - 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 @@ -30553,7 +30559,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 @@ -32575,6 +32581,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"