From 2738d273b39e2585b79da71d9fb6f0493d4c7e7a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 05:31:07 +0000 Subject: [PATCH] chore(deps): update react monorepo to v19 --- .../module-federation/mf-host/package.json | 4 +- .../mf-react-component/package.json | 4 +- .../module-federation/mf-remote/package.json | 4 +- .../react-component-bundle-false/package.json | 2 +- examples/react-component-bundle/package.json | 2 +- examples/react-component-umd/package.json | 2 +- .../fragments/base/react-js/package.json | 2 +- .../fragments/base/react-ts/package.json | 2 +- .../template-[react]-[]-js/package.json | 2 +- .../template-[react]-[]-ts/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../template-[react]-[vitest]-js/package.json | 2 +- .../template-[react]-[vitest]-ts/package.json | 2 +- pnpm-lock.yaml | 215 ++++++++++-------- tests/integration/asset/name/package.json | 2 +- .../auto-external/default/package.json | 2 +- .../external-sub-path/package.json | 2 +- .../auto-external/false/package.json | 2 +- .../module-import-warn/package.json | 2 +- .../auto-external/with-externals/package.json | 2 +- .../bundle-false/svgr/package.json | 2 +- tests/integration/umd-globals/package.json | 2 +- .../integration/umd-library-name/package.json | 2 +- tests/package.json | 4 +- website/package.json | 4 +- 28 files changed, 153 insertions(+), 126 deletions(-) diff --git a/examples/module-federation/mf-host/package.json b/examples/module-federation/mf-host/package.json index 104081905..ca0ac7fae 100644 --- a/examples/module-federation/mf-host/package.json +++ b/examples/module-federation/mf-host/package.json @@ -8,8 +8,8 @@ "preview": "rsbuild preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@module-federation/rsbuild-plugin": "^0.8.1", diff --git a/examples/module-federation/mf-react-component/package.json b/examples/module-federation/mf-react-component/package.json index 13132d985..0671c1cfe 100644 --- a/examples/module-federation/mf-react-component/package.json +++ b/examples/module-federation/mf-react-component/package.json @@ -25,8 +25,8 @@ "@rslib/core": "workspace:*", "@types/react": "^18.3.14", "http-server": "^14.1.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "storybook": "^8.4.7", "storybook-addon-rslib": "^0.1.5", "storybook-react-rsbuild": "^0.1.5" diff --git a/examples/module-federation/mf-remote/package.json b/examples/module-federation/mf-remote/package.json index 433678d60..33f20585c 100644 --- a/examples/module-federation/mf-remote/package.json +++ b/examples/module-federation/mf-remote/package.json @@ -8,8 +8,8 @@ "preview": "rsbuild preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@module-federation/rsbuild-plugin": "^0.8.1", diff --git a/examples/react-component-bundle-false/package.json b/examples/react-component-bundle-false/package.json index 4d8f196b8..acef654be 100644 --- a/examples/react-component-bundle-false/package.json +++ b/examples/react-component-bundle-false/package.json @@ -12,7 +12,7 @@ "@rsbuild/plugin-sass": "^1.1.2", "@rslib/core": "workspace:*", "@types/react": "^18.3.14", - "react": "^18.3.1" + "react": "^19.0.0" }, "peerDependencies": { "react": "*" diff --git a/examples/react-component-bundle/package.json b/examples/react-component-bundle/package.json index 9e62e589b..7d51cd136 100644 --- a/examples/react-component-bundle/package.json +++ b/examples/react-component-bundle/package.json @@ -12,7 +12,7 @@ "@rsbuild/plugin-sass": "^1.1.2", "@rslib/core": "workspace:*", "@types/react": "^18.3.14", - "react": "^18.3.1" + "react": "^19.0.0" }, "peerDependencies": { "react": "*" diff --git a/examples/react-component-umd/package.json b/examples/react-component-umd/package.json index 93acaeb39..2ae53bc07 100644 --- a/examples/react-component-umd/package.json +++ b/examples/react-component-umd/package.json @@ -11,7 +11,7 @@ "@rsbuild/plugin-sass": "^1.1.2", "@rslib/core": "workspace:*", "@types/react": "^18.3.14", - "react": "^18.3.1" + "react": "^19.0.0" }, "peerDependencies": { "react": "*" diff --git a/packages/create-rslib/fragments/base/react-js/package.json b/packages/create-rslib/fragments/base/react-js/package.json index 6cce58521..d45135fd0 100644 --- a/packages/create-rslib/fragments/base/react-js/package.json +++ b/packages/create-rslib/fragments/base/react-js/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@rsbuild/plugin-react": "^1.0.7", "@rslib/core": "workspace:*", - "react": "^18.3.1" + "react": "^19.0.0" }, "peerDependencies": { "react": ">=16.9.0", diff --git a/packages/create-rslib/fragments/base/react-ts/package.json b/packages/create-rslib/fragments/base/react-ts/package.json index 32fde2465..80a61785b 100644 --- a/packages/create-rslib/fragments/base/react-ts/package.json +++ b/packages/create-rslib/fragments/base/react-ts/package.json @@ -21,7 +21,7 @@ "@rsbuild/plugin-react": "^1.0.7", "@rslib/core": "workspace:*", "@types/react": "^18.3.14", - "react": "^18.3.1", + "react": "^19.0.0", "typescript": "^5.6.3" }, "peerDependencies": { diff --git a/packages/create-rslib/template-[react]-[]-js/package.json b/packages/create-rslib/template-[react]-[]-js/package.json index 6cce58521..d45135fd0 100644 --- a/packages/create-rslib/template-[react]-[]-js/package.json +++ b/packages/create-rslib/template-[react]-[]-js/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@rsbuild/plugin-react": "^1.0.7", "@rslib/core": "workspace:*", - "react": "^18.3.1" + "react": "^19.0.0" }, "peerDependencies": { "react": ">=16.9.0", diff --git a/packages/create-rslib/template-[react]-[]-ts/package.json b/packages/create-rslib/template-[react]-[]-ts/package.json index 32fde2465..80a61785b 100644 --- a/packages/create-rslib/template-[react]-[]-ts/package.json +++ b/packages/create-rslib/template-[react]-[]-ts/package.json @@ -21,7 +21,7 @@ "@rsbuild/plugin-react": "^1.0.7", "@rslib/core": "workspace:*", "@types/react": "^18.3.14", - "react": "^18.3.1", + "react": "^19.0.0", "typescript": "^5.6.3" }, "peerDependencies": { diff --git a/packages/create-rslib/template-[react]-[storybook,vitest]-js/package.json b/packages/create-rslib/template-[react]-[storybook,vitest]-js/package.json index ce2ea69d9..973991525 100644 --- a/packages/create-rslib/template-[react]-[storybook,vitest]-js/package.json +++ b/packages/create-rslib/template-[react]-[storybook,vitest]-js/package.json @@ -32,7 +32,7 @@ "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "jsdom": "^25.0.1", - "react": "^18.3.1", + "react": "^19.0.0", "storybook": "^8.4.7", "storybook-addon-rslib": "^0.1.5", "storybook-react-rsbuild": "^0.1.5", diff --git a/packages/create-rslib/template-[react]-[storybook,vitest]-ts/package.json b/packages/create-rslib/template-[react]-[storybook,vitest]-ts/package.json index 461ceab02..7a69c7980 100644 --- a/packages/create-rslib/template-[react]-[storybook,vitest]-ts/package.json +++ b/packages/create-rslib/template-[react]-[storybook,vitest]-ts/package.json @@ -35,7 +35,7 @@ "@testing-library/react": "^16.1.0", "@types/react": "^18.3.14", "jsdom": "^25.0.1", - "react": "^18.3.1", + "react": "^19.0.0", "storybook": "^8.4.7", "storybook-addon-rslib": "^0.1.5", "storybook-react-rsbuild": "^0.1.5", diff --git a/packages/create-rslib/template-[react]-[storybook]-js/package.json b/packages/create-rslib/template-[react]-[storybook]-js/package.json index d67a668c7..f8163069c 100644 --- a/packages/create-rslib/template-[react]-[storybook]-js/package.json +++ b/packages/create-rslib/template-[react]-[storybook]-js/package.json @@ -28,7 +28,7 @@ "@storybook/blocks": "^8.4.7", "@storybook/react": "^8.4.7", "@storybook/test": "^8.4.7", - "react": "^18.3.1", + "react": "^19.0.0", "storybook": "^8.4.7", "storybook-addon-rslib": "^0.1.5", "storybook-react-rsbuild": "^0.1.5" diff --git a/packages/create-rslib/template-[react]-[storybook]-ts/package.json b/packages/create-rslib/template-[react]-[storybook]-ts/package.json index 6a96b0ffa..bf241dd77 100644 --- a/packages/create-rslib/template-[react]-[storybook]-ts/package.json +++ b/packages/create-rslib/template-[react]-[storybook]-ts/package.json @@ -31,7 +31,7 @@ "@storybook/react": "^8.4.7", "@storybook/test": "^8.4.7", "@types/react": "^18.3.14", - "react": "^18.3.1", + "react": "^19.0.0", "storybook": "^8.4.7", "storybook-addon-rslib": "^0.1.5", "storybook-react-rsbuild": "^0.1.5", diff --git a/packages/create-rslib/template-[react]-[vitest]-js/package.json b/packages/create-rslib/template-[react]-[vitest]-js/package.json index b64e02eef..30b3f12ce 100644 --- a/packages/create-rslib/template-[react]-[vitest]-js/package.json +++ b/packages/create-rslib/template-[react]-[vitest]-js/package.json @@ -22,7 +22,7 @@ "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "jsdom": "^25.0.1", - "react": "^18.3.1", + "react": "^19.0.0", "vitest": "^2.1.8" }, "peerDependencies": { diff --git a/packages/create-rslib/template-[react]-[vitest]-ts/package.json b/packages/create-rslib/template-[react]-[vitest]-ts/package.json index 6e33ae54a..171a4a28a 100644 --- a/packages/create-rslib/template-[react]-[vitest]-ts/package.json +++ b/packages/create-rslib/template-[react]-[vitest]-ts/package.json @@ -25,7 +25,7 @@ "@testing-library/react": "^16.1.0", "@types/react": "^18.3.14", "jsdom": "^25.0.1", - "react": "^18.3.1", + "react": "^19.0.0", "typescript": "^5.6.3", "vitest": "^2.1.8" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2e991377f..dc1267daa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -80,15 +80,15 @@ importers: examples/module-federation/mf-host: dependencies: 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) devDependencies: '@module-federation/rsbuild-plugin': specifier: ^0.8.1 - version: 0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9) + version: 0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9) '@rsbuild/core': specifier: ~1.1.9 version: 1.1.9 @@ -109,13 +109,13 @@ importers: devDependencies: '@module-federation/enhanced': specifier: ^0.8.1 - version: 0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1) + version: 0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1) '@module-federation/rsbuild-plugin': specifier: ^0.8.1 - version: 0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9) + version: 0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9) '@module-federation/storybook-addon': specifier: ^3.0.12 - version: 3.0.12(@rsbuild/core@1.1.9)(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack-virtual-modules@0.6.2)(webpack@5.96.1) + version: 3.0.12(@rsbuild/core@1.1.9)(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack-virtual-modules@0.6.2)(webpack@5.96.1) '@rsbuild/plugin-react': specifier: ^1.1.0 version: 1.1.0(@rsbuild/core@1.1.9) @@ -129,11 +129,11 @@ importers: specifier: ^14.1.1 version: 14.1.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) storybook: specifier: ^8.4.7 version: 8.4.7(prettier@3.4.2) @@ -142,20 +142,20 @@ importers: version: 0.1.5(@rsbuild/core@1.1.9)(@rslib/core@packages+core)(storybook-builder-rsbuild@0.1.5(@rsbuild/core@1.1.9)(@types/react@18.3.14)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3)(webpack-sources@3.2.3))(typescript@5.6.3) storybook-react-rsbuild: specifier: ^0.1.5 - version: 0.1.5(@rsbuild/core@1.1.9)(@types/react@18.3.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.18.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3)(webpack-sources@3.2.3)(webpack@5.96.1) + version: 0.1.5(@rsbuild/core@1.1.9)(@types/react@18.3.14)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rollup@4.18.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3)(webpack-sources@3.2.3)(webpack@5.96.1) examples/module-federation/mf-remote: dependencies: 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) devDependencies: '@module-federation/rsbuild-plugin': specifier: ^0.8.1 - version: 0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9) + version: 0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9) '@rsbuild/core': specifier: ~1.1.9 version: 1.1.9 @@ -202,8 +202,8 @@ importers: specifier: ^18.3.14 version: 18.3.14 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 examples/react-component-bundle-false: devDependencies: @@ -220,8 +220,8 @@ importers: specifier: ^18.3.14 version: 18.3.14 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 examples/react-component-umd: devDependencies: @@ -238,8 +238,8 @@ importers: specifier: ^18.3.14 version: 18.3.14 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 examples/vue-component-bundle: devDependencies: @@ -372,18 +372,18 @@ importers: tests: dependencies: 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) devDependencies: '@codspeed/vitest-plugin': specifier: ^3.1.1 version: 3.1.1(vite@5.3.3(@types/node@22.8.1)(terser@5.31.6))(vitest@2.1.8(@types/node@22.8.1)(terser@5.31.6)) '@module-federation/rsbuild-plugin': specifier: ^0.8.1 - version: 0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9) + version: 0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9) '@playwright/test': specifier: 1.49.0 version: 1.49.0 @@ -452,8 +452,8 @@ importers: tests/integration/asset/name: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 devDependencies: '@rsbuild/plugin-react': specifier: ^1.1.0 @@ -492,14 +492,14 @@ importers: specifier: 8.1.1 version: 8.1.1 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 tests/integration/auto-external/external-sub-path: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 tests/integration/auto-external/false: dependencies: @@ -507,20 +507,20 @@ importers: specifier: 8.1.1 version: 8.1.1 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 tests/integration/auto-external/module-import-warn: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 tests/integration/auto-external/with-externals: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 tests/integration/banner-footer: {} @@ -535,8 +535,8 @@ importers: tests/integration/bundle-false/svgr: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 devDependencies: '@rsbuild/plugin-react': specifier: ^1.1.0 @@ -786,7 +786,7 @@ importers: dependencies: '@arco-design/web-react': specifier: ^2.65.0 - version: 2.65.0(@types/react@18.3.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 2.65.0(@types/react@18.3.14)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) tests/integration/transform-import/lodash: dependencies: @@ -805,8 +805,8 @@ importers: tests/integration/umd-globals: devDependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-aliased: specifier: npm:react@18.3.0 version: react@18.3.0 @@ -814,8 +814,8 @@ importers: tests/integration/umd-library-name: devDependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 tests/scripts: {} @@ -829,7 +829,7 @@ importers: version: link:../scripts/tsconfig '@rstack-dev/doc-ui': specifier: 1.5.4 - version: 1.5.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 1.5.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@types/node': specifier: ^22.8.1 version: 22.8.1 @@ -840,11 +840,11 @@ importers: specifier: ^18.3.2 version: 18.3.2 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) rsbuild-plugin-google-analytics: specifier: 1.0.3 version: 1.0.3(@rsbuild/core@1.1.9) @@ -5169,6 +5169,11 @@ packages: peerDependencies: react: ^18.3.1 + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} + peerDependencies: + react: ^19.0.0 + react-fast-compare@3.2.2: resolution: {integrity: sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==} @@ -5236,6 +5241,10 @@ packages: resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} + engines: {node: '>=0.10.0'} + read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} @@ -5558,6 +5567,9 @@ packages: scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} + schema-utils@3.3.0: resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} engines: {node: '>= 10.13.0'} @@ -6437,7 +6449,7 @@ snapshots: dependencies: color: 3.2.1 - '@arco-design/web-react@2.65.0(@types/react@18.3.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@arco-design/web-react@2.65.0(@types/react@18.3.14)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@arco-design/color': 0.4.0 '@babel/runtime': 7.24.8 @@ -6447,11 +6459,11 @@ snapshots: dayjs: 1.11.13 lodash: 4.17.21 number-precision: 1.6.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-focus-lock: 2.13.2(@types/react@18.3.14)(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + react-focus-lock: 2.13.2(@types/react@18.3.14)(react@19.0.0) react-is: 18.3.1 - react-transition-group: 4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-transition-group: 4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) resize-observer-polyfill: 1.5.1 scroll-into-view-if-needed: 2.2.20 shallowequal: 1.1.0 @@ -7187,13 +7199,13 @@ snapshots: '@types/semver': 7.5.8 semver: 7.6.3 - '@module-federation/data-prefetch@0.8.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@module-federation/data-prefetch@0.8.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@module-federation/runtime': 0.8.1 '@module-federation/sdk': 0.8.1 fs-extra: 9.1.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) '@module-federation/dts-plugin@0.8.1(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))': dependencies: @@ -7222,10 +7234,10 @@ snapshots: - supports-color - utf-8-validate - '@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1)': + '@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1)': dependencies: '@module-federation/bridge-react-webpack-plugin': 0.8.1 - '@module-federation/data-prefetch': 0.8.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@module-federation/data-prefetch': 0.8.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@module-federation/dts-plugin': 0.8.1(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3)) '@module-federation/managers': 0.8.1 '@module-federation/manifest': 0.8.1(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3)) @@ -7270,9 +7282,9 @@ snapshots: - utf-8-validate - vue-tsc - '@module-federation/rsbuild-plugin@0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9)': + '@module-federation/rsbuild-plugin@0.8.1(@module-federation/enhanced@0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1))(@rsbuild/core@1.1.9)': dependencies: - '@module-federation/enhanced': 0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1) + '@module-federation/enhanced': 0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1) '@module-federation/sdk': 0.8.1 '@rsbuild/core': 1.1.9 @@ -7319,9 +7331,9 @@ snapshots: dependencies: isomorphic-rslog: 0.0.6 - '@module-federation/storybook-addon@3.0.12(@rsbuild/core@1.1.9)(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack-virtual-modules@0.6.2)(webpack@5.96.1)': + '@module-federation/storybook-addon@3.0.12(@rsbuild/core@1.1.9)(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack-virtual-modules@0.6.2)(webpack@5.96.1)': dependencies: - '@module-federation/enhanced': 0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1) + '@module-federation/enhanced': 0.8.1(@rspack/core@1.1.5(@swc/helpers@0.5.15))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))(webpack@5.96.1) '@module-federation/sdk': 0.8.1 optionalDependencies: '@rsbuild/core': 1.1.9 @@ -7811,9 +7823,9 @@ snapshots: react-helmet-async: 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-syntax-highlighter: 15.6.1(react@18.3.1) - '@rstack-dev/doc-ui@1.5.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@rstack-dev/doc-ui@1.5.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - framer-motion: 11.5.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + framer-motion: 11.5.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' - react @@ -7962,16 +7974,22 @@ snapshots: react-dom: 18.3.1(react@18.3.1) storybook: 8.4.7(prettier@3.4.2) - '@storybook/react@8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3)': + '@storybook/react-dom-shim@8.4.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))': + dependencies: + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + storybook: 8.4.7(prettier@3.4.2) + + '@storybook/react@8.4.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3)': dependencies: '@storybook/components': 8.4.2(storybook@8.4.7(prettier@3.4.2)) '@storybook/global': 5.0.0 '@storybook/manager-api': 8.4.2(storybook@8.4.7(prettier@3.4.2)) '@storybook/preview-api': 8.4.2(storybook@8.4.7(prettier@3.4.2)) - '@storybook/react-dom-shim': 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2)) + '@storybook/react-dom-shim': 8.4.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2)) '@storybook/theming': 8.4.2(storybook@8.4.7(prettier@3.4.2)) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) storybook: 8.4.7(prettier@3.4.2) optionalDependencies: typescript: 5.6.3 @@ -9649,12 +9667,12 @@ snapshots: forwarded@0.2.0: {} - framer-motion@11.5.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + framer-motion@11.5.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: tslib: 2.8.1 optionalDependencies: - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) fresh@0.5.2: {} @@ -11426,10 +11444,10 @@ snapshots: iconv-lite: 0.4.24 unpipe: 1.0.0 - react-clientside-effect@1.2.6(react@18.3.1): + react-clientside-effect@1.2.6(react@19.0.0): dependencies: '@babel/runtime': 7.24.8 - react: 18.3.1 + react: 19.0.0 react-docgen-typescript@2.2.2(typescript@5.6.3): dependencies: @@ -11456,17 +11474,22 @@ snapshots: react: 18.3.1 scheduler: 0.23.2 + react-dom@19.0.0(react@19.0.0): + dependencies: + react: 19.0.0 + scheduler: 0.25.0 + react-fast-compare@3.2.2: {} - react-focus-lock@2.13.2(@types/react@18.3.14)(react@18.3.1): + react-focus-lock@2.13.2(@types/react@18.3.14)(react@19.0.0): dependencies: '@babel/runtime': 7.24.8 focus-lock: 1.3.5 prop-types: 15.8.1 - react: 18.3.1 - react-clientside-effect: 1.2.6(react@18.3.1) - use-callback-ref: 1.3.2(@types/react@18.3.14)(react@18.3.1) - use-sidecar: 1.1.2(@types/react@18.3.14)(react@18.3.1) + react: 19.0.0 + react-clientside-effect: 1.2.6(react@19.0.0) + use-callback-ref: 1.3.2(@types/react@18.3.14)(react@19.0.0) + use-sidecar: 1.1.2(@types/react@18.3.14)(react@19.0.0) optionalDependencies: '@types/react': 18.3.14 @@ -11512,14 +11535,14 @@ snapshots: react: 18.3.1 refractor: 3.6.0 - react-transition-group@4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-transition-group@4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.24.8 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) react@18.3.0: dependencies: @@ -11529,6 +11552,8 @@ snapshots: dependencies: loose-envify: 1.4.0 + react@19.0.0: {} + read-cache@1.0.0: dependencies: pify: 2.3.0 @@ -11878,6 +11903,8 @@ snapshots: dependencies: loose-envify: 1.4.0 + scheduler@0.25.0: {} + schema-utils@3.3.0: dependencies: '@types/json-schema': 7.0.15 @@ -12098,18 +12125,18 @@ snapshots: - webpack-cli - webpack-sources - storybook-react-rsbuild@0.1.5(@rsbuild/core@1.1.9)(@types/react@18.3.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.18.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3)(webpack-sources@3.2.3)(webpack@5.96.1): + storybook-react-rsbuild@0.1.5(@rsbuild/core@1.1.9)(@types/react@18.3.14)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rollup@4.18.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3)(webpack-sources@3.2.3)(webpack@5.96.1): dependencies: '@rollup/pluginutils': 5.1.3(rollup@4.18.1) '@rsbuild/core': 1.1.9 - '@storybook/react': 8.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3) + '@storybook/react': 8.4.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3) '@storybook/react-docgen-typescript-plugin': 1.0.1(typescript@5.6.3)(webpack@5.96.1) '@types/node': 18.19.64 find-up: 5.0.0 magic-string: 0.30.14 - react: 18.3.1 + react: 19.0.0 react-docgen: 7.1.0 - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@19.0.0) resolve: 1.22.8 storybook: 8.4.7(prettier@3.4.2) storybook-builder-rsbuild: 0.1.5(@rsbuild/core@1.1.9)(@types/react@18.3.14)(storybook@8.4.7(prettier@3.4.2))(typescript@5.6.3)(webpack-sources@3.2.3) @@ -12531,17 +12558,17 @@ snapshots: punycode: 1.4.1 qs: 6.13.0 - use-callback-ref@1.3.2(@types/react@18.3.14)(react@18.3.1): + use-callback-ref@1.3.2(@types/react@18.3.14)(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 tslib: 2.8.1 optionalDependencies: '@types/react': 18.3.14 - use-sidecar@1.1.2(@types/react@18.3.14)(react@18.3.1): + use-sidecar@1.1.2(@types/react@18.3.14)(react@19.0.0): dependencies: detect-node-es: 1.1.0 - react: 18.3.1 + react: 19.0.0 tslib: 2.8.1 optionalDependencies: '@types/react': 18.3.14 diff --git a/tests/integration/asset/name/package.json b/tests/integration/asset/name/package.json index f590a13fd..544dc66ff 100644 --- a/tests/integration/asset/name/package.json +++ b/tests/integration/asset/name/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "dependencies": { - "react": "^18.3.1" + "react": "^19.0.0" }, "devDependencies": { "@rsbuild/plugin-react": "^1.1.0" diff --git a/tests/integration/auto-external/default/package.json b/tests/integration/auto-external/default/package.json index e36d56212..c37aa4a8a 100644 --- a/tests/integration/auto-external/default/package.json +++ b/tests/integration/auto-external/default/package.json @@ -3,6 +3,6 @@ "private": true, "dependencies": { "ora": "8.1.1", - "react": "^18.3.1" + "react": "^19.0.0" } } diff --git a/tests/integration/auto-external/external-sub-path/package.json b/tests/integration/auto-external/external-sub-path/package.json index 02691a990..c7485a55c 100644 --- a/tests/integration/auto-external/external-sub-path/package.json +++ b/tests/integration/auto-external/external-sub-path/package.json @@ -2,6 +2,6 @@ "name": "auto-external-with-sub-path-test", "private": true, "dependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } } diff --git a/tests/integration/auto-external/false/package.json b/tests/integration/auto-external/false/package.json index 7aa4f5597..5ffbaedd0 100644 --- a/tests/integration/auto-external/false/package.json +++ b/tests/integration/auto-external/false/package.json @@ -3,6 +3,6 @@ "private": true, "dependencies": { "ora": "8.1.1", - "react": "^18.3.1" + "react": "^19.0.0" } } diff --git a/tests/integration/auto-external/module-import-warn/package.json b/tests/integration/auto-external/module-import-warn/package.json index aae6e50b0..13b34dc86 100644 --- a/tests/integration/auto-external/module-import-warn/package.json +++ b/tests/integration/auto-external/module-import-warn/package.json @@ -2,6 +2,6 @@ "name": "module-import-warn", "private": true, "dependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } } diff --git a/tests/integration/auto-external/with-externals/package.json b/tests/integration/auto-external/with-externals/package.json index 8e21d25a1..be496b932 100644 --- a/tests/integration/auto-external/with-externals/package.json +++ b/tests/integration/auto-external/with-externals/package.json @@ -2,6 +2,6 @@ "name": "auto-external-with-externals-test", "private": true, "dependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } } diff --git a/tests/integration/bundle-false/svgr/package.json b/tests/integration/bundle-false/svgr/package.json index 534c04aa5..35915e44a 100644 --- a/tests/integration/bundle-false/svgr/package.json +++ b/tests/integration/bundle-false/svgr/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "dependencies": { - "react": "^18.3.1" + "react": "^19.0.0" }, "devDependencies": { "@rsbuild/plugin-react": "^1.1.0", diff --git a/tests/integration/umd-globals/package.json b/tests/integration/umd-globals/package.json index 930ebb27e..a638569ca 100644 --- a/tests/integration/umd-globals/package.json +++ b/tests/integration/umd-globals/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "private": true, "devDependencies": { - "react": "^18.3.1", + "react": "^19.0.0", "react-aliased": "npm:react@18.3.0" }, "peerDependencies": { diff --git a/tests/integration/umd-library-name/package.json b/tests/integration/umd-library-name/package.json index 9e9067c4b..9eeacde11 100644 --- a/tests/integration/umd-library-name/package.json +++ b/tests/integration/umd-library-name/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "private": true, "devDependencies": { - "react": "^18.3.1" + "react": "^19.0.0" }, "peerDependencies": { "react": "^18.3.1" diff --git a/tests/package.json b/tests/package.json index 090ae881c..4dce89f71 100644 --- a/tests/package.json +++ b/tests/package.json @@ -7,8 +7,8 @@ "test:e2e": "playwright test --pass-with-no-tests" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@codspeed/vitest-plugin": "^3.1.1", diff --git a/website/package.json b/website/package.json index 7516fbf8b..215346039 100644 --- a/website/package.json +++ b/website/package.json @@ -15,8 +15,8 @@ "@types/node": "^22.8.1", "@types/react": "^18.3.14", "@types/react-dom": "^18.3.2", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "rsbuild-plugin-google-analytics": "1.0.3", "rspress": "1.37.4", "rspress-plugin-font-open-sans": "1.0.0"