From 9dbc5c82aeeec28e324e054400b496cb8f91e9ab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 15:20:14 +0000 Subject: [PATCH] fix(deps): update react monorepo to v19 --- package.json | 8 +-- packages/docsearch-react/package.json | 6 +- packages/website/package.json | 4 +- yarn.lock | 92 ++++++++++++++++++--------- 4 files changed, 72 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index fbf467f0a..acfdde904 100644 --- a/package.json +++ b/package.json @@ -43,8 +43,8 @@ "@rollup/plugin-terser": "0.4.4", "@stylistic/eslint-plugin": "2.12.1", "@testing-library/dom": "10.4.0", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@typescript-eslint/eslint-plugin": "8.18.0", "@typescript-eslint/parser": "8.18.0", "babel-plugin-module-resolver": "5.0.2", @@ -66,8 +66,8 @@ "lerna": "8.1.9", "postcss": "8.4.49", "prettier": "3.4.2", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "rollup": "4.28.1", "rollup-plugin-dts": "6.1.1", "rollup-plugin-filesize": "10.0.0", diff --git a/packages/docsearch-react/package.json b/packages/docsearch-react/package.json index 7e186e8bd..7676b97bc 100644 --- a/packages/docsearch-react/package.json +++ b/packages/docsearch-react/package.json @@ -47,9 +47,9 @@ "vitest": "2.1.8" }, "peerDependencies": { - "@types/react": ">= 16.8.0 < 19.0.0", - "react": ">= 16.8.0 < 19.0.0", - "react-dom": ">= 16.8.0 < 19.0.0", + "@types/react": ">= 16.8.0 < 20.0.0", + "react": ">= 16.8.0 < 20.0.0", + "react-dom": ">= 16.8.0 < 20.0.0", "search-insights": ">= 1 < 3" }, "peerDependenciesMeta": { diff --git a/packages/website/package.json b/packages/website/package.json index 4b953a2e1..74d344472 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -26,8 +26,8 @@ "postcss-import": "16.1.0", "postcss-preset-env": "10.1.2", "prism-react-renderer": "2.4.1", - "react": "^18.0.0", - "react-dom": "^18.0.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "tailwindcss": "3.4.16" diff --git a/yarn.lock b/yarn.lock index 8dd3c2528..f82511143 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2299,8 +2299,8 @@ __metadata: "@rollup/plugin-terser": "npm:0.4.4" "@stylistic/eslint-plugin": "npm:2.12.1" "@testing-library/dom": "npm:10.4.0" - "@types/react": "npm:^18.0.0" - "@types/react-dom": "npm:^18.0.0" + "@types/react": "npm:^19.0.0" + "@types/react-dom": "npm:^19.0.0" "@typescript-eslint/eslint-plugin": "npm:8.18.0" "@typescript-eslint/parser": "npm:8.18.0" babel-plugin-module-resolver: "npm:5.0.2" @@ -2322,8 +2322,8 @@ __metadata: lerna: "npm:8.1.9" postcss: "npm:8.4.49" prettier: "npm:3.4.2" - react: "npm:18.3.1" - react-dom: "npm:18.3.1" + react: "npm:19.0.0" + react-dom: "npm:19.0.0" rollup: "npm:4.28.1" rollup-plugin-dts: "npm:6.1.1" rollup-plugin-filesize: "npm:10.0.0" @@ -2368,9 +2368,9 @@ __metadata: algoliasearch: "npm:^5.14.2" vitest: "npm:2.1.8" peerDependencies: - "@types/react": ">= 16.8.0 < 19.0.0" - react: ">= 16.8.0 < 19.0.0" - react-dom: ">= 16.8.0 < 19.0.0" + "@types/react": ">= 16.8.0 < 20.0.0" + react: ">= 16.8.0 < 20.0.0" + react-dom: ">= 16.8.0 < 20.0.0" search-insights: ">= 1 < 3" peerDependenciesMeta: "@types/react": @@ -2398,8 +2398,8 @@ __metadata: postcss-import: "npm:16.1.0" postcss-preset-env: "npm:10.1.2" prism-react-renderer: "npm:2.4.1" - react: "npm:^18.0.0" - react-dom: "npm:^18.0.0" + react: "npm:^19.0.0" + react-dom: "npm:^19.0.0" tailwindcss: "npm:3.4.16" languageName: unknown linkType: soft @@ -5584,12 +5584,12 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.0.0": - version: 18.3.1 - resolution: "@types/react-dom@npm:18.3.1" - dependencies: - "@types/react": "npm:*" - checksum: 10c0/8b416551c60bb6bd8ec10e198c957910cfb271bc3922463040b0d57cf4739cdcd24b13224f8d68f10318926e1ec3cd69af0af79f0291b599a992f8c80d47f1eb +"@types/react-dom@npm:^19.0.0": + version: 19.0.2 + resolution: "@types/react-dom@npm:19.0.2" + peerDependencies: + "@types/react": ^19.0.0 + checksum: 10c0/3d0c7b78dbe8df64ea769f30af990a5950173a8321c745fe11094d765423f7964c3519dca6e7cd36b4be6521c8efc690bdd3b79b327b229dd1e9d5a8bad677dd languageName: node linkType: hard @@ -5625,7 +5625,7 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^18.0.0": +"@types/react@npm:*": version: 18.3.12 resolution: "@types/react@npm:18.3.12" dependencies: @@ -5635,6 +5635,15 @@ __metadata: languageName: node linkType: hard +"@types/react@npm:^19.0.0": + version: 19.0.1 + resolution: "@types/react@npm:19.0.1" + dependencies: + csstype: "npm:^3.0.2" + checksum: 10c0/25eb69114abb9a6d5fc4414ee584388275bbc9ac32976449cf58b95fe9880efe6b3f936c3842be9bed8c571546a9752e8d3e2095288381e9c809269f5f574f2e + languageName: node + linkType: hard + "@types/resolve@npm:1.20.2": version: 1.20.2 resolution: "@types/resolve@npm:1.20.2" @@ -19229,15 +19238,14 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:18.3.1, react-dom@npm:^18.0.0": - version: 18.3.1 - resolution: "react-dom@npm:18.3.1" +"react-dom@npm:19.0.0, react-dom@npm:^19.0.0": + version: 19.0.0 + resolution: "react-dom@npm:19.0.0" dependencies: - loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.2" + scheduler: "npm:^0.25.0" peerDependencies: - react: ^18.3.1 - checksum: 10c0/a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85 + react: ^19.0.0 + checksum: 10c0/a36ce7ab507b237ae2759c984cdaad4af4096d8199fb65b3815c16825e5cfeb7293da790a3fc2184b52bfba7ba3ff31c058c01947aff6fd1a3701632aabaa6a9 languageName: node linkType: hard @@ -19254,6 +19262,18 @@ __metadata: languageName: node linkType: hard +"react-dom@npm:^18.0.0": + version: 18.3.1 + resolution: "react-dom@npm:18.3.1" + dependencies: + loose-envify: "npm:^1.1.0" + scheduler: "npm:^0.23.2" + peerDependencies: + react: ^18.3.1 + checksum: 10c0/a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85 + languageName: node + linkType: hard + "react-error-overlay@npm:^6.0.11": version: 6.0.11 resolution: "react-error-overlay@npm:6.0.11" @@ -19416,12 +19436,10 @@ __metadata: languageName: node linkType: hard -"react@npm:18.3.1, react@npm:^18.0.0": - version: 18.3.1 - resolution: "react@npm:18.3.1" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10c0/283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3 +"react@npm:19.0.0, react@npm:^19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471 languageName: node linkType: hard @@ -19435,6 +19453,15 @@ __metadata: languageName: node linkType: hard +"react@npm:^18.0.0": + version: 18.3.1 + resolution: "react@npm:18.3.1" + dependencies: + loose-envify: "npm:^1.1.0" + checksum: 10c0/283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3 + languageName: node + linkType: hard + "read-cache@npm:^1.0.0": version: 1.0.0 resolution: "read-cache@npm:1.0.0" @@ -20451,6 +20478,13 @@ __metadata: languageName: node linkType: hard +"scheduler@npm:^0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: 10c0/a4bb1da406b613ce72c1299db43759526058fdcc413999c3c3e0db8956df7633acf395cb20eb2303b6a65d658d66b6585d344460abaee8080b4aa931f10eaafe + languageName: node + linkType: hard + "schema-utils@npm:2.7.0": version: 2.7.0 resolution: "schema-utils@npm:2.7.0"