From 483880cc9743288b93925d11ad13127f3d6169c1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 02:33:40 +0000 Subject: [PATCH] chore(deps): update react monorepo to v19 --- .../template-react-ts/package.json | 8 +- .../create-vite/template-react/package.json | 8 +- playground/environment-react-ssr/package.json | 12 +- .../dep-linked-include/package.json | 2 +- playground/optimize-deps/package.json | 4 +- playground/ssr-webworker/package.json | 2 +- pnpm-lock.yaml | 113 +++++++----------- 7 files changed, 63 insertions(+), 86 deletions(-) diff --git a/packages/create-vite/template-react-ts/package.json b/packages/create-vite/template-react-ts/package.json index 6b206b1d083bb3..0894f459c3d9ae 100644 --- a/packages/create-vite/template-react-ts/package.json +++ b/packages/create-vite/template-react-ts/package.json @@ -10,13 +10,13 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@eslint/js": "^9.16.0", - "@types/react": "^18.3.14", - "@types/react-dom": "^18.3.2", + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.1", "@vitejs/plugin-react": "^4.3.4", "eslint": "^9.16.0", "eslint-plugin-react-hooks": "^5.0.0", diff --git a/packages/create-vite/template-react/package.json b/packages/create-vite/template-react/package.json index a3e0ed89c966e0..6d9029f67607dc 100644 --- a/packages/create-vite/template-react/package.json +++ b/packages/create-vite/template-react/package.json @@ -10,13 +10,13 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@eslint/js": "^9.16.0", - "@types/react": "^18.3.14", - "@types/react-dom": "^18.3.2", + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.1", "@vitejs/plugin-react": "^4.3.4", "eslint": "^9.16.0", "eslint-plugin-react": "^7.37.2", diff --git a/playground/environment-react-ssr/package.json b/playground/environment-react-ssr/package.json index abf9ec8e8b9e95..dc44f234559954 100644 --- a/playground/environment-react-ssr/package.json +++ b/playground/environment-react-ssr/package.json @@ -9,11 +9,11 @@ "preview": "vite preview" }, "devDependencies": { - "@types/react": "^18.3.14", - "@types/react-dom": "^18.3.2", - "react": "^18.3.1", - "react-fake-client": "npm:react@^18.3.1", - "react-fake-server": "npm:react@^18.3.1", - "react-dom": "^18.3.1" + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.1", + "react": "^19.0.0", + "react-fake-client": "npm:react@^19.0.0", + "react-fake-server": "npm:react@^19.0.0", + "react-dom": "^19.0.0" } } diff --git a/playground/optimize-deps/dep-linked-include/package.json b/playground/optimize-deps/dep-linked-include/package.json index 1759c52daafb5a..14783d8c69df64 100644 --- a/playground/optimize-deps/dep-linked-include/package.json +++ b/playground/optimize-deps/dep-linked-include/package.json @@ -4,6 +4,6 @@ "version": "0.0.0", "main": "index.mjs", "dependencies": { - "react": "18.3.1" + "react": "19.0.0" } } diff --git a/playground/optimize-deps/package.json b/playground/optimize-deps/package.json index 44c099c6aaa449..d42eb35ba9379e 100644 --- a/playground/optimize-deps/package.json +++ b/playground/optimize-deps/package.json @@ -43,8 +43,8 @@ "lodash-es": "^4.17.21", "@vitejs/test-nested-exclude": "file:./nested-exclude", "phoenix": "^1.7.17", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "@vitejs/test-resolve-linked": "workspace:0.0.0", "url": "^0.11.4", "vue": "^3.5.13", diff --git a/playground/ssr-webworker/package.json b/playground/ssr-webworker/package.json index 1eebd01a302522..be804c537475be 100644 --- a/playground/ssr-webworker/package.json +++ b/playground/ssr-webworker/package.json @@ -8,7 +8,7 @@ "build:worker": "vite build --ssr src/entry-worker.jsx --outDir dist/worker" }, "dependencies": { - "react": "^18.3.1", + "react": "^19.0.0", "@vitejs/test-browser-exports": "file:./browser-exports", "@vitejs/test-worker-exports": "file:./worker-exports" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 930b84b937b04c..7d6360f25e86be 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -149,7 +149,7 @@ importers: version: 4.2.2 vitepress: specifier: ^1.5.0 - version: 1.5.0(@algolia/client-search@5.13.0)(@types/react@18.3.14)(axios@1.7.9)(postcss@8.4.49)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3) + version: 1.5.0(@algolia/client-search@5.13.0)(axios@1.7.9)(postcss@8.4.49)(typescript@5.6.3) vitepress-plugin-group-icons: specifier: ^1.3.1 version: 1.3.1 @@ -684,23 +684,23 @@ importers: playground/environment-react-ssr: devDependencies: '@types/react': - specifier: ^18.3.14 - version: 18.3.14 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: ^18.3.2 - version: 18.3.2 + specifier: ^19.0.1 + version: 19.0.1 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) react-fake-client: - specifier: npm:react@^18.3.1 - version: react@18.3.1 + specifier: npm:react@^19.0.0 + version: react@19.0.0 react-fake-server: - specifier: npm:react@^18.3.1 - version: react@18.3.1 + specifier: npm:react@^19.0.0 + version: react@19.0.0 playground/extensions: dependencies: @@ -1019,11 +1019,11 @@ importers: specifier: ^1.7.17 version: 1.7.17 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) url: specifier: ^0.11.4 version: 0.11.4 @@ -1081,8 +1081,8 @@ importers: playground/optimize-deps/dep-linked-include: dependencies: react: - specifier: 18.3.1 - version: 18.3.1 + specifier: 19.0.0 + version: 19.0.0 playground/optimize-deps/dep-node-env: {} @@ -1577,8 +1577,8 @@ importers: specifier: file:./worker-exports version: file:playground/ssr-webworker/worker-exports react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 devDependencies: '@vitejs/test-resolve-linked': specifier: workspace:* @@ -3124,20 +3124,17 @@ packages: '@types/prompts@2.4.9': resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==} - '@types/prop-types@15.7.13': - resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} - '@types/qs@6.9.17': resolution: {integrity: sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==} '@types/range-parser@1.2.7': resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} - '@types/react-dom@18.3.2': - resolution: {integrity: sha512-Fqp+rcvem9wEnGr3RY8dYNvSQ8PoLqjZ9HLgaPUOjJJD120uDyOxOjc/39M4Kddp9JQCxpGQbnhVQF0C0ncYVg==} + '@types/react-dom@19.0.1': + resolution: {integrity: sha512-hljHij7MpWPKF6u5vojuyfV0YA4YURsQG7KT6SzV0Zs2BXAtgdTxG6A229Ub/xiWV4w/7JL8fi6aAyjshH4meA==} - '@types/react@18.3.14': - resolution: {integrity: sha512-NzahNKvjNhVjuPBQ+2G7WlxstQ+47kXZNHlUvFakDViuIEfGY926GqhMueQFZ7woG+sPiQKlF36XfrIUVSUfFg==} + '@types/react@19.0.1': + resolution: {integrity: sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==} '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} @@ -5284,10 +5281,6 @@ packages: longest-streak@3.1.0: resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} - loose-envify@1.4.0: - resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} - hasBin: true - loupe@3.1.2: resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} @@ -6237,13 +6230,13 @@ packages: resolution: {integrity: sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==} engines: {node: '>= 0.8'} - react-dom@18.3.1: - resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} peerDependencies: - react: ^18.3.1 + react: ^19.0.0 - react@18.3.1: - resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} engines: {node: '>=0.10.0'} read-cache@1.0.0: @@ -6534,8 +6527,8 @@ packages: sax@1.4.1: resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==} - scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} scslre@0.3.0: resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==} @@ -8098,9 +8091,9 @@ snapshots: '@docsearch/css@3.7.0': {} - '@docsearch/js@3.7.0(@algolia/client-search@5.13.0)(@types/react@18.3.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@docsearch/js@3.7.0(@algolia/client-search@5.13.0)': dependencies: - '@docsearch/react': 3.7.0(@algolia/client-search@5.13.0)(@types/react@18.3.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@docsearch/react': 3.7.0(@algolia/client-search@5.13.0) preact: 10.24.3 transitivePeerDependencies: - '@algolia/client-search' @@ -8109,16 +8102,12 @@ snapshots: - react-dom - search-insights - '@docsearch/react@3.7.0(@algolia/client-search@5.13.0)(@types/react@18.3.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@docsearch/react@3.7.0(@algolia/client-search@5.13.0)': dependencies: '@algolia/autocomplete-core': 1.17.6(@algolia/client-search@5.13.0)(algoliasearch@5.13.0) '@algolia/autocomplete-preset-algolia': 1.17.6(@algolia/client-search@5.13.0)(algoliasearch@5.13.0) '@docsearch/css': 3.7.0 algoliasearch: 5.13.0 - optionalDependencies: - '@types/react': 18.3.14 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) transitivePeerDependencies: - '@algolia/client-search' @@ -8803,19 +8792,16 @@ snapshots: '@types/node': 22.9.0 kleur: 3.0.3 - '@types/prop-types@15.7.13': {} - '@types/qs@6.9.17': {} '@types/range-parser@1.2.7': {} - '@types/react-dom@18.3.2': + '@types/react-dom@19.0.1': dependencies: - '@types/react': 18.3.14 + '@types/react': 19.0.1 - '@types/react@18.3.14': + '@types/react@19.0.1': dependencies: - '@types/prop-types': 15.7.13 csstype: 3.1.3 '@types/resolve@1.20.2': {} @@ -11104,10 +11090,6 @@ snapshots: longest-streak@3.1.0: {} - loose-envify@1.4.0: - dependencies: - js-tokens: 4.0.0 - loupe@3.1.2: {} lru-cache@10.4.3: {} @@ -12146,15 +12128,12 @@ snapshots: iconv-lite: 0.6.3 unpipe: 1.0.0 - react-dom@18.3.1(react@18.3.1): + react-dom@19.0.0(react@19.0.0): dependencies: - loose-envify: 1.4.0 - react: 18.3.1 - scheduler: 0.23.2 + react: 19.0.0 + scheduler: 0.25.0 - react@18.3.1: - dependencies: - loose-envify: 1.4.0 + react@19.0.0: {} read-cache@1.0.0: dependencies: @@ -12449,9 +12428,7 @@ snapshots: sax@1.4.1: {} - scheduler@0.23.2: - dependencies: - loose-envify: 1.4.0 + scheduler@0.25.0: {} scslre@0.3.0: dependencies: @@ -13069,10 +13046,10 @@ snapshots: transitivePeerDependencies: - supports-color - vitepress@1.5.0(@algolia/client-search@5.13.0)(@types/react@18.3.14)(axios@1.7.9)(postcss@8.4.49)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3): + vitepress@1.5.0(@algolia/client-search@5.13.0)(axios@1.7.9)(postcss@8.4.49)(typescript@5.6.3): dependencies: '@docsearch/css': 3.7.0 - '@docsearch/js': 3.7.0(@algolia/client-search@5.13.0)(@types/react@18.3.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@docsearch/js': 3.7.0(@algolia/client-search@5.13.0) '@iconify-json/simple-icons': 1.2.11 '@shikijs/core': 1.22.2 '@shikijs/transformers': 1.22.2