diff --git a/playground/class-components/package.json b/playground/class-components/package.json index 3155ac4c..7b966c7a 100644 --- a/playground/class-components/package.json +++ b/playground/class-components/package.json @@ -8,12 +8,12 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.1.0", + "react-dom": "^19.1.0" }, "devDependencies": { - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.1.0", + "@types/react-dom": "^19.1.1", "@vitejs/plugin-react": "workspace:*" } } diff --git a/playground/compiler-react-18/package.json b/playground/compiler-react-18/package.json index 8ad6aa91..c047f9f6 100644 --- a/playground/compiler-react-18/package.json +++ b/playground/compiler-react-18/package.json @@ -8,14 +8,14 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.3.1", + "react": "^19.1.0", "react-compiler-runtime": "0.0.0-experimental-dc8bd44-20241121", - "react-dom": "^18.3.1" + "react-dom": "^19.1.0" }, "devDependencies": { "@babel/plugin-transform-react-jsx-development": "^7.25.9", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.1.0", + "@types/react-dom": "^19.1.1", "@vitejs/plugin-react": "workspace:*", "babel-plugin-react-compiler": "0.0.0-experimental-dc8bd44-20241121", "typescript": "^5.7.2" diff --git a/playground/compiler/package.json b/playground/compiler/package.json index 5aca9d60..634962fe 100644 --- a/playground/compiler/package.json +++ b/playground/compiler/package.json @@ -13,8 +13,8 @@ }, "devDependencies": { "@babel/plugin-transform-react-jsx-development": "^7.25.9", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.1.0", + "@types/react-dom": "^19.1.1", "@vitejs/plugin-react": "workspace:*", "babel-plugin-react-compiler": "0.0.0-experimental-dc8bd44-20241121", "typescript": "^5.7.2" diff --git a/playground/mdx/package.json b/playground/mdx/package.json index 96939128..e755ebac 100644 --- a/playground/mdx/package.json +++ b/playground/mdx/package.json @@ -8,13 +8,13 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.1.0", + "react-dom": "^19.1.0" }, "devDependencies": { "@mdx-js/rollup": "^3.1.0", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.1.0", + "@types/react-dom": "^19.1.1", "@vitejs/plugin-react": "workspace:*" } } diff --git a/playground/react-classic/package.json b/playground/react-classic/package.json index 1fe88e13..93bb56f6 100644 --- a/playground/react-classic/package.json +++ b/playground/react-classic/package.json @@ -9,8 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.1.0", + "react-dom": "^19.1.0" }, "devDependencies": { "@vitejs/plugin-react": "workspace:*" diff --git a/playground/react-emotion/package.json b/playground/react-emotion/package.json index 60928c9f..3bf868f2 100644 --- a/playground/react-emotion/package.json +++ b/playground/react-emotion/package.json @@ -11,8 +11,8 @@ "dependencies": { "@emotion/react": "^11.13.5", "@emotion/styled": "^11.13.5", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.1.0", + "react-dom": "^19.1.0", "react-switch": "^7.0.0" }, "devDependencies": { diff --git a/playground/react-env/package.json b/playground/react-env/package.json index 9eeddfd0..c0f990c7 100644 --- a/playground/react-env/package.json +++ b/playground/react-env/package.json @@ -9,8 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.1.0", + "react-dom": "^19.1.0" }, "devDependencies": { "@vitejs/plugin-react": "workspace:*" diff --git a/playground/react-sourcemap/package.json b/playground/react-sourcemap/package.json index d5ada3cb..4bcd6e22 100644 --- a/playground/react-sourcemap/package.json +++ b/playground/react-sourcemap/package.json @@ -11,8 +11,8 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.1.0", + "react-dom": "^19.1.0" }, "devDependencies": { "@vitejs/plugin-react": "workspace:*" diff --git a/playground/react/package.json b/playground/react/package.json index ad1fa743..abb756b7 100644 --- a/playground/react/package.json +++ b/playground/react/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "jsx-entry": "file:./jsx-entry", - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.1.0", + "react-dom": "^19.1.0" }, "devDependencies": { "@vitejs/plugin-react": "workspace:*" diff --git a/playground/ssr-react/package.json b/playground/ssr-react/package.json index 152907fa..23fcd26a 100644 --- a/playground/ssr-react/package.json +++ b/playground/ssr-react/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.1.0", + "react-dom": "^19.1.0" }, "devDependencies": { "@vitejs/plugin-react": "workspace:*" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3df827a4..0e7b294a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -409,18 +409,18 @@ importers: playground/class-components: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.0 + version: 19.1.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) devDependencies: '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.1.0 + version: 19.1.0 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.1 + version: 19.1.1(@types/react@19.1.0) '@vitejs/plugin-react': specifier: workspace:* version: link:../../packages/plugin-react @@ -438,11 +438,11 @@ importers: specifier: ^7.25.9 version: 7.25.9(@babel/core@7.26.0) '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.1.0 + version: 19.1.0 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.1 + version: 19.1.1(@types/react@19.1.0) '@vitejs/plugin-react': specifier: workspace:* version: link:../../packages/plugin-react @@ -456,24 +456,24 @@ importers: playground/compiler-react-18: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.0 + version: 19.1.0 react-compiler-runtime: specifier: 0.0.0-experimental-dc8bd44-20241121 - version: 0.0.0-experimental-dc8bd44-20241121(react@18.3.1) + version: 0.0.0-experimental-dc8bd44-20241121(react@19.1.0) react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) devDependencies: '@babel/plugin-transform-react-jsx-development': specifier: ^7.25.9 version: 7.25.9(@babel/core@7.26.0) '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.1.0 + version: 19.1.0 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.1 + version: 19.1.1(@types/react@19.1.0) '@vitejs/plugin-react': specifier: workspace:* version: link:../../packages/plugin-react @@ -487,21 +487,21 @@ importers: playground/mdx: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.0 + version: 19.1.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) devDependencies: '@mdx-js/rollup': specifier: ^3.1.0 version: 3.1.0(rollup@4.38.0) '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.1.0 + version: 19.1.0 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.1 + version: 19.1.1(@types/react@19.1.0) '@vitejs/plugin-react': specifier: workspace:* version: link:../../packages/plugin-react @@ -512,11 +512,11 @@ importers: specifier: file:./jsx-entry version: link:jsx-entry react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.0 + version: 19.1.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) devDependencies: '@vitejs/plugin-react': specifier: workspace:* @@ -525,11 +525,11 @@ importers: playground/react-classic: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.0 + version: 19.1.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) devDependencies: '@vitejs/plugin-react': specifier: workspace:* @@ -539,19 +539,19 @@ importers: dependencies: '@emotion/react': specifier: ^11.13.5 - version: 11.13.5(react@18.3.1) + version: 11.13.5(react@19.1.0) '@emotion/styled': specifier: ^11.13.5 - version: 11.13.5(@emotion/react@11.13.5(react@18.3.1))(react@18.3.1) + version: 11.13.5(@emotion/react@11.13.5(react@19.1.0))(react@19.1.0) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.0 + version: 19.1.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) react-switch: specifier: ^7.0.0 - version: 7.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 7.0.0(react-dom@19.1.0(react@19.1.0))(react@19.1.0) devDependencies: '@babel/plugin-proposal-pipeline-operator': specifier: ^7.25.9 @@ -566,11 +566,11 @@ importers: playground/react-env: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.0 + version: 19.1.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) devDependencies: '@vitejs/plugin-react': specifier: workspace:* @@ -579,11 +579,11 @@ importers: playground/react-sourcemap: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.0 + version: 19.1.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) devDependencies: '@vitejs/plugin-react': specifier: workspace:* @@ -594,11 +594,11 @@ importers: playground/ssr-react: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.1.0 + version: 19.1.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) devDependencies: '@vitejs/plugin-react': specifier: workspace:* @@ -1841,9 +1841,6 @@ packages: '@types/prop-types@15.7.11': resolution: {integrity: sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==} - '@types/react-dom@18.3.1': - resolution: {integrity: sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==} - '@types/react-dom@18.3.5': resolution: {integrity: sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==} peerDependencies: @@ -1854,8 +1851,10 @@ packages: peerDependencies: '@types/react': ^19.0.0 - '@types/react@18.3.12': - resolution: {integrity: sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==} + '@types/react-dom@19.1.1': + resolution: {integrity: sha512-jFf/woGTVTjUJsl2O7hcopJ1r0upqoq/vIOoCj0yLh3RIXxWcljlpuZ+vEBRXsymD1jhfeJrlyTy/S1UW+4y1w==} + peerDependencies: + '@types/react': ^19.0.0 '@types/react@18.3.20': resolution: {integrity: sha512-IPaCZN7PShZK/3t6Q87pfTkRm6oLTd4vztyoj+cbHUF1g3FfVb2tFIL79uCRKEfv16AhqDMBywP2VW3KIZUvcg==} @@ -1863,6 +1862,9 @@ packages: '@types/react@19.0.12': resolution: {integrity: sha512-V6Ar115dBDrjbtXSrS+/Oruobc+qVbbUxDFC1RSbRqLt5SYvxxyIDrSC85RWml54g+jfNeEMZhEj7wW07ONQhA==} + '@types/react@19.1.0': + resolution: {integrity: sha512-UaicktuQI+9UKyA4njtDOGBD/67t8YEBt2xdfqu8+gP9hqPUPsiXlNPcpS2gVdjmis5GKPG3fCxbQLVgxsQZ8w==} + '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} @@ -4330,17 +4332,17 @@ snapshots: '@emotion/memoize@0.9.0': {} - '@emotion/react@11.13.5(react@18.3.1)': + '@emotion/react@11.13.5(react@19.1.0)': dependencies: '@babel/runtime': 7.23.5 '@emotion/babel-plugin': 11.13.5 '@emotion/cache': 11.13.5 '@emotion/serialize': 1.3.3 - '@emotion/use-insertion-effect-with-fallbacks': 1.1.0(react@18.3.1) + '@emotion/use-insertion-effect-with-fallbacks': 1.1.0(react@19.1.0) '@emotion/utils': 1.4.2 '@emotion/weak-memoize': 0.4.0 hoist-non-react-statics: 3.3.2 - react: 18.3.1 + react: 19.1.0 transitivePeerDependencies: - supports-color @@ -4370,16 +4372,16 @@ snapshots: '@emotion/sheet@1.4.0': {} - '@emotion/styled@11.13.5(@emotion/react@11.13.5(react@18.3.1))(react@18.3.1)': + '@emotion/styled@11.13.5(@emotion/react@11.13.5(react@19.1.0))(react@19.1.0)': dependencies: '@babel/runtime': 7.23.5 '@emotion/babel-plugin': 11.13.5 '@emotion/is-prop-valid': 1.3.1 - '@emotion/react': 11.13.5(react@18.3.1) + '@emotion/react': 11.13.5(react@19.1.0) '@emotion/serialize': 1.3.3 - '@emotion/use-insertion-effect-with-fallbacks': 1.1.0(react@18.3.1) + '@emotion/use-insertion-effect-with-fallbacks': 1.1.0(react@19.1.0) '@emotion/utils': 1.4.2 - react: 18.3.1 + react: 19.1.0 transitivePeerDependencies: - supports-color @@ -4402,9 +4404,9 @@ snapshots: '@emotion/unitless@0.8.1': {} - '@emotion/use-insertion-effect-with-fallbacks@1.1.0(react@18.3.1)': + '@emotion/use-insertion-effect-with-fallbacks@1.1.0(react@19.1.0)': dependencies: - react: 18.3.1 + react: 19.1.0 '@emotion/use-insertion-effect-with-fallbacks@1.2.0(react@19.1.0)': dependencies: @@ -5087,7 +5089,7 @@ snapshots: '@types/hoist-non-react-statics@3.3.6': dependencies: - '@types/react': 19.0.12 + '@types/react': 19.1.0 hoist-non-react-statics: 3.3.2 '@types/json-schema@7.0.15': {} @@ -5120,10 +5122,6 @@ snapshots: '@types/prop-types@15.7.11': {} - '@types/react-dom@18.3.1': - dependencies: - '@types/react': 18.3.20 - '@types/react-dom@18.3.5(@types/react@18.3.20)': dependencies: '@types/react': 18.3.20 @@ -5132,10 +5130,9 @@ snapshots: dependencies: '@types/react': 19.0.12 - '@types/react@18.3.12': + '@types/react-dom@19.1.1(@types/react@19.1.0)': dependencies: - '@types/prop-types': 15.7.11 - csstype: 3.1.2 + '@types/react': 19.1.0 '@types/react@18.3.20': dependencies: @@ -5146,6 +5143,10 @@ snapshots: dependencies: csstype: 3.1.2 + '@types/react@19.1.0': + dependencies: + csstype: 3.1.3 + '@types/resolve@1.20.2': {} '@types/styled-components@5.1.34': @@ -7090,9 +7091,9 @@ snapshots: queue-microtask@1.2.3: {} - react-compiler-runtime@0.0.0-experimental-dc8bd44-20241121(react@18.3.1): + react-compiler-runtime@0.0.0-experimental-dc8bd44-20241121(react@19.1.0): dependencies: - react: 18.3.1 + react: 19.1.0 react-dom@18.3.1(react@18.3.1): dependencies: @@ -7132,11 +7133,11 @@ snapshots: optionalDependencies: react-dom: 19.1.0(react@19.1.0) - react-switch@7.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-switch@7.0.0(react-dom@19.1.0(react@19.1.0))(react@19.1.0): dependencies: prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) react@18.3.1: dependencies: