From 933403ae5fb193fac56a201df03c9ccf624d0df2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 19 Jan 2025 18:46: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 7f010e3c6..30c84d4e6 100644 --- a/package.json +++ b/package.json @@ -43,8 +43,8 @@ "@rollup/plugin-terser": "0.4.4", "@stylistic/eslint-plugin": "2.13.0", "@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.20.0", "@typescript-eslint/parser": "8.20.0", "babel-plugin-module-resolver": "5.0.2", @@ -66,8 +66,8 @@ "lerna": "8.1.9", "postcss": "8.5.1", "prettier": "3.4.2", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "rollup": "4.31.0", "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 089ece695..9a966b47f 100644 --- a/packages/docsearch-react/package.json +++ b/packages/docsearch-react/package.json @@ -48,9 +48,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 0522838ee..053f97d0e 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.3", "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.17" diff --git a/yarn.lock b/yarn.lock index 5872e13b1..fef38f3e5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2545,8 +2545,8 @@ __metadata: "@rollup/plugin-terser": "npm:0.4.4" "@stylistic/eslint-plugin": "npm:2.13.0" "@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.20.0" "@typescript-eslint/parser": "npm:8.20.0" babel-plugin-module-resolver: "npm:5.0.2" @@ -2568,8 +2568,8 @@ __metadata: lerna: "npm:8.1.9" postcss: "npm:8.5.1" 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.31.0" rollup-plugin-dts: "npm:6.1.1" rollup-plugin-filesize: "npm:10.0.0" @@ -2640,9 +2640,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": @@ -2670,8 +2670,8 @@ __metadata: postcss-import: "npm:16.1.0" postcss-preset-env: "npm:10.1.3" 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.17" languageName: unknown linkType: soft @@ -5883,12 +5883,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.3 + resolution: "@types/react-dom@npm:19.0.3" + peerDependencies: + "@types/react": ^19.0.0 + checksum: 10c0/3867427b333cbe8cbba496d7cc20ec9676d32c25ae44f4d1263a4129d42e57cf4adf0039ad263432f1215b88075c27d326e7eb4ed646128235d01a76e661d48f languageName: node linkType: hard @@ -5924,7 +5924,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: @@ -5934,6 +5934,15 @@ __metadata: languageName: node linkType: hard +"@types/react@npm:^19.0.0": + version: 19.0.7 + resolution: "@types/react@npm:19.0.7" + dependencies: + csstype: "npm:^3.0.2" + checksum: 10c0/818e546fa03a2a65ac2652fc472891ac96684211e8967bc25e1da6a8a09e2301ad972b1b038d128f8b4cbbd7691f6f57fee274db568169e9b6b01556abbb5bee + languageName: node + linkType: hard + "@types/resolve@npm:1.20.2": version: 1.20.2 resolution: "@types/resolve@npm:1.20.2" @@ -20098,15 +20107,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 @@ -20123,6 +20131,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" @@ -20272,12 +20292,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 @@ -20291,6 +20309,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" @@ -21318,6 +21345,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"