diff --git a/app/package.json b/app/package.json index f115212c..2fc3da8d 100644 --- a/app/package.json +++ b/app/package.json @@ -11,7 +11,7 @@ "@hawtio/react": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-router-dom": "^6.28.0" + "react-router-dom": "^7.0.2" }, "devDependencies": { "@hawtio/backend-middleware": "workspace:*", diff --git a/packages/hawtio/package.json b/packages/hawtio/package.json index 1187153e..124c332f 100644 --- a/packages/hawtio/package.json +++ b/packages/hawtio/package.json @@ -66,7 +66,7 @@ "react-dom": "^18.3.1", "react-markdown": "^8.0.7", "react-monaco-editor": "^0.56.2", - "react-router-dom": "^6.28.0", + "react-router-dom": "^7.0.2", "react-split": "^2.0.14", "reactflow": "^11.11.4", "superstruct": "^2.0.2", diff --git a/yarn.lock b/yarn.lock index 9f56fce6..fd6eba5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2064,7 +2064,7 @@ __metadata: react-dom: "npm:^18.3.1" react-markdown: "npm:^8.0.7" react-monaco-editor: "npm:^0.56.2" - react-router-dom: "npm:^6.28.0" + react-router-dom: "npm:^7.0.2" react-split: "npm:^2.0.14" reactflow: "npm:^11.11.4" replace: "npm:^1.2.2" @@ -2869,13 +2869,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 - "@rollup/rollup-android-arm-eabi@npm:4.24.2": version: 4.24.2 resolution: "@rollup/rollup-android-arm-eabi@npm:4.24.2" @@ -3377,6 +3370,13 @@ __metadata: languageName: node linkType: hard +"@types/cookie@npm:^0.6.0": + version: 0.6.0 + resolution: "@types/cookie@npm:0.6.0" + checksum: 10/b883348d5bf88695fbc2c2276b1c49859267a55cae3cf11ea1dccc1b3be15b466e637ce3242109ba27d616c77c6aa4efe521e3d557110b4fdd9bc332a12445c2 + languageName: node + linkType: hard + "@types/d3-array@npm:*, @types/d3-array@npm:^3.0.3": version: 3.0.5 resolution: "@types/d3-array@npm:3.0.5" @@ -4920,7 +4920,7 @@ __metadata: monaco-editor-webpack-plugin: "npm:^7.1.0" react: "npm:^18.3.1" react-dom: "npm:^18.3.1" - react-router-dom: "npm:^6.28.0" + react-router-dom: "npm:^7.0.2" style-loader: "npm:^4.0.0" swc-loader: "npm:^0.2.6" typescript: "npm:^5.4.5" @@ -6353,6 +6353,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 + "copy-webpack-plugin@npm:^12.0.2": version: 12.0.2 resolution: "copy-webpack-plugin@npm:12.0.2" @@ -12806,27 +12813,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": "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 @@ -13609,6 +13622,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: 10/c92b1130032693342bca13ea1b1bc93967ab37deec4387fcd8c2a843c0ef2fd9a9f3df25aea5bb3976cd05a91c2cf4632dd6164d6e1814208fb7d7e14edd42b4 + languageName: node + linkType: hard + "set-function-length@npm:^1.2.1": version: 1.2.1 resolution: "set-function-length@npm:1.2.1" @@ -14696,6 +14716,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 + "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0"