From 58700912b60cac9481b18069b465ab6d013211ba Mon Sep 17 00:00:00 2001 From: Vercel Release Bot <88769842+vercel-release-bot@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:49:59 -0300 Subject: [PATCH] Upgrade React from `7283a213-20241206` to `372ec00c-20241209` (#73749) --- package.json | 30 +- .../cjs/react-dom-client.development.js | 10 +- .../cjs/react-dom-client.production.js | 10 +- .../cjs/react-dom-profiling.development.js | 10 +- .../cjs/react-dom-profiling.profiling.js | 10 +- ...t-dom-server-legacy.browser.development.js | 2 +- ...ct-dom-server-legacy.browser.production.js | 2 +- ...eact-dom-server-legacy.node.development.js | 2 +- ...react-dom-server-legacy.node.production.js | 2 +- .../react-dom-server.browser.development.js | 6 +- .../react-dom-server.browser.production.js | 6 +- .../cjs/react-dom-server.bun.production.js | 6 +- .../cjs/react-dom-server.edge.development.js | 6 +- .../cjs/react-dom-server.edge.production.js | 6 +- .../cjs/react-dom-server.node.development.js | 6 +- .../cjs/react-dom-server.node.production.js | 6 +- .../react-dom-unstable_testing.development.js | 10 +- .../react-dom-unstable_testing.production.js | 10 +- .../cjs/react-dom.development.js | 2 +- .../cjs/react-dom.production.js | 2 +- .../cjs/react-dom.react-server.development.js | 2 +- .../cjs/react-dom.react-server.production.js | 2 +- .../react-dom-experimental/package.json | 4 +- .../cjs/react-dom-client.development.js | 10 +- .../cjs/react-dom-client.production.js | 10 +- .../cjs/react-dom-profiling.development.js | 10 +- .../cjs/react-dom-profiling.profiling.js | 10 +- ...t-dom-server-legacy.browser.development.js | 2 +- ...ct-dom-server-legacy.browser.production.js | 2 +- ...eact-dom-server-legacy.node.development.js | 2 +- ...react-dom-server-legacy.node.production.js | 2 +- .../react-dom-server.browser.development.js | 6 +- .../react-dom-server.browser.production.js | 6 +- .../cjs/react-dom-server.bun.production.js | 6 +- .../cjs/react-dom-server.edge.development.js | 6 +- .../cjs/react-dom-server.edge.production.js | 6 +- .../cjs/react-dom-server.node.development.js | 6 +- .../cjs/react-dom-server.node.production.js | 6 +- .../react-dom/cjs/react-dom.development.js | 2 +- .../react-dom/cjs/react-dom.production.js | 2 +- .../cjs/react-dom.react-server.development.js | 2 +- .../cjs/react-dom.react-server.production.js | 2 +- .../next/src/compiled/react-dom/package.json | 4 +- .../cjs/react.development.js | 2 +- .../cjs/react.production.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../next/src/compiled/react-is/package.json | 2 +- ...om-turbopack-client.browser.development.js | 18 +- ...r-dom-turbopack-client.edge.development.js | 14 +- ...r-dom-turbopack-client.node.development.js | 14 +- ...om-turbopack-server.browser.development.js | 158 +++--- ...dom-turbopack-server.browser.production.js | 86 ++-- ...r-dom-turbopack-server.edge.development.js | 158 +++--- ...er-dom-turbopack-server.edge.production.js | 86 ++-- ...r-dom-turbopack-server.node.development.js | 164 +++--- ...er-dom-turbopack-server.node.production.js | 86 ++-- .../package.json | 4 +- ...om-turbopack-client.browser.development.js | 7 +- ...r-dom-turbopack-client.edge.development.js | 3 +- ...r-dom-turbopack-client.node.development.js | 3 +- ...om-turbopack-server.browser.development.js | 160 +++--- ...dom-turbopack-server.browser.production.js | 86 ++-- ...r-dom-turbopack-server.edge.development.js | 160 +++--- ...er-dom-turbopack-server.edge.production.js | 86 ++-- ...r-dom-turbopack-server.node.development.js | 166 +++--- ...er-dom-turbopack-server.node.production.js | 86 ++-- .../react-server-dom-turbopack/package.json | 4 +- ...-dom-webpack-client.browser.development.js | 18 +- ...ver-dom-webpack-client.edge.development.js | 14 +- ...ver-dom-webpack-client.node.development.js | 14 +- ...bpack-client.node.unbundled.development.js | 14 +- ...-dom-webpack-server.browser.development.js | 158 +++--- ...r-dom-webpack-server.browser.production.js | 86 ++-- ...ver-dom-webpack-server.edge.development.js | 158 +++--- ...rver-dom-webpack-server.edge.production.js | 86 ++-- ...ver-dom-webpack-server.node.development.js | 164 +++--- ...rver-dom-webpack-server.node.production.js | 86 ++-- ...bpack-server.node.unbundled.development.js | 164 +++--- ...ebpack-server.node.unbundled.production.js | 86 ++-- .../package.json | 4 +- ...-dom-webpack-client.browser.development.js | 7 +- ...ver-dom-webpack-client.edge.development.js | 3 +- ...ver-dom-webpack-client.node.development.js | 3 +- ...bpack-client.node.unbundled.development.js | 3 +- ...-dom-webpack-server.browser.development.js | 160 +++--- ...r-dom-webpack-server.browser.production.js | 86 ++-- ...ver-dom-webpack-server.edge.development.js | 160 +++--- ...rver-dom-webpack-server.edge.production.js | 86 ++-- ...ver-dom-webpack-server.node.development.js | 166 +++--- ...rver-dom-webpack-server.node.production.js | 86 ++-- ...bpack-server.node.unbundled.development.js | 166 +++--- ...ebpack-server.node.unbundled.production.js | 86 ++-- .../react-server-dom-webpack/package.json | 4 +- .../compiled/react/cjs/react.development.js | 2 +- .../compiled/react/cjs/react.production.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../next/src/compiled/unistore/unistore.js | 2 +- pnpm-lock.yaml | 478 +++++++++--------- 100 files changed, 2188 insertions(+), 2181 deletions(-) diff --git a/package.json b/package.json index 67b43e996008b..4ad41d3b53a69 100644 --- a/package.json +++ b/package.json @@ -211,16 +211,16 @@ "pretty-ms": "7.0.0", "random-seed": "0.3.0", "react": "19.0.0", - "react-builtin": "npm:react@19.0.0-rc-7283a213-20241206", + "react-builtin": "npm:react@19.0.0-rc-372ec00c-20241209", "react-dom": "19.0.0", - "react-dom-builtin": "npm:react-dom@19.0.0-rc-7283a213-20241206", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-7283a213-20241206", - "react-experimental-builtin": "npm:react@0.0.0-experimental-7283a213-20241206", - "react-is-builtin": "npm:react-is@19.0.0-rc-7283a213-20241206", - "react-server-dom-turbopack": "19.0.0-rc-7283a213-20241206", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-7283a213-20241206", - "react-server-dom-webpack": "19.0.0-rc-7283a213-20241206", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-7283a213-20241206", + "react-dom-builtin": "npm:react-dom@19.0.0-rc-372ec00c-20241209", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-372ec00c-20241209", + "react-experimental-builtin": "npm:react@0.0.0-experimental-372ec00c-20241209", + "react-is-builtin": "npm:react-is@19.0.0-rc-372ec00c-20241209", + "react-server-dom-turbopack": "19.0.0-rc-372ec00c-20241209", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-372ec00c-20241209", + "react-server-dom-webpack": "19.0.0-rc-372ec00c-20241209", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-372ec00c-20241209", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -230,8 +230,8 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.9", - "scheduler-builtin": "npm:scheduler@0.25.0-rc-7283a213-20241206", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-7283a213-20241206", + "scheduler-builtin": "npm:scheduler@0.25.0-rc-372ec00c-20241209", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-372ec00c-20241209", "seedrandom": "3.0.5", "semver": "7.3.7", "shell-quote": "1.7.3", @@ -272,10 +272,10 @@ "@types/react": "19.0.0", "@types/react-dom": "19.0.0", "jest-snapshot": "30.0.0-alpha.6", - "react": "19.0.0-rc-7283a213-20241206", - "react-dom": "19.0.0-rc-7283a213-20241206", - "react-is": "19.0.0-rc-7283a213-20241206", - "scheduler": "0.25.0-rc-7283a213-20241206" + "react": "19.0.0-rc-372ec00c-20241209", + "react-dom": "19.0.0-rc-372ec00c-20241209", + "react-is": "19.0.0-rc-372ec00c-20241209", + "scheduler": "0.25.0-rc-372ec00c-20241209" }, "patchedDependencies": { "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch" diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js index 643269fdb0259..dbf9adf3c49cd 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js @@ -25291,11 +25291,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25332,11 +25332,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-7283a213-20241206", + version: "19.0.0-experimental-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-7283a213-20241206" + reconcilerVersion: "19.0.0-experimental-372ec00c-20241209" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25478,7 +25478,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js index df49790f340c5..8eb3bede6865d 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js @@ -15264,14 +15264,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1676 = React.version; if ( - "19.0.0-experimental-7283a213-20241206" !== + "19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion$jscomp$inline_1676 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1676, - "19.0.0-experimental-7283a213-20241206" + "19.0.0-experimental-372ec00c-20241209" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15293,11 +15293,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2146 = { bundleType: 0, - version: "19.0.0-experimental-7283a213-20241206", + version: "19.0.0-experimental-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-7283a213-20241206" + reconcilerVersion: "19.0.0-experimental-372ec00c-20241209" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2147 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15401,4 +15401,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js index 894a13db08621..86c95f1bd6ed9 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js @@ -25348,11 +25348,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25389,11 +25389,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-7283a213-20241206", + version: "19.0.0-experimental-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-7283a213-20241206" + reconcilerVersion: "19.0.0-experimental-372ec00c-20241209" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25865,7 +25865,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js index 08905f33ea0f8..ebde9db05a8d2 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js @@ -16382,14 +16382,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1783 = React.version; if ( - "19.0.0-experimental-7283a213-20241206" !== + "19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion$jscomp$inline_1783 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1783, - "19.0.0-experimental-7283a213-20241206" + "19.0.0-experimental-372ec00c-20241209" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16411,11 +16411,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2225 = { bundleType: 0, - version: "19.0.0-experimental-7283a213-20241206", + version: "19.0.0-experimental-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-7283a213-20241206" + reconcilerVersion: "19.0.0-experimental-372ec00c-20241209" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2226 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16680,7 +16680,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index e28dc62426401..28e492d8c272d 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -9295,5 +9295,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js index d04c19bb94c91..47b51cb2f4593 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js @@ -6060,4 +6060,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js index 7ab77fa01dd36..51fc39416f12d 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js @@ -9295,5 +9295,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js index 9602f1e00b640..678043ff1ca09 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js @@ -6152,4 +6152,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js index c6525dc86dfb0..25952d3d6e6ce 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js @@ -8193,11 +8193,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -9977,5 +9977,5 @@ startWork(request); }); }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js index 143283ea51d41..eaeb4a352a0ac 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js @@ -6589,12 +6589,12 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.0.0-experimental-7283a213-20241206" + "19.0.0-experimental-372ec00c-20241209" ) ); } @@ -6849,4 +6849,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) { startWork(request); }); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js index b86acb4a9d640..344f5d8ce3006 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js @@ -6071,13 +6071,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } var isomorphicReactPackageVersion$jscomp$inline_779 = React.version; if ( - "19.0.0-experimental-7283a213-20241206" !== + "19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion$jscomp$inline_779 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_779 + - "\n - react-dom: 19.0.0-experimental-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6168,4 +6168,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js index 05c2437eb07b2..2bea02fc1edfb 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js @@ -8216,11 +8216,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -10007,5 +10007,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js index be9b31778bd1a..fa4fc38e01e4a 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js @@ -6696,11 +6696,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6965,4 +6965,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js index d865e03b333d8..fc610bf6cc17c 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js @@ -8080,11 +8080,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -9857,5 +9857,5 @@ } }; }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js index d5553d98e6cd6..83870f979e974 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js @@ -6575,11 +6575,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6830,4 +6830,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) { } }; }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js index f81d32745597b..cbc0db0d95ab8 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js @@ -25625,11 +25625,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25666,11 +25666,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-7283a213-20241206", + version: "19.0.0-experimental-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-7283a213-20241206" + reconcilerVersion: "19.0.0-experimental-372ec00c-20241209" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25978,5 +25978,5 @@ } }; }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js index 07659116fca9b..81fde949f8bc5 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js @@ -15593,14 +15593,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1705 = React.version; if ( - "19.0.0-experimental-7283a213-20241206" !== + "19.0.0-experimental-372ec00c-20241209" !== isomorphicReactPackageVersion$jscomp$inline_1705 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1705, - "19.0.0-experimental-7283a213-20241206" + "19.0.0-experimental-372ec00c-20241209" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15622,11 +15622,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2180 = { bundleType: 0, - version: "19.0.0-experimental-7283a213-20241206", + version: "19.0.0-experimental-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-7283a213-20241206" + reconcilerVersion: "19.0.0-experimental-372ec00c-20241209" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2181 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15881,4 +15881,4 @@ exports.observeVisibleRects = function ( } }; }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js index 877f783fc8d2f..7ead6077992ee 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js index 414419b985be5..69a307a6e98c7 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js index db2dcbe181cbf..6ff8769363b15 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js index 90928b0b2b1f1..d7a5604dd499b 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom-experimental/package.json b/packages/next/src/compiled/react-dom-experimental/package.json index 02dc9e964d578..ee27e30bded80 100644 --- a/packages/next/src/compiled/react-dom-experimental/package.json +++ b/packages/next/src/compiled/react-dom-experimental/package.json @@ -72,10 +72,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.0.0-experimental-7283a213-20241206" + "scheduler": "0.0.0-experimental-372ec00c-20241209" }, "peerDependencies": { - "react": "0.0.0-experimental-7283a213-20241206" + "react": "0.0.0-experimental-372ec00c-20241209" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js index feb16d93c4b91..259166540dc79 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js @@ -24575,11 +24575,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24616,11 +24616,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-rc-7283a213-20241206", + version: "19.0.0-rc-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-7283a213-20241206" + reconcilerVersion: "19.0.0-rc-372ec00c-20241209" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24764,7 +24764,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js index 4266a52a46d72..9489ca4d7869c 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js @@ -15102,14 +15102,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1683 = React.version; if ( - "19.0.0-rc-7283a213-20241206" !== + "19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion$jscomp$inline_1683 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1683, - "19.0.0-rc-7283a213-20241206" + "19.0.0-rc-372ec00c-20241209" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15131,11 +15131,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2159 = { bundleType: 0, - version: "19.0.0-rc-7283a213-20241206", + version: "19.0.0-rc-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-7283a213-20241206" + reconcilerVersion: "19.0.0-rc-372ec00c-20241209" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2160 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15239,4 +15239,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js index 46cb76b533391..fa2bdbe76f489 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js @@ -24632,11 +24632,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24673,11 +24673,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-rc-7283a213-20241206", + version: "19.0.0-rc-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-7283a213-20241206" + reconcilerVersion: "19.0.0-rc-372ec00c-20241209" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25151,7 +25151,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js index 079da0fb7e681..e226606e318ab 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js @@ -15752,14 +15752,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1774 = React.version; if ( - "19.0.0-rc-7283a213-20241206" !== + "19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion$jscomp$inline_1774 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1774, - "19.0.0-rc-7283a213-20241206" + "19.0.0-rc-372ec00c-20241209" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15781,11 +15781,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1781 = { bundleType: 0, - version: "19.0.0-rc-7283a213-20241206", + version: "19.0.0-rc-372ec00c-20241209", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-7283a213-20241206", + reconcilerVersion: "19.0.0-rc-372ec00c-20241209", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$279 = 0; @@ -16065,7 +16065,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js index dab6bfa85f046..27ce947482607 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js @@ -8570,5 +8570,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js index fcb31bf6e560e..6d55af3946165 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js @@ -5623,4 +5623,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js index b26e780eed493..5d0f5c851aacd 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js @@ -8570,5 +8570,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js index 5879c05f8ab99..4e91e740c19a2 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js @@ -5701,4 +5701,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js index 40411d9df4cbf..248eb01216c7d 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js @@ -7296,11 +7296,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react"), @@ -8952,5 +8952,5 @@ startWork(request); }); }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js index a9c138372b34b..0913d86e6aac8 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js @@ -5956,12 +5956,12 @@ function abort(request, reason) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.0.0-rc-7283a213-20241206" + "19.0.0-rc-372ec00c-20241209" ) ); } @@ -6108,4 +6108,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js index 194b665dfe999..aec6d05b7be51 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js @@ -5594,13 +5594,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_731 = React.version; if ( - "19.0.0-rc-7283a213-20241206" !== + "19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion$jscomp$inline_731 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_731 + - "\n - react-dom: 19.0.0-rc-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -5691,4 +5691,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js index d8af0e152a14e..e1a4d0d90ee72 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js @@ -7319,11 +7319,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react"), @@ -8982,5 +8982,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js index c236e18b1fb97..9691c6af330d7 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js @@ -6049,11 +6049,11 @@ function abort(request, reason) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6210,4 +6210,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js index ce98976fa467d..f560917e475de 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js @@ -7194,11 +7194,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -8845,5 +8845,5 @@ } }; }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js index afb60159da3fb..7fadd8f3a2428 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js @@ -5941,11 +5941,11 @@ function abort(request, reason) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-7283a213-20241206" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-372ec00c-20241209" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-7283a213-20241206\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-372ec00c-20241209\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6094,4 +6094,4 @@ exports.renderToPipeableStream = function (children, options) { } }; }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js index 2f645e745540d..b2a5f7175459f 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js index f0c724e6759ce..87fe80386989d 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js index f5daf41bedabf..153a66d522d66 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js index 8ba7ccc149b93..2622453c7d7c2 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-dom/package.json b/packages/next/src/compiled/react-dom/package.json index ef6d1e3d8c160..04caf24e30e6b 100644 --- a/packages/next/src/compiled/react-dom/package.json +++ b/packages/next/src/compiled/react-dom/package.json @@ -67,10 +67,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.25.0-rc-7283a213-20241206" + "scheduler": "0.25.0-rc-372ec00c-20241209" }, "peerDependencies": { - "react": "19.0.0-rc-7283a213-20241206" + "react": "19.0.0-rc-372ec00c-20241209" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-experimental/cjs/react.development.js b/packages/next/src/compiled/react-experimental/cjs/react.development.js index aca82b81c0d27..deaf9963b68c9 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.development.js @@ -1244,7 +1244,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-experimental/cjs/react.production.js b/packages/next/src/compiled/react-experimental/cjs/react.production.js index 35361c7726f9c..869124c411175 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.production.js @@ -567,4 +567,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js index 8232ce13cc926..0e2b4f3db0fb6 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js @@ -984,5 +984,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.0.0-experimental-7283a213-20241206"; + exports.version = "19.0.0-experimental-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js index 8bd6cddec61a9..44c1e8fb59e8a 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js @@ -566,4 +566,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.0.0-experimental-7283a213-20241206"; +exports.version = "19.0.0-experimental-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react-is/package.json b/packages/next/src/compiled/react-is/package.json index 5731832680404..65ec61524f0c7 100644 --- a/packages/next/src/compiled/react-is/package.json +++ b/packages/next/src/compiled/react-is/package.json @@ -1,6 +1,6 @@ { "name": "react-is", - "version": "19.0.0-rc-7283a213-20241206", + "version": "19.0.0-rc-372ec00c-20241209", "description": "Brand checking of React Elements.", "main": "index.js", "sideEffects": false, diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js index 608ae49cb389b..4123ea34ea568 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js @@ -2023,15 +2023,17 @@ initializeFakeStack(response, debugInfo.owner)); } function resolveDebugInfo(response, id, debugInfo) { - initializeFakeTask( - response, - debugInfo, - void 0 === debugInfo.env ? response._rootEnvironmentName : debugInfo.env - ); + var env = + void 0 === debugInfo.env + ? response._rootEnvironmentName + : debugInfo.env; + void 0 !== debugInfo.stack && + initializeFakeTask(response, debugInfo, env); null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } @@ -2654,10 +2656,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-experimental-7283a213-20241206", + version: "19.0.0-experimental-372ec00c-20241209", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-experimental-7283a213-20241206", + reconcilerVersion: "19.0.0-experimental-372ec00c-20241209", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js index 60cb6037c0808..51db489021de9 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js @@ -2242,15 +2242,17 @@ initializeFakeStack(response, debugInfo.owner)); } function resolveDebugInfo(response, id, debugInfo) { - initializeFakeTask( - response, - debugInfo, - void 0 === debugInfo.env ? response._rootEnvironmentName : debugInfo.env - ); + var env = + void 0 === debugInfo.env + ? response._rootEnvironmentName + : debugInfo.env; + void 0 !== debugInfo.stack && + initializeFakeTask(response, debugInfo, env); null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js index d21327491a6c9..7f6961320fb1c 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js @@ -2242,15 +2242,17 @@ initializeFakeStack(response, debugInfo.owner)); } function resolveDebugInfo(response, id, debugInfo) { - initializeFakeTask( - response, - debugInfo, - void 0 === debugInfo.env ? response._rootEnvironmentName : debugInfo.env - ); + var env = + void 0 === debugInfo.env + ? response._rootEnvironmentName + : debugInfo.env; + void 0 !== debugInfo.stack && + initializeFakeTask(response, debugInfo, env); null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js index 97549ed3df36e..8a1fb5f97079d 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js @@ -293,14 +293,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -1034,6 +1026,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent( request, task, @@ -1071,7 +1128,9 @@ 2 === validated && warnForMissingKey(request, key, componentDebugInfo, task.debugTask); } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = task.debugTask ? task.debugTask.run( callComponentInDEV.bind(null, Component, props, componentDebugInfo) @@ -1086,74 +1145,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - validated = props; - validated.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === validated.status) return validated.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - validated = task.keyPath; - prevThenableState = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + validated = task.implicitSlot; null !== key - ? (task.keyPath = null === validated ? key : validated + "," + key) - : null === validated && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = validated; - task.implicitSlot = prevThenableState; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = validated; + return request; } function warnForMissingKey(request, key, componentDebugInfo, debugTask) { function logKeyError() { diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js index 350a8b86827f7..490a5fb1b8733 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js @@ -1058,63 +1058,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$11 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$11[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js index d303ba5d34a39..bba3cb82f81c6 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js @@ -295,14 +295,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -1049,6 +1041,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent( request, task, @@ -1086,7 +1143,9 @@ 2 === validated && warnForMissingKey(request, key, componentDebugInfo, task.debugTask); } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = supportsComponentStorage ? task.debugTask ? task.debugTask.run( @@ -1125,74 +1184,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - validated = props; - validated.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === validated.status) return validated.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - validated = task.keyPath; - prevThenableState = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + validated = task.implicitSlot; null !== key - ? (task.keyPath = null === validated ? key : validated + "," + key) - : null === validated && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = validated; - task.implicitSlot = prevThenableState; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = validated; + return request; } function warnForMissingKey(request, key, componentDebugInfo, debugTask) { function logKeyError() { diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js index 2b5ae9f7f5a81..f74c88b0043de 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js @@ -1063,63 +1063,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$11 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$11[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js index 24fd5530b6255..710043d4a5720 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js @@ -322,14 +322,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -1069,6 +1061,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent( request, task, @@ -1106,7 +1163,9 @@ 2 === validated && warnForMissingKey(request, key, componentDebugInfo, task.debugTask); } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = task.debugTask ? task.debugTask.run( componentStorage.run.bind( @@ -1134,74 +1193,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - validated = props; - validated.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === validated.status) return validated.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - validated = task.keyPath; - prevThenableState = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + validated = task.implicitSlot; null !== key - ? (task.keyPath = null === validated ? key : validated + "," + key) - : null === validated && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = validated; - task.implicitSlot = prevThenableState; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = validated; + return request; } function warnForMissingKey(request, key, componentDebugInfo, debugTask) { function logKeyError() { @@ -4207,12 +4213,12 @@ "React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it." ); pendingFiles++; - var JSCompiler_object_inline_chunks_146 = []; + var JSCompiler_object_inline_chunks_149 = []; value.on("data", function (chunk) { - JSCompiler_object_inline_chunks_146.push(chunk); + JSCompiler_object_inline_chunks_149.push(chunk); }); value.on("end", function () { - var blob = new Blob(JSCompiler_object_inline_chunks_146, { + var blob = new Blob(JSCompiler_object_inline_chunks_149, { type: mimeType }); response._formData.append(name, blob, filename); diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js index a61a031085a95..13a361fea8407 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js @@ -1079,63 +1079,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$11 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$11[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json index b0931a14962c0..e257de4c2167c 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "0.0.0-experimental-7283a213-20241206", - "react-dom": "0.0.0-experimental-7283a213-20241206" + "react": "0.0.0-experimental-372ec00c-20241209", + "react-dom": "0.0.0-experimental-372ec00c-20241209" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js index 699edc869316e..21508c452a907 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js @@ -1936,7 +1936,8 @@ null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } @@ -2450,10 +2451,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-rc-7283a213-20241206", + version: "19.0.0-rc-372ec00c-20241209", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-rc-7283a213-20241206", + reconcilerVersion: "19.0.0-rc-372ec00c-20241209", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js index c6e0a4250fd92..d5250a256298e 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js @@ -2149,7 +2149,8 @@ null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js index 4e66b4f4e236c..7bdc29e6da91e 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js @@ -2149,7 +2149,8 @@ null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js index 954bb27845f58..87a2d4ca0600b 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js @@ -293,14 +293,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -903,6 +895,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; @@ -925,7 +982,9 @@ emitDebugChunk(request, componentDebugID, componentDebugInfo); task.environmentName = componentEnv; } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = callComponentInDEV(Component, props, componentDebugInfo); if (request.status === ABORTING) throw ( @@ -936,76 +995,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - prevThenableState = props; - prevThenableState.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === prevThenableState.status) - return prevThenableState.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - prevThenableState = task.keyPath; - componentDebugID = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = - null === prevThenableState ? key : prevThenableState + "," + key) - : null === prevThenableState && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = prevThenableState; - task.implicitSlot = componentDebugID; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = prevThenableState; + return request; } function renderFragment(request, task, children) { for (var i = 0; i < children.length; i++) { diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js index 3b974caa0c0e1..e078a74e7ef11 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js @@ -993,63 +993,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$10 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$10[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js index 6a118c2765cb1..01ef7ad054cec 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js @@ -295,14 +295,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -918,6 +910,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; @@ -940,7 +997,9 @@ emitDebugChunk(request, componentDebugID, componentDebugInfo); task.environmentName = componentEnv; } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = supportsComponentStorage ? componentStorage.run( componentDebugInfo, @@ -959,76 +1018,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - prevThenableState = props; - prevThenableState.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === prevThenableState.status) - return prevThenableState.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - prevThenableState = task.keyPath; - componentDebugID = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = - null === prevThenableState ? key : prevThenableState + "," + key) - : null === prevThenableState && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = prevThenableState; - task.implicitSlot = componentDebugID; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = prevThenableState; + return request; } function renderFragment(request, task, children) { for (var i = 0; i < children.length; i++) { diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js index 70bd5f2333cdb..24177f2935bc0 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js @@ -998,63 +998,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$10 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$10[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js index 86d2f7eae6804..6dbc078b2bf71 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js @@ -322,14 +322,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -938,6 +930,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; @@ -960,7 +1017,9 @@ emitDebugChunk(request, componentDebugID, componentDebugInfo); task.environmentName = componentEnv; } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = componentStorage.run( componentDebugInfo, callComponentInDEV, @@ -977,76 +1036,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - prevThenableState = props; - prevThenableState.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === prevThenableState.status) - return prevThenableState.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - prevThenableState = task.keyPath; - componentDebugID = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = - null === prevThenableState ? key : prevThenableState + "," + key) - : null === prevThenableState && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = prevThenableState; - task.implicitSlot = componentDebugID; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = prevThenableState; + return request; } function renderFragment(request, task, children) { for (var i = 0; i < children.length; i++) { @@ -3754,12 +3758,12 @@ "React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it." ); pendingFiles++; - var JSCompiler_object_inline_chunks_140 = []; + var JSCompiler_object_inline_chunks_143 = []; value.on("data", function (chunk) { - JSCompiler_object_inline_chunks_140.push(chunk); + JSCompiler_object_inline_chunks_143.push(chunk); }); value.on("end", function () { - var blob = new Blob(JSCompiler_object_inline_chunks_140, { + var blob = new Blob(JSCompiler_object_inline_chunks_143, { type: mimeType }); response._formData.append(name, blob, filename); diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js index 47099e7909433..f1d4e3fb5adf1 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js @@ -1013,63 +1013,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$10 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$10[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/package.json b/packages/next/src/compiled/react-server-dom-turbopack/package.json index 18c9a7b991d39..08bdfec49391e 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "19.0.0-rc-7283a213-20241206", - "react-dom": "19.0.0-rc-7283a213-20241206" + "react": "19.0.0-rc-372ec00c-20241209", + "react-dom": "19.0.0-rc-372ec00c-20241209" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js index 21da6d59188f1..5964d5cacaee9 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js @@ -2030,15 +2030,17 @@ initializeFakeStack(response, debugInfo.owner)); } function resolveDebugInfo(response, id, debugInfo) { - initializeFakeTask( - response, - debugInfo, - void 0 === debugInfo.env ? response._rootEnvironmentName : debugInfo.env - ); + var env = + void 0 === debugInfo.env + ? response._rootEnvironmentName + : debugInfo.env; + void 0 !== debugInfo.stack && + initializeFakeTask(response, debugInfo, env); null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } @@ -2669,10 +2671,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-experimental-7283a213-20241206", + version: "19.0.0-experimental-372ec00c-20241209", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-experimental-7283a213-20241206", + reconcilerVersion: "19.0.0-experimental-372ec00c-20241209", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js index 2be6459ca729e..a75b21a4a1d99 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js @@ -2245,15 +2245,17 @@ initializeFakeStack(response, debugInfo.owner)); } function resolveDebugInfo(response, id, debugInfo) { - initializeFakeTask( - response, - debugInfo, - void 0 === debugInfo.env ? response._rootEnvironmentName : debugInfo.env - ); + var env = + void 0 === debugInfo.env + ? response._rootEnvironmentName + : debugInfo.env; + void 0 !== debugInfo.stack && + initializeFakeTask(response, debugInfo, env); null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js index cab7fd2e57157..9d6712d187bc3 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js @@ -2245,15 +2245,17 @@ initializeFakeStack(response, debugInfo.owner)); } function resolveDebugInfo(response, id, debugInfo) { - initializeFakeTask( - response, - debugInfo, - void 0 === debugInfo.env ? response._rootEnvironmentName : debugInfo.env - ); + var env = + void 0 === debugInfo.env + ? response._rootEnvironmentName + : debugInfo.env; + void 0 !== debugInfo.stack && + initializeFakeTask(response, debugInfo, env); null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js index a1d6011f081b4..94a2ec58d1746 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js @@ -2207,15 +2207,17 @@ initializeFakeStack(response, debugInfo.owner)); } function resolveDebugInfo(response, id, debugInfo) { - initializeFakeTask( - response, - debugInfo, - void 0 === debugInfo.env ? response._rootEnvironmentName : debugInfo.env - ); + var env = + void 0 === debugInfo.env + ? response._rootEnvironmentName + : debugInfo.env; + void 0 !== debugInfo.stack && + initializeFakeTask(response, debugInfo, env); null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js index f0c4c55288ad7..e7aaab9b55b2c 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js @@ -293,14 +293,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -1034,6 +1026,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent( request, task, @@ -1071,7 +1128,9 @@ 2 === validated && warnForMissingKey(request, key, componentDebugInfo, task.debugTask); } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = task.debugTask ? task.debugTask.run( callComponentInDEV.bind(null, Component, props, componentDebugInfo) @@ -1086,74 +1145,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - validated = props; - validated.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === validated.status) return validated.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - validated = task.keyPath; - prevThenableState = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + validated = task.implicitSlot; null !== key - ? (task.keyPath = null === validated ? key : validated + "," + key) - : null === validated && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = validated; - task.implicitSlot = prevThenableState; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = validated; + return request; } function warnForMissingKey(request, key, componentDebugInfo, debugTask) { function logKeyError() { diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js index cae9573c05f4c..b534d491bb617 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js @@ -1058,63 +1058,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$11 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$11[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js index c4c59096bb9b3..ee4b58b2881a1 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js @@ -295,14 +295,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -1049,6 +1041,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent( request, task, @@ -1086,7 +1143,9 @@ 2 === validated && warnForMissingKey(request, key, componentDebugInfo, task.debugTask); } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = supportsComponentStorage ? task.debugTask ? task.debugTask.run( @@ -1125,74 +1184,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - validated = props; - validated.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === validated.status) return validated.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - validated = task.keyPath; - prevThenableState = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + validated = task.implicitSlot; null !== key - ? (task.keyPath = null === validated ? key : validated + "," + key) - : null === validated && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = validated; - task.implicitSlot = prevThenableState; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = validated; + return request; } function warnForMissingKey(request, key, componentDebugInfo, debugTask) { function logKeyError() { diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js index af9903ece3e85..454c971a48f8c 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js @@ -1063,63 +1063,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$11 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$11[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js index be700eac35ed5..365826343cc51 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js @@ -322,14 +322,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -1069,6 +1061,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent( request, task, @@ -1106,7 +1163,9 @@ 2 === validated && warnForMissingKey(request, key, componentDebugInfo, task.debugTask); } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = task.debugTask ? task.debugTask.run( componentStorage.run.bind( @@ -1134,74 +1193,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - validated = props; - validated.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === validated.status) return validated.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - validated = task.keyPath; - prevThenableState = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + validated = task.implicitSlot; null !== key - ? (task.keyPath = null === validated ? key : validated + "," + key) - : null === validated && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = validated; - task.implicitSlot = prevThenableState; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = validated; + return request; } function warnForMissingKey(request, key, componentDebugInfo, debugTask) { function logKeyError() { @@ -4210,12 +4216,12 @@ "React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it." ); pendingFiles++; - var JSCompiler_object_inline_chunks_146 = []; + var JSCompiler_object_inline_chunks_149 = []; value.on("data", function (chunk) { - JSCompiler_object_inline_chunks_146.push(chunk); + JSCompiler_object_inline_chunks_149.push(chunk); }); value.on("end", function () { - var blob = new Blob(JSCompiler_object_inline_chunks_146, { + var blob = new Blob(JSCompiler_object_inline_chunks_149, { type: mimeType }); response._formData.append(name, blob, filename); diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js index 4bd5a9fba255e..5b436071434b1 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js @@ -1079,63 +1079,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$11 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$11[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js index 8efa31fbfdb04..4235169bf690d 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js @@ -322,14 +322,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -1069,6 +1061,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent( request, task, @@ -1106,7 +1163,9 @@ 2 === validated && warnForMissingKey(request, key, componentDebugInfo, task.debugTask); } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = task.debugTask ? task.debugTask.run( componentStorage.run.bind( @@ -1134,74 +1193,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - validated = props; - validated.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === validated.status) return validated.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - validated = task.keyPath; - prevThenableState = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + validated = task.implicitSlot; null !== key - ? (task.keyPath = null === validated ? key : validated + "," + key) - : null === validated && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = validated; - task.implicitSlot = prevThenableState; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = validated; + return request; } function warnForMissingKey(request, key, componentDebugInfo, debugTask) { function logKeyError() { @@ -4173,12 +4179,12 @@ "React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it." ); pendingFiles++; - var JSCompiler_object_inline_chunks_146 = []; + var JSCompiler_object_inline_chunks_149 = []; value.on("data", function (chunk) { - JSCompiler_object_inline_chunks_146.push(chunk); + JSCompiler_object_inline_chunks_149.push(chunk); }); value.on("end", function () { - var blob = new Blob(JSCompiler_object_inline_chunks_146, { + var blob = new Blob(JSCompiler_object_inline_chunks_149, { type: mimeType }); response._formData.append(name, blob, filename); diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js index a0fbe07a705c3..473fb2b4a9398 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js @@ -1079,63 +1079,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$11 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$11[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json index a98f9cc6f41ed..be05764d5cbc2 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "0.0.0-experimental-7283a213-20241206", - "react-dom": "0.0.0-experimental-7283a213-20241206", + "react": "0.0.0-experimental-372ec00c-20241209", + "react-dom": "0.0.0-experimental-372ec00c-20241209", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js index 00858c952d25c..4a0a3a4ee135f 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js @@ -1943,7 +1943,8 @@ null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } @@ -2465,10 +2466,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-rc-7283a213-20241206", + version: "19.0.0-rc-372ec00c-20241209", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-rc-7283a213-20241206", + reconcilerVersion: "19.0.0-rc-372ec00c-20241209", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js index f87ad308a69ac..d7d0c04653849 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js @@ -2152,7 +2152,8 @@ null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js index 255ac2b8e871d..a37bcf88ab7be 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js @@ -2152,7 +2152,8 @@ null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js index 1994a5bdd891f..792baa0385ff3 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js @@ -2114,7 +2114,8 @@ null === debugInfo.owner && null != response._debugRootOwner ? ((debugInfo.owner = response._debugRootOwner), (debugInfo.debugStack = response._debugRootStack)) - : initializeFakeStack(response, debugInfo); + : void 0 !== debugInfo.stack && + initializeFakeStack(response, debugInfo); response = getChunk(response, id); (response._debugInfo || (response._debugInfo = [])).push(debugInfo); } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js index ca4a687b22d86..22e91d5e8b066 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js @@ -293,14 +293,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -903,6 +895,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; @@ -925,7 +982,9 @@ emitDebugChunk(request, componentDebugID, componentDebugInfo); task.environmentName = componentEnv; } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = callComponentInDEV(Component, props, componentDebugInfo); if (request.status === ABORTING) throw ( @@ -936,76 +995,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - prevThenableState = props; - prevThenableState.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === prevThenableState.status) - return prevThenableState.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - prevThenableState = task.keyPath; - componentDebugID = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = - null === prevThenableState ? key : prevThenableState + "," + key) - : null === prevThenableState && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = prevThenableState; - task.implicitSlot = componentDebugID; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = prevThenableState; + return request; } function renderFragment(request, task, children) { for (var i = 0; i < children.length; i++) { diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js index d6f8f4eb897de..ac3c7750ec7aa 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js @@ -993,63 +993,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$10 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$10[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js index 327d68f92cb75..10a08a1543170 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js @@ -295,14 +295,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -918,6 +910,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; @@ -940,7 +997,9 @@ emitDebugChunk(request, componentDebugID, componentDebugInfo); task.environmentName = componentEnv; } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = supportsComponentStorage ? componentStorage.run( componentDebugInfo, @@ -959,76 +1018,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - prevThenableState = props; - prevThenableState.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === prevThenableState.status) - return prevThenableState.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - prevThenableState = task.keyPath; - componentDebugID = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = - null === prevThenableState ? key : prevThenableState + "," + key) - : null === prevThenableState && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = prevThenableState; - task.implicitSlot = componentDebugID; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = prevThenableState; + return request; } function renderFragment(request, task, children) { for (var i = 0; i < children.length; i++) { diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js index ea96d8fed58d1..8d2acd0301f43 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js @@ -998,63 +998,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$10 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$10[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js index 3a99b36a06fa2..ec8bff46b9d47 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js @@ -322,14 +322,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -938,6 +930,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; @@ -960,7 +1017,9 @@ emitDebugChunk(request, componentDebugID, componentDebugInfo); task.environmentName = componentEnv; } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = componentStorage.run( componentDebugInfo, callComponentInDEV, @@ -977,76 +1036,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - prevThenableState = props; - prevThenableState.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === prevThenableState.status) - return prevThenableState.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - prevThenableState = task.keyPath; - componentDebugID = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = - null === prevThenableState ? key : prevThenableState + "," + key) - : null === prevThenableState && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = prevThenableState; - task.implicitSlot = componentDebugID; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = prevThenableState; + return request; } function renderFragment(request, task, children) { for (var i = 0; i < children.length; i++) { @@ -3757,12 +3761,12 @@ "React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it." ); pendingFiles++; - var JSCompiler_object_inline_chunks_140 = []; + var JSCompiler_object_inline_chunks_143 = []; value.on("data", function (chunk) { - JSCompiler_object_inline_chunks_140.push(chunk); + JSCompiler_object_inline_chunks_143.push(chunk); }); value.on("end", function () { - var blob = new Blob(JSCompiler_object_inline_chunks_140, { + var blob = new Blob(JSCompiler_object_inline_chunks_143, { type: mimeType }); response._formData.append(name, blob, filename); diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js index 852cdf5d8359e..bd11afd8badd4 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js @@ -1013,63 +1013,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$10 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$10[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js index f418fdacd19ba..10d796bde5b1a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js @@ -322,14 +322,6 @@ suspendedThenable = null; return thenable; } - function prepareToUseHooksForComponent( - prevThenableState, - componentDebugInfo - ) { - thenableIndexCounter = 0; - thenableState = prevThenableState; - currentComponentDebugInfo = componentDebugInfo; - } function getThenableStateAfterSuspending() { var state = thenableState || []; state._componentDebugInfo = currentComponentDebugInfo; @@ -938,6 +930,71 @@ currentOwner = null; } } + function processServerComponentReturnValue( + request, + task, + Component, + result + ) { + if ( + "object" !== typeof result || + null === result || + isClientReference(result) + ) + return result; + if ("function" === typeof result.then) + return ( + result.then(function (resolvedValue) { + "object" === typeof resolvedValue && + null !== resolvedValue && + resolvedValue.$$typeof === REACT_ELEMENT_TYPE && + (resolvedValue._store.validated = 1); + }, voidHandler), + "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result) + ); + result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1); + var iteratorFn = getIteratorFn(result); + if (iteratorFn) { + var multiShot = _defineProperty({}, Symbol.iterator, function () { + var iterator = iteratorFn.call(result); + iterator !== result || + ("[object GeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object Generator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + }); + multiShot._debugInfo = result._debugInfo; + return multiShot; + } + return "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((multiShot = _defineProperty({}, ASYNC_ITERATOR, function () { + var iterator = result[ASYNC_ITERATOR](); + iterator !== result || + ("[object AsyncGeneratorFunction]" === + Object.prototype.toString.call(Component) && + "[object AsyncGenerator]" === + Object.prototype.toString.call(result)) || + callWithDebugContextInDEV(request, task, function () { + console.error( + "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " + ); + }); + return iterator; + })), + (multiShot._debugInfo = result._debugInfo), + multiShot); + } function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; @@ -960,7 +1017,9 @@ emitDebugChunk(request, componentDebugID, componentDebugInfo); task.environmentName = componentEnv; } - prepareToUseHooksForComponent(prevThenableState, componentDebugInfo); + thenableIndexCounter = 0; + thenableState = prevThenableState; + currentComponentDebugInfo = componentDebugInfo; props = componentStorage.run( componentDebugInfo, callComponentInDEV, @@ -977,76 +1036,21 @@ props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof props && - null !== props && - !isClientReference(props) - ) { - if ("function" === typeof props.then) { - prevThenableState = props; - prevThenableState.then(function (resolvedValue) { - "object" === typeof resolvedValue && - null !== resolvedValue && - resolvedValue.$$typeof === REACT_ELEMENT_TYPE && - (resolvedValue._store.validated = 1); - }, voidHandler); - if ("fulfilled" === prevThenableState.status) - return prevThenableState.value; - props = createLazyWrapperAroundWakeable(props); - } - var iteratorFn = getIteratorFn(props); - if (iteratorFn) { - var iterableChild = props; - props = _defineProperty({}, Symbol.iterator, function () { - var iterator = iteratorFn.call(iterableChild); - iterator !== iterableChild || - ("[object GeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object Generator]" === - Object.prototype.toString.call(iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = iterableChild._debugInfo; - } else if ( - "function" !== typeof props[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - props instanceof ReadableStream) - ) - props.$$typeof === REACT_ELEMENT_TYPE && (props._store.validated = 1); - else { - var _iterableChild = props; - props = _defineProperty({}, ASYNC_ITERATOR, function () { - var iterator = _iterableChild[ASYNC_ITERATOR](); - iterator !== _iterableChild || - ("[object AsyncGeneratorFunction]" === - Object.prototype.toString.call(Component) && - "[object AsyncGenerator]" === - Object.prototype.toString.call(_iterableChild)) || - callWithDebugContextInDEV(request, task, function () { - console.error( - "Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. " - ); - }); - return iterator; - }); - props._debugInfo = _iterableChild._debugInfo; - } - } - prevThenableState = task.keyPath; - componentDebugID = task.implicitSlot; + props = processServerComponentReturnValue( + request, + task, + Component, + props + ); + Component = task.keyPath; + prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = - null === prevThenableState ? key : prevThenableState + "," + key) - : null === prevThenableState && (task.implicitSlot = !0); - key = renderModelDestructive(request, task, emptyRoot, "", props); - task.keyPath = prevThenableState; - task.implicitSlot = componentDebugID; - return key; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; + task.implicitSlot = prevThenableState; + return request; } function renderFragment(request, task, children) { for (var i = 0; i < children.length; i++) { @@ -3720,12 +3724,12 @@ "React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it." ); pendingFiles++; - var JSCompiler_object_inline_chunks_140 = []; + var JSCompiler_object_inline_chunks_143 = []; value.on("data", function (chunk) { - JSCompiler_object_inline_chunks_140.push(chunk); + JSCompiler_object_inline_chunks_143.push(chunk); }); value.on("end", function () { - var blob = new Blob(JSCompiler_object_inline_chunks_140, { + var blob = new Blob(JSCompiler_object_inline_chunks_143, { type: mimeType }); response._formData.append(name, blob, filename); diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js index 0fb8fee8366de..a7c2a652a175b 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js @@ -1013,63 +1013,57 @@ function createLazyWrapperAroundWakeable(wakeable) { return { $$typeof: REACT_LAZY_TYPE, _payload: wakeable, _init: readThenable }; } function voidHandler() {} +function processServerComponentReturnValue(request, task, Component, result) { + if ( + "object" !== typeof result || + null === result || + result.$$typeof === CLIENT_REFERENCE_TAG$1 + ) + return result; + if ("function" === typeof result.then) + return "fulfilled" === result.status + ? result.value + : createLazyWrapperAroundWakeable(result); + var iteratorFn = getIteratorFn(result); + return iteratorFn + ? ((request = {}), + (request[Symbol.iterator] = function () { + return iteratorFn.call(result); + }), + request) + : "function" !== typeof result[ASYNC_ITERATOR] || + ("function" === typeof ReadableStream && + result instanceof ReadableStream) + ? result + : ((request = {}), + (request[ASYNC_ITERATOR] = function () { + return result[ASYNC_ITERATOR](); + }), + request); +} function renderFunctionComponent(request, task, key, Component, props) { var prevThenableState = task.thenableState; task.thenableState = null; thenableIndexCounter = 0; thenableState = prevThenableState; - Component = Component(props, void 0); + props = Component(props, void 0); if (12 === request.status) throw ( - ("object" === typeof Component && - null !== Component && - "function" === typeof Component.then && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 && - Component.then(voidHandler, voidHandler), + ("object" === typeof props && + null !== props && + "function" === typeof props.then && + props.$$typeof !== CLIENT_REFERENCE_TAG$1 && + props.then(voidHandler, voidHandler), null) ); - if ( - "object" === typeof Component && - null !== Component && - Component.$$typeof !== CLIENT_REFERENCE_TAG$1 - ) { - if ("function" === typeof Component.then) { - props = Component; - if ("fulfilled" === props.status) return props.value; - Component = createLazyWrapperAroundWakeable(Component); - } - var iteratorFn = getIteratorFn(Component); - if (iteratorFn) { - var iterableChild = Component; - Component = {}; - Component = - ((Component[Symbol.iterator] = function () { - return iteratorFn.call(iterableChild); - }), - Component); - } else if ( - !( - "function" !== typeof Component[ASYNC_ITERATOR] || - ("function" === typeof ReadableStream && - Component instanceof ReadableStream) - ) - ) { - var iterableChild$10 = Component; - Component = {}; - Component = - ((Component[ASYNC_ITERATOR] = function () { - return iterableChild$10[ASYNC_ITERATOR](); - }), - Component); - } - } - props = task.keyPath; + props = processServerComponentReturnValue(request, task, Component, props); + Component = task.keyPath; prevThenableState = task.implicitSlot; null !== key - ? (task.keyPath = null === props ? key : props + "," + key) - : null === props && (task.implicitSlot = !0); - request = renderModelDestructive(request, task, emptyRoot, "", Component); - task.keyPath = props; + ? (task.keyPath = null === Component ? key : Component + "," + key) + : null === Component && (task.implicitSlot = !0); + request = renderModelDestructive(request, task, emptyRoot, "", props); + task.keyPath = Component; task.implicitSlot = prevThenableState; return request; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/package.json b/packages/next/src/compiled/react-server-dom-webpack/package.json index d62fd451d1fb8..ee58a28c799f9 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "19.0.0-rc-7283a213-20241206", - "react-dom": "19.0.0-rc-7283a213-20241206", + "react": "19.0.0-rc-372ec00c-20241209", + "react-dom": "19.0.0-rc-372ec00c-20241209", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react/cjs/react.development.js b/packages/next/src/compiled/react/cjs/react.development.js index 373032cfd07bb..ab12bfd2e0100 100644 --- a/packages/next/src/compiled/react/cjs/react.development.js +++ b/packages/next/src/compiled/react/cjs/react.development.js @@ -1518,7 +1518,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react/cjs/react.production.js b/packages/next/src/compiled/react/cjs/react.production.js index fef85d27527bd..3d726a3536771 100644 --- a/packages/next/src/compiled/react/cjs/react.production.js +++ b/packages/next/src/compiled/react/cjs/react.production.js @@ -540,4 +540,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/react/cjs/react.react-server.development.js b/packages/next/src/compiled/react/cjs/react.react-server.development.js index e80f0362cbb13..7f8fa337cc040 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.development.js @@ -1110,5 +1110,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.0.0-rc-7283a213-20241206"; + exports.version = "19.0.0-rc-372ec00c-20241209"; })(); diff --git a/packages/next/src/compiled/react/cjs/react.react-server.production.js b/packages/next/src/compiled/react/cjs/react.react-server.production.js index 12ba7c78cdbff..6eb76406e4cab 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.production.js @@ -423,4 +423,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.0.0-rc-7283a213-20241206"; +exports.version = "19.0.0-rc-372ec00c-20241209"; diff --git a/packages/next/src/compiled/unistore/unistore.js b/packages/next/src/compiled/unistore/unistore.js index 2190f19d388ac..41d02f5544455 100644 --- a/packages/next/src/compiled/unistore/unistore.js +++ b/packages/next/src/compiled/unistore/unistore.js @@ -1 +1 @@ -(()=>{var t={485:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a{var t={922:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a=14.0.0'} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 '@storybook/instrumenter@8.4.7': resolution: {integrity: sha512-k6NSD3jaRCCHAFtqXZ7tw8jAzD/yTEWXGya+REgZqq5RCkmJ+9S4Ytp/6OhQMPtPFX23gAuJJzTQVLcCr+gjRg==} @@ -5079,8 +5079,8 @@ packages: resolution: {integrity: sha512-geTSBKyrBagVihil5MF7LkVFynbfHhCinvnbCZZqXW7M1vgcxvatunUENB+iV8eWg/0EJ+8O7scZL+BAxQ/2qg==} engines: {node: '>=18.0.0'} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 storybook: ^8.4.7 typescript: '*' peerDependenciesMeta: @@ -5101,16 +5101,16 @@ packages: '@storybook/react-dom-shim@8.4.7': resolution: {integrity: sha512-6bkG2jvKTmWrmVzCgwpTxwIugd7Lu+2btsLAqhQSzDyIj2/uhMNp8xIMr/NBDtLgq3nomt9gefNa9xxLwk/OMg==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 storybook: ^8.4.7 '@storybook/react-webpack5@8.4.7': resolution: {integrity: sha512-T9GLqlsP4It4El7cC8rSkBPRWvORAsTDULeWlO36RST2TrYnmBOUytsi22mk7cAAAVhhD6rTrs1YdqWRMpfa1w==} engines: {node: '>=18.0.0'} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 storybook: ^8.4.7 typescript: '>= 4.2.x' peerDependenciesMeta: @@ -5122,8 +5122,8 @@ packages: engines: {node: '>=18.0.0'} peerDependencies: '@storybook/test': 8.4.7 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 storybook: ^8.4.7 typescript: '>= 4.2.x' peerDependenciesMeta: @@ -5346,8 +5346,8 @@ packages: engines: {node: '>=18'} peerDependencies: '@types/react': 19.0.0 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: '@types/react': optional: true @@ -11088,7 +11088,7 @@ packages: lucide-react@0.383.0: resolution: {integrity: sha512-13xlG0CQCJtzjSQYwwJ3WRqMHtRj3EXmLlorrARt7y+IHnxUCp3XyFNL1DfaGySWxHObDvnu1u1dV+0VMKHUSg==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 lz-string@1.5.0: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} @@ -13505,7 +13505,7 @@ packages: resolution: {integrity: sha512-7Ypx4vz0+g8ECVxr88W9zhcQpbeujJAVqL14ZnXJ3I23mOI9/oBVTQ3dkJhUmB0D6XOtCZEM6N0Gm9PMngkORw==} engines: {node: '>=10.18'} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 react-docgen-typescript@2.2.2: resolution: {integrity: sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==} @@ -13516,23 +13516,23 @@ packages: resolution: {integrity: sha512-APPU8HB2uZnpl6Vt/+0AFoVYgSRtfiP6FLrZgPPTDmqSb2R4qZRbgd0A3VzIFxDt5e+Fozjx79WjLWnF69DK8g==} engines: {node: '>=16.14.0'} - react-dom@0.0.0-experimental-7283a213-20241206: - resolution: {integrity: sha512-w1P8sybEM3BWnXelZxeKQ2390vlVVO/yXx5LdJUPF6fSP/gJoauTFCT2co1is4L9m7J3Sn3FSn3eZr5AlIWqhg==} + react-dom@0.0.0-experimental-372ec00c-20241209: + resolution: {integrity: sha512-59YT/YTuMg1gCjwdkVgu0oBJGT5O8NSIKi+zisbHitsqA3vDP2X68vhSYr4BT1V+gUozPIDiSQgeGPbIoOB/+A==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 - react-dom@19.0.0-rc-7283a213-20241206: - resolution: {integrity: sha512-SmMSvpa+J1XfHyEX8gwBTeKh/FewFdwCTvFVPMkAIEDnZsFt+yNXSAJNSKqXvgVSFU7UL+awN9sDneffJJwr1Q==} + react-dom@19.0.0-rc-372ec00c-20241209: + resolution: {integrity: sha512-aMJkmICsHciGGy6n1uQXcxaCNh5nWgHd3l3h+HTx7fx70MS95o56W2EApsYObw/X/bUipNj2XM1i7joYIRomCw==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 react-dom@19.0.0-rc-f90a6bcc-20240827: resolution: {integrity: sha512-oUa/reDvGtjRcxi8u+GYHaDHanudaO28+G+Wvxm50CItW1xwIFN2Nn7foJxxDS9lFLGdRWZvjxldZEPAUSuXbg==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 - react-is@19.0.0-rc-7283a213-20241206: - resolution: {integrity: sha512-A4ZRE1X34Tz0QtZhWUSTlRBe03zF0Na8nCEio7Q2MmwaXEIqIlRtDUY89La25dwwCpu/1XJWplSbjvDob/7tmQ==} + react-is@19.0.0-rc-372ec00c-20241209: + resolution: {integrity: sha512-DfdXOgRIKL78PoHgeKsVVioshpx+Kfj2yoQq2rf2svqjItHlENEkKD9XKi5zsKX2LRPFk245QhZCQtaoZoM6WA==} react-is@19.0.0-rc-f90a6bcc-20240827: resolution: {integrity: sha512-1tXoLFzVbqHAQeY3CwpyF5IYbkwgSoNHhrhS8qOrfiZIh2461h/C1BP/JVIxwyL51wHhUgLsAc/M8g0OcEhV1A==} @@ -13543,8 +13543,8 @@ packages: react-number-format@5.4.0: resolution: {integrity: sha512-NWdICrqLhI7rAS8yUeLVd6Wr4cN7UjJ9IBTS0f/a9i7UB4x4Ti70kGnksBtZ7o4Z7YRbvCMMR/jQmkoOBa/4fg==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 react-refresh@0.12.0: resolution: {integrity: sha512-suLIhrU2IHKL5JEKR/fAwJv7bbeq4kJ+pJopf77jHwuR+HmJS/HbrPIGsTBUVfw7tXPOmYv7UJ7PCaN49e8x4A==} @@ -13555,7 +13555,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.0 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: '@types/react': optional: true @@ -13565,58 +13565,58 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.0 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: '@types/react': optional: true - react-server-dom-turbopack@0.0.0-experimental-7283a213-20241206: - resolution: {integrity: sha512-E0R0xI/CP1ubUkD+u7EA+JzDUO5J2hW4iPkllvppDcn8FdsjBoZCPMmsGX/vdJ7qf2lZ9BgqpaaaLbt1ACn58A==} + react-server-dom-turbopack@0.0.0-experimental-372ec00c-20241209: + resolution: {integrity: sha512-8dCijfRRGeu2n+ZFoMNFNnrIKYUbJ7RI+ZROkgvpAEldUnJoTJ5Bqo1tBm2YvNSdPyuepPUiaj5mSOjfeF7xNA==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 - react-server-dom-turbopack@19.0.0-rc-7283a213-20241206: - resolution: {integrity: sha512-yqved4QJLsyYx5UCYb+JwrtyXKQX2ffPUei9r07Q/Yvm+W5IU9oJfJwd91hoyGiteebYIw7Ks/E9Qp3KaGDRxg==} + react-server-dom-turbopack@19.0.0-rc-372ec00c-20241209: + resolution: {integrity: sha512-SYpRrJwmxge00yEUQrhqvTd7xwPHCxLvTHSDUBIT/oMeO6LuN5OdN82Sf7L3VASvlhP7GlCucIH+1K+ZW/k8OA==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 - react-server-dom-webpack@0.0.0-experimental-7283a213-20241206: - resolution: {integrity: sha512-tSLSIDHC6usnR0wW6ynr4+hqBPaytSu9hFxqIS2qnpmxHDXEH0IBNTwxwo+gVOo9uC5NlszQYZvg2MwULNaEjQ==} + react-server-dom-webpack@0.0.0-experimental-372ec00c-20241209: + resolution: {integrity: sha512-EUsNwSTeu6BgYQ7XNUyT0suLp9mLG/tjdJRuAQQp2WlW+0L/KmyzRudelohIuEcfYheFDKKHoXhjBxCVFl7Lgg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 webpack: 5.96.1 - react-server-dom-webpack@19.0.0-rc-7283a213-20241206: - resolution: {integrity: sha512-O0k1TQRI71LHt7uO15jDmzDuTlB+HkQoknJhzSNw/SbMZuNYGWk7dCvOjzdi7fshurZzQf7TIxO/MaKcn0Fo4Q==} + react-server-dom-webpack@19.0.0-rc-372ec00c-20241209: + resolution: {integrity: sha512-Gj9kXRc2LFLNbIvtxGrrKTQr7M/OuGMe6GOn869sf7JwDoeYlchem3Y41FGjJxafHsX+BFaCV5IV6/Z8qhwPtA==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 webpack: 5.96.1 react-shallow-renderer@16.15.0: resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 react-ssr-prepass@1.0.8: resolution: {integrity: sha512-O0gfRA1SaK+9ITKxqfnXsej2jF+OHGP/+GxD4unROQaM/0/UczGF9fuF+wTboxaQoKdIf4FvS3h/OigWh704VA==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-is: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-is: 19.0.0-rc-372ec00c-20241209 react-style-singleton@2.2.1: resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.0 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: '@types/react': optional: true @@ -13624,26 +13624,26 @@ packages: react-test-renderer@18.2.0: resolution: {integrity: sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 react-textarea-autosize@8.5.3: resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==} engines: {node: '>=10'} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 react-virtualized@9.22.3: resolution: {integrity: sha512-MKovKMxWTcwPSxE1kK1HcheQTWfuCxAuBoSTf2gwyMM21NdX/PXUhnoP8Uc5dRKd+nKm8v41R36OellhdCpkrw==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 - react@0.0.0-experimental-7283a213-20241206: - resolution: {integrity: sha512-t6ZYhZUTG4QehY7+tsxJetYkEhptwOpXMJy4Gd/LVeZ/mORSVaPZPltiOhuUg/NJH4+UqHqZAwq9I4GufK7VkQ==} + react@0.0.0-experimental-372ec00c-20241209: + resolution: {integrity: sha512-oLXC/mIr5Gyk38Le1XVxhqhn3E4ruh1WDkuZjqPN8HAPGVwfSw3INNttwm168I5Pv6Svw/C6k0c3hbiSbWGMNQ==} engines: {node: '>=0.10.0'} - react@19.0.0-rc-7283a213-20241206: - resolution: {integrity: sha512-Jl/WSFghvrXr58g29BOBctG+uh3qvB05O149bsYVzv1OAOWe8ADElQn0ujSHjxcWAgU5UzsCqqRauzngjd/hgw==} + react@19.0.0-rc-372ec00c-20241209: + resolution: {integrity: sha512-vXppc0EMyP5jZEb9fKfqjy1gyUIEhTbC3oNHG0ZOTUkavsw8C+4wvj1f8Tdbf0CaameiVYsYxE2TMqEyy0E0Eg==} engines: {node: '>=0.10.0'} react@19.0.0-rc-f90a6bcc-20240827: @@ -14183,11 +14183,11 @@ packages: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - scheduler@0.0.0-experimental-7283a213-20241206: - resolution: {integrity: sha512-+BceoijzR3mR0l3LXdW6IFi/xiq+2NNadK5QaxXNBW+jfq1g0xX+UZNGjNPN/aEsl4pBcySF3imH7WjDf+Mpmw==} + scheduler@0.0.0-experimental-372ec00c-20241209: + resolution: {integrity: sha512-Vyd4ydYwyOx7j+H4DrOpkgvxLE1xDUmQ6QdQn4iGPIa3ESEb5gceSpgIYze8xnHghXkGkS9jtL+cOduXdIovjA==} - scheduler@0.25.0-rc-7283a213-20241206: - resolution: {integrity: sha512-rv6fUiCpVctRLUSnlq+WKfX60AqAoVG4lVM+HuSCkaCIAolRcL0QpzeUcnsyxWfI//lzRPtAdlNwD5l6l58z3Q==} + scheduler@0.25.0-rc-372ec00c-20241209: + resolution: {integrity: sha512-4JsHeYrX9VYFN2mGzm5jusdl7Cw6ccLZntOdGRGz70Mc0oQxqkM/ZiElLMgfUuRjsFGo2frLZ5UOeJ9QPQ1ScQ==} schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} @@ -14759,8 +14759,8 @@ packages: engines: {node: '>= 16'} peerDependencies: babel-plugin-styled-components: '>= 2' - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: babel-plugin-styled-components: optional: true @@ -14774,7 +14774,7 @@ packages: peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: '@babel/core': optional: true @@ -14858,7 +14858,7 @@ packages: swr@2.2.4: resolution: {integrity: sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 symbol-observable@1.0.1: resolution: {integrity: sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==} @@ -15624,7 +15624,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.0 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: '@types/react': optional: true @@ -15632,13 +15632,13 @@ packages: use-composed-ref@1.3.0: resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 use-isomorphic-layout-effect@1.1.2: resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: '@types/react': optional: true @@ -15647,7 +15647,7 @@ packages: resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: '@types/react': optional: true @@ -15657,7 +15657,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.0 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 peerDependenciesMeta: '@types/react': optional: true @@ -15665,7 +15665,7 @@ packages: use-sync-external-store@1.2.0: resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -18218,12 +18218,12 @@ snapshots: '@capsizecss/metrics@3.4.0': {} - '@chromatic-com/storybook@3.2.2(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))': + '@chromatic-com/storybook@3.2.2(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))': dependencies: chromatic: 11.20.2 filesize: 10.1.6 jsonfile: 6.1.0 - react-confetti: 6.1.0(react@19.0.0-rc-7283a213-20241206) + react-confetti: 6.1.0(react@19.0.0-rc-372ec00c-20241209) storybook: 8.4.7(prettier@3.3.3) strip-ansi: 7.1.0 transitivePeerDependencies: @@ -18371,17 +18371,17 @@ snapshots: '@emotion/memoize@0.8.1': {} - '@emotion/react@11.11.1(@types/react@19.0.0)(react@19.0.0-rc-7283a213-20241206)': + '@emotion/react@11.11.1(@types/react@19.0.0)(react@19.0.0-rc-372ec00c-20241209)': dependencies: '@babel/runtime': 7.22.5 '@emotion/babel-plugin': 11.11.0 '@emotion/cache': 11.11.0 '@emotion/serialize': 1.1.2 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.0.0-rc-7283a213-20241206) + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.0.0-rc-372ec00c-20241209) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 hoist-non-react-statics: 3.3.2 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 optionalDependencies: '@types/react': 19.0.0 transitivePeerDependencies: @@ -18399,9 +18399,9 @@ snapshots: '@emotion/unitless@0.8.1': {} - '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-7283a213-20241206)': + '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-372ec00c-20241209)': dependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 '@emotion/utils@1.2.1': {} @@ -19843,11 +19843,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@mdx-js/react@2.2.1(react@19.0.0-rc-7283a213-20241206)': + '@mdx-js/react@2.2.1(react@19.0.0-rc-372ec00c-20241209)': dependencies: '@types/mdx': 2.0.3 '@types/react': 19.0.0 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 '@mdx-js/react@2.2.1(react@19.0.0-rc-f90a6bcc-20240827)': dependencies: @@ -19855,11 +19855,11 @@ snapshots: '@types/react': 19.0.0 react: 19.0.0-rc-f90a6bcc-20240827 - '@mdx-js/react@3.1.0(@types/react@19.0.0)(react@19.0.0-rc-7283a213-20241206)': + '@mdx-js/react@3.1.0(@types/react@19.0.0)(react@19.0.0-rc-372ec00c-20241209)': dependencies: '@types/mdx': 2.0.3 '@types/react': 19.0.0 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 '@mswjs/cookies@1.1.0': {} @@ -20429,12 +20429,12 @@ snapshots: '@storybook/addon-docs@8.4.7(@types/react@19.0.0)(storybook@8.4.7(prettier@3.3.3))': dependencies: - '@mdx-js/react': 3.1.0(@types/react@19.0.0)(react@19.0.0-rc-7283a213-20241206) - '@storybook/blocks': 8.4.7(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3)) + '@mdx-js/react': 3.1.0(@types/react@19.0.0)(react@19.0.0-rc-372ec00c-20241209) + '@storybook/blocks': 8.4.7(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3)) '@storybook/csf-plugin': 8.4.7(storybook@8.4.7(prettier@3.3.3)) - '@storybook/react-dom-shim': 8.4.7(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3)) - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + '@storybook/react-dom-shim': 8.4.7(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3)) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) storybook: 8.4.7(prettier@3.3.3) ts-dedent: 2.2.0 transitivePeerDependencies: @@ -20476,9 +20476,9 @@ snapshots: storybook: 8.4.7(prettier@3.3.3) tiny-invariant: 1.3.3 - '@storybook/addon-onboarding@8.4.7(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))': + '@storybook/addon-onboarding@8.4.7(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))': dependencies: - react-confetti: 6.1.0(react@19.0.0-rc-7283a213-20241206) + react-confetti: 6.1.0(react@19.0.0-rc-372ec00c-20241209) storybook: 8.4.7(prettier@3.3.3) transitivePeerDependencies: - react @@ -20506,15 +20506,15 @@ snapshots: - '@swc/helpers' - webpack - '@storybook/blocks@8.4.7(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))': + '@storybook/blocks@8.4.7(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))': dependencies: '@storybook/csf': 0.1.12 - '@storybook/icons': 1.3.0(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206) + '@storybook/icons': 1.3.0(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209) storybook: 8.4.7(prettier@3.3.3) ts-dedent: 2.2.0 optionalDependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) '@storybook/builder-webpack5@8.4.7(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2)': dependencies: @@ -20594,10 +20594,10 @@ snapshots: '@storybook/global@5.0.0': {} - '@storybook/icons@1.3.0(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)': + '@storybook/icons@1.3.0(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)': dependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) '@storybook/instrumenter@8.4.7(storybook@8.4.7(prettier@3.3.3))': dependencies: @@ -20609,18 +20609,18 @@ snapshots: dependencies: storybook: 8.4.7(prettier@3.3.3) - '@storybook/preset-react-webpack@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1)(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2)': + '@storybook/preset-react-webpack@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1)(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2)': dependencies: '@storybook/core-webpack': 8.4.7(storybook@8.4.7(prettier@3.3.3)) - '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2) + '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2) '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.7.2)(webpack@5.96.1(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1)) '@types/node': 20.17.6 '@types/semver': 7.5.6 find-up: 5.0.0 magic-string: 0.30.17 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 react-docgen: 7.1.0 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) resolve: 1.22.8 semver: 7.6.3 storybook: 8.4.7(prettier@3.3.3) @@ -20654,20 +20654,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/react-dom-shim@8.4.7(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))': + '@storybook/react-dom-shim@8.4.7(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))': dependencies: - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) storybook: 8.4.7(prettier@3.3.3) - '@storybook/react-webpack5@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1)(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2)': + '@storybook/react-webpack5@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1)(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2)': dependencies: '@storybook/builder-webpack5': 8.4.7(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2) - '@storybook/preset-react-webpack': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1)(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2) - '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2) + '@storybook/preset-react-webpack': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1)(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2) + '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2) '@types/node': 20.17.6 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) storybook: 8.4.7(prettier@3.3.3) optionalDependencies: typescript: 5.7.2 @@ -20680,16 +20680,16 @@ snapshots: - uglify-js - webpack-cli - '@storybook/react@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2)': + '@storybook/react@8.4.7(@storybook/test@8.4.7(storybook@8.4.7(prettier@3.3.3)))(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3))(typescript@5.7.2)': dependencies: '@storybook/components': 8.4.7(storybook@8.4.7(prettier@3.3.3)) '@storybook/global': 5.0.0 '@storybook/manager-api': 8.4.7(storybook@8.4.7(prettier@3.3.3)) '@storybook/preview-api': 8.4.7(storybook@8.4.7(prettier@3.3.3)) - '@storybook/react-dom-shim': 8.4.7(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(storybook@8.4.7(prettier@3.3.3)) + '@storybook/react-dom-shim': 8.4.7(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(storybook@8.4.7(prettier@3.3.3)) '@storybook/theming': 8.4.7(storybook@8.4.7(prettier@3.3.3)) - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) storybook: 8.4.7(prettier@3.3.3) optionalDependencies: '@storybook/test': 8.4.7(storybook@8.4.7(prettier@3.3.3)) @@ -20925,13 +20925,13 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@15.0.7(@types/react@19.0.0)(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)': + '@testing-library/react@15.0.7(@types/react@19.0.0)(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)': dependencies: '@babel/runtime': 7.22.5 '@testing-library/dom': 10.1.0 '@types/react-dom': 19.0.0 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) optionalDependencies: '@types/react': 19.0.0 @@ -26287,7 +26287,7 @@ snapshots: hoist-non-react-statics@3.3.2: dependencies: - react-is: 19.0.0-rc-7283a213-20241206 + react-is: 19.0.0-rc-372ec00c-20241209 homedir-polyfill@1.0.3: dependencies: @@ -30947,31 +30947,31 @@ snapshots: '@jest/types': 24.9.0 ansi-regex: 4.1.0 ansi-styles: 3.2.1 - react-is: 19.0.0-rc-7283a213-20241206 + react-is: 19.0.0-rc-372ec00c-20241209 pretty-format@27.5.1: dependencies: ansi-regex: 5.0.1 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-7283a213-20241206 + react-is: 19.0.0-rc-372ec00c-20241209 pretty-format@29.5.0: dependencies: '@jest/schemas': 29.4.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-7283a213-20241206 + react-is: 19.0.0-rc-372ec00c-20241209 pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-7283a213-20241206 + react-is: 19.0.0-rc-372ec00c-20241209 pretty-format@30.0.0-alpha.6: dependencies: '@jest/schemas': 30.0.0-alpha.6 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-7283a213-20241206 + react-is: 19.0.0-rc-372ec00c-20241209 pretty-ms@7.0.0: dependencies: @@ -31030,7 +31030,7 @@ snapshots: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react-is: 19.0.0-rc-7283a213-20241206 + react-is: 19.0.0-rc-372ec00c-20241209 property-information@5.6.0: dependencies: @@ -31200,9 +31200,9 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - react-confetti@6.1.0(react@19.0.0-rc-7283a213-20241206): + react-confetti@6.1.0(react@19.0.0-rc-372ec00c-20241209): dependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 tween-functions: 1.2.0 react-docgen-typescript@2.2.2(typescript@5.7.2): @@ -31224,22 +31224,22 @@ snapshots: transitivePeerDependencies: - supports-color - react-dom@0.0.0-experimental-7283a213-20241206(react@19.0.0-rc-7283a213-20241206): + react-dom@0.0.0-experimental-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209): dependencies: - react: 19.0.0-rc-7283a213-20241206 - scheduler: 0.25.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + scheduler: 0.25.0-rc-372ec00c-20241209 - react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206): + react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209): dependencies: - react: 19.0.0-rc-7283a213-20241206 - scheduler: 0.25.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + scheduler: 0.25.0-rc-372ec00c-20241209 react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827): dependencies: react: 19.0.0-rc-f90a6bcc-20240827 - scheduler: 0.25.0-rc-7283a213-20241206 + scheduler: 0.25.0-rc-372ec00c-20241209 - react-is@19.0.0-rc-7283a213-20241206: {} + react-is@19.0.0-rc-372ec00c-20241209: {} react-is@19.0.0-rc-f90a6bcc-20240827: {} @@ -31272,48 +31272,48 @@ snapshots: optionalDependencies: '@types/react': 19.0.0 - react-server-dom-turbopack@0.0.0-experimental-7283a213-20241206(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206): + react-server-dom-turbopack@0.0.0-experimental-372ec00c-20241209(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) - react-server-dom-turbopack@19.0.0-rc-7283a213-20241206(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206): + react-server-dom-turbopack@19.0.0-rc-372ec00c-20241209(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) - react-server-dom-webpack@0.0.0-experimental-7283a213-20241206(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(webpack@5.96.1(@swc/core@1.9.3(@swc/helpers@0.5.15))): + react-server-dom-webpack@0.0.0-experimental-372ec00c-20241209(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(webpack@5.96.1(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) webpack: 5.96.1(@swc/core@1.9.3(@swc/helpers@0.5.15)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-server-dom-webpack@19.0.0-rc-7283a213-20241206(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206)(webpack@5.96.1(@swc/core@1.9.3(@swc/helpers@0.5.15))): + react-server-dom-webpack@19.0.0-rc-372ec00c-20241209(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209)(webpack@5.96.1(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) webpack: 5.96.1(@swc/core@1.9.3(@swc/helpers@0.5.15)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-shallow-renderer@16.15.0(react@19.0.0-rc-7283a213-20241206): + react-shallow-renderer@16.15.0(react@19.0.0-rc-372ec00c-20241209): dependencies: object-assign: 4.1.1 - react: 19.0.0-rc-7283a213-20241206 - react-is: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-is: 19.0.0-rc-372ec00c-20241209 - react-ssr-prepass@1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-7283a213-20241206): + react-ssr-prepass@1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-372ec00c-20241209): dependencies: object-is: 1.0.2 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 react-is: 19.0.0-rc-f90a6bcc-20240827 react-style-singleton@2.2.1(@types/react@19.0.0)(react@19.0.0-rc-f90a6bcc-20240827): @@ -31325,12 +31325,12 @@ snapshots: optionalDependencies: '@types/react': 19.0.0 - react-test-renderer@18.2.0(react@19.0.0-rc-7283a213-20241206): + react-test-renderer@18.2.0(react@19.0.0-rc-372ec00c-20241209): dependencies: - react: 19.0.0-rc-7283a213-20241206 - react-is: 19.0.0-rc-7283a213-20241206 - react-shallow-renderer: 16.15.0(react@19.0.0-rc-7283a213-20241206) - scheduler: 0.25.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 + react-is: 19.0.0-rc-372ec00c-20241209 + react-shallow-renderer: 16.15.0(react@19.0.0-rc-372ec00c-20241209) + scheduler: 0.25.0-rc-372ec00c-20241209 react-textarea-autosize@8.5.3(@types/react@19.0.0)(react@19.0.0-rc-f90a6bcc-20240827): dependencies: @@ -31341,20 +31341,20 @@ snapshots: transitivePeerDependencies: - '@types/react' - react-virtualized@9.22.3(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206): + react-virtualized@9.22.3(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209): dependencies: '@babel/runtime': 7.22.5 clsx: 1.1.1 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) react-lifecycles-compat: 3.0.4 - react@0.0.0-experimental-7283a213-20241206: {} + react@0.0.0-experimental-372ec00c-20241209: {} - react@19.0.0-rc-7283a213-20241206: {} + react@19.0.0-rc-372ec00c-20241209: {} react@19.0.0-rc-f90a6bcc-20240827: {} @@ -32094,9 +32094,9 @@ snapshots: dependencies: xmlchars: 2.2.0 - scheduler@0.0.0-experimental-7283a213-20241206: {} + scheduler@0.0.0-experimental-372ec00c-20241209: {} - scheduler@0.25.0-rc-7283a213-20241206: {} + scheduler@0.25.0-rc-372ec00c-20241209: {} schema-utils@2.7.1: dependencies: @@ -32734,7 +32734,7 @@ snapshots: dependencies: inline-style-parser: 0.1.1 - styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206))(react@19.0.0-rc-7283a213-20241206): + styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209))(react@19.0.0-rc-372ec00c-20241209): dependencies: '@babel/cli': 7.21.5(@babel/core@7.22.5) '@babel/core': 7.22.5 @@ -32749,8 +32749,8 @@ snapshots: '@emotion/unitless': 0.8.1 css-to-react-native: 3.2.0 postcss: 8.4.31 - react: 19.0.0-rc-7283a213-20241206 - react-dom: 19.0.0-rc-7283a213-20241206(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + react-dom: 19.0.0-rc-372ec00c-20241209(react@19.0.0-rc-372ec00c-20241209) shallowequal: 1.1.0 stylis: 4.2.0 tslib: 2.5.3 @@ -32762,10 +32762,10 @@ snapshots: postcss: 7.0.32 postcss-load-plugins: 2.3.0 - styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-7283a213-20241206): + styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-372ec00c-20241209): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 optionalDependencies: '@babel/core': 7.22.5 babel-plugin-macros: 3.1.0 @@ -32861,11 +32861,11 @@ snapshots: '@swc/counter': 0.1.3 webpack: 5.96.1(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.23.1) - swr@2.2.4(react@19.0.0-rc-7283a213-20241206): + swr@2.2.4(react@19.0.0-rc-372ec00c-20241209): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-7283a213-20241206 - use-sync-external-store: 1.2.0(react@19.0.0-rc-7283a213-20241206) + react: 19.0.0-rc-372ec00c-20241209 + use-sync-external-store: 1.2.0(react@19.0.0-rc-372ec00c-20241209) symbol-observable@1.0.1: {} @@ -33637,9 +33637,9 @@ snapshots: unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 - unistore@3.4.1(react@19.0.0-rc-7283a213-20241206): + unistore@3.4.1(react@19.0.0-rc-372ec00c-20241209): optionalDependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 universal-github-app-jwt@1.1.1: dependencies: @@ -33765,9 +33765,9 @@ snapshots: optionalDependencies: '@types/react': 19.0.0 - use-sync-external-store@1.2.0(react@19.0.0-rc-7283a213-20241206): + use-sync-external-store@1.2.0(react@19.0.0-rc-372ec00c-20241209): dependencies: - react: 19.0.0-rc-7283a213-20241206 + react: 19.0.0-rc-372ec00c-20241209 util-deprecate@1.0.2: {}