diff --git a/frontend-react/package.json b/frontend-react/package.json index f081bf7eb01..424c575e146 100644 --- a/frontend-react/package.json +++ b/frontend-react/package.json @@ -32,8 +32,8 @@ "react-loader-spinner": "^6.1.6", "react-markdown": "^9.0.1", "react-query-kit": "^3.3.1", - "react-router": "~6.28.0", - "react-router-dom": "~6.28.0", + "react-router": "~7.0.2", + "react-router-dom": "~7.0.2", "react-scroll-sync": "^0.11.2", "react-toastify": "^10.0.6", "rehype-raw": "^7.0.0", diff --git a/frontend-react/yarn.lock b/frontend-react/yarn.lock index 15f8f6d4e66..561ff26c147 100644 --- a/frontend-react/yarn.lock +++ b/frontend-react/yarn.lock @@ -1646,13 +1646,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: d9477a7772053ad0ffcf03385cfb1a54e56f8a56d1f9f5062de3b1dfcbd019dd73282a00a5a72aa55c120771110982448c165c1405d64540aaef13051a8e45cc - languageName: node - linkType: hard - "@rest-hooks/core@npm:^3.2.4": version: 3.2.4 resolution: "@rest-hooks/core@npm:3.2.4" @@ -9923,8 +9916,8 @@ __metadata: react-loader-spinner: ^6.1.6 react-markdown: ^9.0.1 react-query-kit: ^3.3.1 - react-router: ~6.28.0 - react-router-dom: ~6.28.0 + react-router: ~7.0.2 + react-router-dom: ~7.0.2 react-scroll-sync: ^0.11.2 react-toastify: ^10.0.6 rehype-raw: ^7.0.0 @@ -10057,27 +10050,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.2": + version: 7.0.2 + resolution: "react-router-dom@npm:7.0.2" dependencies: - "@remix-run/router": 1.21.0 - react-router: 6.28.0 + react-router: 7.0.2 peerDependencies: - react: ">=16.8" - react-dom: ">=16.8" - checksum: 0cf4658a92bc66f50ec9d8518c36aa5a402bcadce71fb624ed6f900d73a29ea87ff904a4f2c42279107e75e80cc08c6192563fadcc5d4e642e6d476e38e83b21 + react: ">=18" + react-dom: ">=18" + checksum: 2e8d07701017f73e1edfb3e48718bd9490167320e9213aebc6ce7a1bb6961a201b8413b0374c526ce0086926283ff1e7b4edc78ff0194784b16e4549dcf544ba languageName: node linkType: hard -"react-router@npm:6.28.0, react-router@npm:~6.28.0": - version: 6.28.0 - resolution: "react-router@npm:6.28.0" +"react-router@npm:7.0.2, react-router@npm:~7.0.2": + version: 7.0.2 + resolution: "react-router@npm:7.0.2" dependencies: - "@remix-run/router": 1.21.0 + "@types/cookie": ^0.6.0 + cookie: ^1.0.1 + set-cookie-parser: ^2.6.0 + turbo-stream: 2.4.0 peerDependencies: - react: ">=16.8" - checksum: 23246ca957b5c2bc8d6f9a81fee2df2ce4fc3feca3ec27c2fd85999568fc1299a4e8273e4ab70b6f3acd43a1fb45e0c93cb01ef77e68c9f9e1f7e4f42a1419ea + react: ">=18" + react-dom: ">=18" + peerDependenciesMeta: + react-dom: + optional: true + checksum: a3b42f25fa345bfc51abf608f14ded463f5a32345de8519b7beb35e713f09032e0a2af265e40c51ba9cde5d75c534697cded6f1c7988a1197b1392f2e32225ef languageName: node linkType: hard @@ -10714,6 +10713,13 @@ __metadata: languageName: node linkType: hard +"set-cookie-parser@npm:^2.6.0": + version: 2.7.1 + resolution: "set-cookie-parser@npm:2.7.1" + checksum: 2ef8b351094712f8f7df6d63ed4b10350b24a5b515772690e7dec227df85fcef5bc451c7765f484fd9f36694ece5438d1456407d017f237d0d3351d7dbbd3587 + languageName: node + linkType: hard + "set-function-length@npm:^1.2.1": version: 1.2.2 resolution: "set-function-length@npm:1.2.2" @@ -11651,6 +11657,13 @@ __metadata: languageName: node linkType: hard +"turbo-stream@npm:2.4.0": + version: 2.4.0 + resolution: "turbo-stream@npm:2.4.0" + checksum: e36f52ed40589f01bede79757a143bef484914d579927235be1fd0c205618994cb5779a39ff8c2a80a87a1464d05771cd75320a9412b15bca03c7ff432e3cdf7 + languageName: node + linkType: hard + "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0"