From 4620c7ae3e08f4a7eff6d71b31751b3efe790760 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 22:06:43 +0000 Subject: [PATCH] fix(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 | 115 +++++++----------- 7 files changed, 64 insertions(+), 87 deletions(-) diff --git a/packages/create-vite/template-react-ts/package.json b/packages/create-vite/template-react-ts/package.json index 5d37104641e5ef..1c56e4cef58c21 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.17.0", - "@types/react": "^18.3.18", - "@types/react-dom": "^18.3.5", + "@types/react": "^19.0.4", + "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", "eslint": "^9.17.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 8c51b78e154977..0e70546be48f2d 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.17.0", - "@types/react": "^18.3.18", - "@types/react-dom": "^18.3.5", + "@types/react": "^19.0.4", + "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", "eslint": "^9.17.0", "eslint-plugin-react": "^7.37.3", diff --git a/playground/environment-react-ssr/package.json b/playground/environment-react-ssr/package.json index f29131c589a685..d17c62e8e1d865 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.18", - "@types/react-dom": "^18.3.5", - "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.4", + "@types/react-dom": "^19.0.2", + "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 2f4c67cc93968f..23c8f9f4268705 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.18", - "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 4306a6110394e1..995676637ca216 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 ed75db80fdc51b..e29b328a87e940 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.18)(axios@1.7.9)(postcss@8.4.49)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.7.2) + version: 1.5.0(@algolia/client-search@5.13.0)(axios@1.7.9)(postcss@8.4.49)(typescript@5.7.2) vitepress-plugin-group-icons: specifier: ^1.3.3 version: 1.3.3 @@ -687,23 +687,23 @@ importers: playground/environment-react-ssr: devDependencies: '@types/react': - specifier: ^18.3.18 - version: 18.3.18 + specifier: ^19.0.4 + version: 19.0.4 '@types/react-dom': - specifier: ^18.3.5 - version: 18.3.5(@types/react@18.3.18) + specifier: ^19.0.2 + version: 19.0.2(@types/react@19.0.4) 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: @@ -1022,11 +1022,11 @@ importers: specifier: ^1.7.18 version: 1.7.18 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 @@ -1084,8 +1084,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: {} @@ -1585,8 +1585,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:* @@ -3143,22 +3143,19 @@ 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.5': - resolution: {integrity: sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==} + '@types/react-dom@19.0.2': + resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==} peerDependencies: - '@types/react': ^18.0.0 + '@types/react': ^19.0.0 - '@types/react@18.3.18': - resolution: {integrity: sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ==} + '@types/react@19.0.4': + resolution: {integrity: sha512-3O4QisJDYr1uTUMZHA2YswiQZRq+Pd8D+GdVFYikTutYsTz+QZgWkAPnP7rx9txoI6EXKcPiluMqWPFV3tT9Wg==} '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} @@ -5246,10 +5243,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==} @@ -6199,13 +6192,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: @@ -6496,8 +6489,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==} @@ -8040,9 +8033,9 @@ snapshots: '@docsearch/css@3.7.0': {} - '@docsearch/js@3.7.0(@algolia/client-search@5.13.0)(@types/react@18.3.18)(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.18)(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' @@ -8051,16 +8044,12 @@ snapshots: - react-dom - search-insights - '@docsearch/react@3.7.0(@algolia/client-search@5.13.0)(@types/react@18.3.18)(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.18 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) transitivePeerDependencies: - '@algolia/client-search' @@ -8759,19 +8748,16 @@ snapshots: '@types/node': 22.10.5 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.5(@types/react@18.3.18)': + '@types/react-dom@19.0.2(@types/react@19.0.4)': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.4 - '@types/react@18.3.18': + '@types/react@19.0.4': dependencies: - '@types/prop-types': 15.7.13 csstype: 3.1.3 '@types/resolve@1.20.2': {} @@ -11013,10 +10999,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: {} @@ -12047,15 +12029,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: @@ -12352,9 +12331,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: @@ -12973,10 +12950,10 @@ snapshots: transitivePeerDependencies: - supports-color - vitepress@1.5.0(@algolia/client-search@5.13.0)(@types/react@18.3.18)(axios@1.7.9)(postcss@8.4.49)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.7.2): + vitepress@1.5.0(@algolia/client-search@5.13.0)(axios@1.7.9)(postcss@8.4.49)(typescript@5.7.2): dependencies: '@docsearch/css': 3.7.0 - '@docsearch/js': 3.7.0(@algolia/client-search@5.13.0)(@types/react@18.3.18)(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.26.1 '@shikijs/transformers': 1.22.2