diff --git a/examples/fastify-vike/package.json b/examples/fastify-vike/package.json index 509390a5..4ea7dd0e 100644 --- a/examples/fastify-vike/package.json +++ b/examples/fastify-vike/package.json @@ -10,13 +10,13 @@ "dependencies": { "@fastify/static": "^8.0.3", "@types/node": "^18.19.67", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.1", "@vitejs/plugin-react": "^4.3.4", "cross-env": "^7.0.3", "fastify": "^5.1.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "ts-node": "^10.9.2", "typescript": "^5.7.2", "vavite": "5.1.0", diff --git a/examples/nestjs-vike/package.json b/examples/nestjs-vike/package.json index 37308f36..535e8a48 100644 --- a/examples/nestjs-vike/package.json +++ b/examples/nestjs-vike/package.json @@ -14,8 +14,8 @@ "@swc/core": "^1.9.3", "@types/express": "^5.0.0", "@types/node": "^18.19.67", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.1", "@vitejs/plugin-react": "^4.3.4", "cross-env": "^7.0.3", "rollup-plugin-swc3": "^0.12.1", @@ -29,8 +29,8 @@ "@nestjs/core": "^10.4.12", "@nestjs/platform-express": "^10.4.12", "@nestjs/serve-static": "^4.0.2", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-streaming": "0.3.43", "reflect-metadata": "^0.2.2", "rxjs": "^7.8.1", diff --git a/examples/ssr-react-express/package.json b/examples/ssr-react-express/package.json index d444b022..5597f4a1 100644 --- a/examples/ssr-react-express/package.json +++ b/examples/ssr-react-express/package.json @@ -10,8 +10,8 @@ "devDependencies": { "@types/express": "^5.0.0", "@types/node": "^18.19.67", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.1", "@vitejs/plugin-react": "^4.3.4", "typescript": "^5.7.2", "vavite": "5.1.0", @@ -19,7 +19,7 @@ }, "dependencies": { "express": "^4.21.1", - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" } } diff --git a/examples/vike/package.json b/examples/vike/package.json index 6ba521d2..0332f85b 100644 --- a/examples/vike/package.json +++ b/examples/vike/package.json @@ -10,13 +10,13 @@ "dependencies": { "@types/express": "^5.0.0", "@types/node": "^18.19.67", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.1", "@vitejs/plugin-react": "^4.3.4", "cross-env": "^7.0.3", "express": "^4.21.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "ts-node": "^10.9.2", "typescript": "^5.7.2", "vavite": "5.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6b55c3ad..78f0b865 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -99,11 +99,11 @@ importers: specifier: ^18.19.67 version: 18.19.67 '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.4 version: 4.3.4(vite@5.4.11(@types/node@18.19.67)) @@ -114,11 +114,11 @@ importers: specifier: ^5.1.0 version: 5.1.0 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) ts-node: specifier: ^10.9.2 version: 10.9.2(@swc/core@1.9.3)(@types/node@18.19.67)(typescript@5.7.2) @@ -130,7 +130,7 @@ importers: version: link:../../packages/vavite vike: specifier: ^0.4.205 - version: 0.4.205(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.11(@types/node@18.19.67)) + version: 0.4.205(react-streaming@0.3.43(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(vite@5.4.11(@types/node@18.19.67)) vite: specifier: ^5.4.11 version: 5.4.11(@types/node@18.19.67) @@ -237,14 +237,14 @@ importers: specifier: ^4.0.2 version: 4.0.2(@fastify/static@7.0.4)(@nestjs/common@10.4.12(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/core@10.4.12)(express@4.21.1)(fastify@4.28.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-streaming: specifier: 0.3.43 - version: 0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 0.3.43(react-dom@19.0.0(react@19.0.0))(react@19.0.0) reflect-metadata: specifier: ^0.2.2 version: 0.2.2 @@ -253,7 +253,7 @@ importers: version: 7.8.1 vike: specifier: ^0.4.205 - version: 0.4.205(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.11(@types/node@18.19.67)) + version: 0.4.205(react-streaming@0.3.43(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(vite@5.4.11(@types/node@18.19.67)) devDependencies: '@swc/core': specifier: ^1.9.3 @@ -265,11 +265,11 @@ importers: specifier: ^18.19.67 version: 18.19.67 '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.4 version: 4.3.4(vite@5.4.11(@types/node@18.19.67)) @@ -338,11 +338,11 @@ importers: specifier: ^4.21.1 version: 4.21.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) devDependencies: '@types/express': specifier: ^5.0.0 @@ -351,11 +351,11 @@ importers: specifier: ^18.19.67 version: 18.19.67 '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.4 version: 4.3.4(vite@5.4.11(@types/node@18.19.67)) @@ -406,11 +406,11 @@ importers: specifier: ^18.19.67 version: 18.19.67 '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.1 + version: 19.0.1 '@vitejs/plugin-react': specifier: ^4.3.4 version: 4.3.4(vite@5.4.11(@types/node@18.19.67)) @@ -421,11 +421,11 @@ importers: specifier: ^4.21.1 version: 4.21.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) ts-node: specifier: ^10.9.2 version: 10.9.2(@swc/core@1.9.3)(@types/node@18.19.67)(typescript@5.7.2) @@ -437,7 +437,7 @@ importers: version: link:../../packages/vavite vike: specifier: ^0.4.205 - version: 0.4.205(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.11(@types/node@18.19.67)) + version: 0.4.205(react-streaming@0.3.43(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(vite@5.4.11(@types/node@18.19.67)) vite: specifier: ^5.4.11 version: 5.4.11(@types/node@18.19.67) @@ -1755,9 +1755,6 @@ packages: '@types/node@18.19.67': resolution: {integrity: sha512-wI8uHusga+0ZugNp0Ol/3BqQfEcCCNfojtO6Oou9iVNGPTL6QNSdnUdqq85fRgIorLhLMuPIKpsN98QE9Nh+KQ==} - '@types/prop-types@15.7.13': - resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} - '@types/ps-tree@1.1.6': resolution: {integrity: sha512-PtrlVaOaI44/3pl3cvnlK+GxOM3re2526TJvPvh7W+keHIXdV4TE0ylpPBAcvFQCbGitaTXwL9u+RF7qtVeazQ==} @@ -1767,11 +1764,11 @@ packages: '@types/range-parser@1.2.7': resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} - '@types/react-dom@18.3.1': - resolution: {integrity: sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==} + '@types/react-dom@19.0.1': + resolution: {integrity: sha512-hljHij7MpWPKF6u5vojuyfV0YA4YURsQG7KT6SzV0Zs2BXAtgdTxG6A229Ub/xiWV4w/7JL8fi6aAyjshH4meA==} - '@types/react@18.3.12': - resolution: {integrity: sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==} + '@types/react@19.0.1': + resolution: {integrity: sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==} '@types/send@0.17.4': resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} @@ -3758,10 +3755,10 @@ packages: resolution: {integrity: sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==} 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-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -3776,8 +3773,8 @@ packages: react: '>=18' react-dom: '>=18' - 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'} readable-stream@2.3.8: @@ -3907,8 +3904,8 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} secure-json-parse@2.7.0: resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} @@ -5661,21 +5658,18 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/prop-types@15.7.13': {} - '@types/ps-tree@1.1.6': {} '@types/qs@6.9.16': {} '@types/range-parser@1.2.7': {} - '@types/react-dom@18.3.1': + '@types/react-dom@19.0.1': dependencies: - '@types/react': 18.3.12 + '@types/react': 19.0.1 - '@types/react@18.3.12': + '@types/react@19.0.1': dependencies: - '@types/prop-types': 15.7.13 csstype: 3.1.3 '@types/send@0.17.4': @@ -8039,28 +8033,25 @@ snapshots: iconv-lite: 0.4.24 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-is@16.13.1: {} react-refresh@0.14.2: {} - react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-streaming@0.3.43(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@brillout/import': 0.2.3 '@brillout/json-serializer': 0.5.13 '@brillout/picocolors': 1.0.14 isbot-fast: 1.2.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) - react@18.3.1: - dependencies: - loose-envify: 1.4.0 + react@19.0.0: {} readable-stream@2.3.8: dependencies: @@ -8236,9 +8227,7 @@ snapshots: safer-buffer@2.1.2: {} - scheduler@0.23.2: - dependencies: - loose-envify: 1.4.0 + scheduler@0.25.0: {} secure-json-parse@2.7.0: {} @@ -8752,7 +8741,7 @@ snapshots: vary@1.1.2: {} - vike@0.4.205(react-streaming@0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@5.4.11(@types/node@18.19.67)): + vike@0.4.205(react-streaming@0.3.43(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(vite@5.4.11(@types/node@18.19.67)): dependencies: '@brillout/import': 0.2.3 '@brillout/json-serializer': 0.5.13 @@ -8768,7 +8757,7 @@ snapshots: source-map-support: 0.5.21 vite: 5.4.11(@types/node@18.19.67) optionalDependencies: - react-streaming: 0.3.43(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-streaming: 0.3.43(react-dom@19.0.0(react@19.0.0))(react@19.0.0) vite-node@2.1.6(@types/node@18.19.67)(yaml@2.5.1): dependencies: