From b452c7f545071b67c35285357fcdc646f024fc2b Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Mon, 30 Dec 2024 16:22:04 +0000 Subject: [PATCH] ncc-compiled --- .../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 | 208 +++++++++++------- ...r-dom-turbopack-client.edge.development.js | 204 ++++++++++------- ...r-dom-turbopack-client.node.development.js | 204 ++++++++++------- .../package.json | 4 +- ...om-turbopack-client.browser.development.js | 4 +- .../react-server-dom-turbopack/package.json | 4 +- ...-dom-webpack-client.browser.development.js | 208 +++++++++++------- ...ver-dom-webpack-client.edge.development.js | 204 ++++++++++------- ...ver-dom-webpack-client.node.development.js | 204 ++++++++++------- ...bpack-client.node.unbundled.development.js | 204 ++++++++++------- .../package.json | 4 +- ...-dom-webpack-client.browser.development.js | 4 +- .../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 +- 65 files changed, 999 insertions(+), 705 deletions(-) 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 965577d4c1490..bc56585b9aa1b 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 @@ -25468,11 +25468,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-experimental-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-experimental-c01b8058-20241229" !== 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.1.0-experimental-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-experimental-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25509,10 +25509,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.1.0-experimental-518d06d2-20241219", + version: "19.1.0-experimental-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-experimental-518d06d2-20241219" + reconcilerVersion: "19.1.0-experimental-c01b8058-20241229" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25656,7 +25656,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; "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 6ff59c6b3174e..23f5ee43b71fd 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 @@ -15294,14 +15294,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1672 = React.version; if ( - "19.1.0-experimental-518d06d2-20241219" !== + "19.1.0-experimental-c01b8058-20241229" !== isomorphicReactPackageVersion$jscomp$inline_1672 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1672, - "19.1.0-experimental-518d06d2-20241219" + "19.1.0-experimental-c01b8058-20241229" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15323,10 +15323,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2145 = { bundleType: 0, - version: "19.1.0-experimental-518d06d2-20241219", + version: "19.1.0-experimental-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-experimental-518d06d2-20241219" + reconcilerVersion: "19.1.0-experimental-c01b8058-20241229" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2146 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15432,4 +15432,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 5f19086cf8a1f..1121272407d2b 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 @@ -25525,11 +25525,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-experimental-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-experimental-c01b8058-20241229" !== 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.1.0-experimental-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-experimental-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25566,10 +25566,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.1.0-experimental-518d06d2-20241219", + version: "19.1.0-experimental-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-experimental-518d06d2-20241219" + reconcilerVersion: "19.1.0-experimental-c01b8058-20241229" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26043,7 +26043,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; "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 374efbc36b90f..6b509199baeee 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 @@ -16592,14 +16592,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1787 = React.version; if ( - "19.1.0-experimental-518d06d2-20241219" !== + "19.1.0-experimental-c01b8058-20241229" !== isomorphicReactPackageVersion$jscomp$inline_1787 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1787, - "19.1.0-experimental-518d06d2-20241219" + "19.1.0-experimental-c01b8058-20241229" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16621,10 +16621,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2240 = { bundleType: 0, - version: "19.1.0-experimental-518d06d2-20241219", + version: "19.1.0-experimental-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-experimental-518d06d2-20241219" + reconcilerVersion: "19.1.0-experimental-c01b8058-20241229" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2241 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16891,7 +16891,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; "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 b098e482cc63d..4ac6143c1dc41 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 @@ -9281,5 +9281,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.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; })(); 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 81219fffe7971..cd92444c8339c 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 @@ -6048,4 +6048,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.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 5e9edadd3b3e5..057a411a3977a 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 @@ -9281,5 +9281,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.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; })(); 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 865764484aa7b..b673e4f939924 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 @@ -6139,4 +6139,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.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 03d9e9c50e0b0..578bf7e3ffe01 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 @@ -8189,11 +8189,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-experimental-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-experimental-c01b8058-20241229" !== 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.1.0-experimental-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-experimental-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -9963,5 +9963,5 @@ startWork(request); }); }; - exports.version = "19.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; })(); 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 249eccbee2929..72cbec745c89a 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 @@ -6576,12 +6576,12 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-experimental-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-experimental-c01b8058-20241229" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.1.0-experimental-518d06d2-20241219" + "19.1.0-experimental-c01b8058-20241229" ) ); } @@ -6836,4 +6836,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) { startWork(request); }); }; -exports.version = "19.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 b11879ed37355..2ed55207954a1 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 @@ -6057,13 +6057,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } var isomorphicReactPackageVersion$jscomp$inline_776 = React.version; if ( - "19.1.0-experimental-518d06d2-20241219" !== + "19.1.0-experimental-c01b8058-20241229" !== isomorphicReactPackageVersion$jscomp$inline_776 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_776 + - "\n - react-dom: 19.1.0-experimental-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-experimental-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6154,4 +6154,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 a36be5491eb6e..c5e0c14ed5cc3 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 @@ -8212,11 +8212,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-experimental-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-experimental-c01b8058-20241229" !== 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.1.0-experimental-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-experimental-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -9993,5 +9993,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; })(); 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 35632f4f04fda..f1f2ad7ac7d37 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 @@ -6682,11 +6682,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-experimental-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-experimental-c01b8058-20241229" !== 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.1.0-experimental-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-experimental-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6951,4 +6951,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 41474a8cc53cd..9e2f7259c92d8 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 @@ -8076,11 +8076,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-experimental-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-experimental-c01b8058-20241229" !== 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.1.0-experimental-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-experimental-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -9843,5 +9843,5 @@ } }; }; - exports.version = "19.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; })(); 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 2334f8e40df5c..b177e9545429b 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 @@ -6561,11 +6561,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-experimental-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-experimental-c01b8058-20241229" !== 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.1.0-experimental-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-experimental-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6816,4 +6816,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) { } }; }; -exports.version = "19.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 e2fe813eea8c1..969d9e58e0b59 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 @@ -25802,11 +25802,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-experimental-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-experimental-c01b8058-20241229" !== 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.1.0-experimental-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-experimental-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25843,10 +25843,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.1.0-experimental-518d06d2-20241219", + version: "19.1.0-experimental-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-experimental-518d06d2-20241219" + reconcilerVersion: "19.1.0-experimental-c01b8058-20241229" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26156,5 +26156,5 @@ } }; }; - exports.version = "19.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; })(); 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 40204ee8c58b4..afafbbb200ff0 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 @@ -15623,14 +15623,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1701 = React.version; if ( - "19.1.0-experimental-518d06d2-20241219" !== + "19.1.0-experimental-c01b8058-20241229" !== isomorphicReactPackageVersion$jscomp$inline_1701 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1701, - "19.1.0-experimental-518d06d2-20241219" + "19.1.0-experimental-c01b8058-20241229" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15652,10 +15652,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2179 = { bundleType: 0, - version: "19.1.0-experimental-518d06d2-20241219", + version: "19.1.0-experimental-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-experimental-518d06d2-20241219" + reconcilerVersion: "19.1.0-experimental-c01b8058-20241229" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2180 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15912,4 +15912,4 @@ exports.observeVisibleRects = function ( } }; }; -exports.version = "19.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 3902c17ccb817..effbdad5e8f1b 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.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; "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 1470bdc41928c..e10228ae3d82c 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.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 80df50d667a50..e6fa48757d666 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.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; })(); 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 d6c20c2f1b563..b1bf3500e5384 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.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; diff --git a/packages/next/src/compiled/react-dom-experimental/package.json b/packages/next/src/compiled/react-dom-experimental/package.json index 49afddd8abc0d..69f2490050ce2 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-518d06d2-20241219" + "scheduler": "0.0.0-experimental-c01b8058-20241229" }, "peerDependencies": { - "react": "0.0.0-experimental-518d06d2-20241219" + "react": "0.0.0-experimental-c01b8058-20241229" }, "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 2f3fcde48a6e9..2f4b6605e8cd7 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 @@ -24514,11 +24514,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-canary-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-canary-c01b8058-20241229" !== 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.1.0-canary-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-canary-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24555,10 +24555,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.1.0-canary-518d06d2-20241219", + version: "19.1.0-canary-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-canary-518d06d2-20241219" + reconcilerVersion: "19.1.0-canary-c01b8058-20241229" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24704,7 +24704,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; "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 872b934499967..663df0f1a7f2b 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 @@ -15131,14 +15131,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1679 = React.version; if ( - "19.1.0-canary-518d06d2-20241219" !== + "19.1.0-canary-c01b8058-20241229" !== isomorphicReactPackageVersion$jscomp$inline_1679 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1679, - "19.1.0-canary-518d06d2-20241219" + "19.1.0-canary-c01b8058-20241229" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15160,10 +15160,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2158 = { bundleType: 0, - version: "19.1.0-canary-518d06d2-20241219", + version: "19.1.0-canary-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-canary-518d06d2-20241219" + reconcilerVersion: "19.1.0-canary-c01b8058-20241229" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2159 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15269,4 +15269,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; 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 0dbb558d8ab70..aa01ca4a2a892 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 @@ -24571,11 +24571,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-canary-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-canary-c01b8058-20241229" !== 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.1.0-canary-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-canary-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24612,10 +24612,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.1.0-canary-518d06d2-20241219", + version: "19.1.0-canary-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-canary-518d06d2-20241219" + reconcilerVersion: "19.1.0-canary-c01b8058-20241229" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25091,7 +25091,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; "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 a8b307b4337c3..a5c10c3523041 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 @@ -15781,14 +15781,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1770 = React.version; if ( - "19.1.0-canary-518d06d2-20241219" !== + "19.1.0-canary-c01b8058-20241229" !== isomorphicReactPackageVersion$jscomp$inline_1770 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1770, - "19.1.0-canary-518d06d2-20241219" + "19.1.0-canary-c01b8058-20241229" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15810,10 +15810,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1777 = { bundleType: 0, - version: "19.1.0-canary-518d06d2-20241219", + version: "19.1.0-canary-c01b8058-20241229", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-canary-518d06d2-20241219", + reconcilerVersion: "19.1.0-canary-c01b8058-20241229", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$280 = 0; @@ -16095,7 +16095,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; "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 936dcfeb3fa93..31a8a15514f01 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 @@ -8556,5 +8556,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.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; })(); 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 b6a010d6c05e3..b546124793d77 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 @@ -5611,4 +5611,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.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; 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 f843ec0fb9c35..66dd8161d9b93 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 @@ -8556,5 +8556,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.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; })(); 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 602c5f5671edb..35730c2bae7cf 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 @@ -5688,4 +5688,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.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; 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 759f91ce4be8b..34aa5706eb3ea 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 @@ -7292,11 +7292,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-canary-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-canary-c01b8058-20241229" !== 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.1.0-canary-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-canary-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react"), @@ -8938,5 +8938,5 @@ startWork(request); }); }; - exports.version = "19.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; })(); 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 a0358a61b5782..f76cb84621bb9 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 @@ -5943,12 +5943,12 @@ function abort(request, reason) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-canary-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-canary-c01b8058-20241229" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.1.0-canary-518d06d2-20241219" + "19.1.0-canary-c01b8058-20241229" ) ); } @@ -6095,4 +6095,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; 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 ea24d5f35413f..9a390e6260f2a 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 @@ -5580,13 +5580,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_728 = React.version; if ( - "19.1.0-canary-518d06d2-20241219" !== + "19.1.0-canary-c01b8058-20241229" !== isomorphicReactPackageVersion$jscomp$inline_728 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_728 + - "\n - react-dom: 19.1.0-canary-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-canary-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -5677,4 +5677,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; 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 dc6ce3ed7400f..ad95498ee4010 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 @@ -7315,11 +7315,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-canary-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-canary-c01b8058-20241229" !== 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.1.0-canary-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-canary-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react"), @@ -8968,5 +8968,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; })(); 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 6c4190c56501e..7f8c02fe9acb4 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 @@ -6035,11 +6035,11 @@ function abort(request, reason) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-canary-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-canary-c01b8058-20241229" !== 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.1.0-canary-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-canary-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6196,4 +6196,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; 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 c169b619a8921..aaa2a74d6e3c0 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 @@ -7190,11 +7190,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-canary-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-canary-c01b8058-20241229" !== 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.1.0-canary-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-canary-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -8831,5 +8831,5 @@ } }; }; - exports.version = "19.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; })(); 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 9f84ec22ccf4e..6e7d3d71e4d66 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 @@ -5927,11 +5927,11 @@ function abort(request, reason) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-canary-518d06d2-20241219" !== isomorphicReactPackageVersion) + if ("19.1.0-canary-c01b8058-20241229" !== 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.1.0-canary-518d06d2-20241219\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-canary-c01b8058-20241229\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6080,4 +6080,4 @@ exports.renderToPipeableStream = function (children, options) { } }; }; -exports.version = "19.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; 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 5a7f5a4ea3d91..661229e7a8fc6 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.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; "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 1d658d7f45228..502aa0c7dbb11 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.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; 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 796c41d3563c0..1a85713ff34e9 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.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; })(); 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 f6b0ace9e70da..4e3027c1701db 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.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; diff --git a/packages/next/src/compiled/react-dom/package.json b/packages/next/src/compiled/react-dom/package.json index fa5a0f8164298..9a6a878eed16a 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.26.0-canary-518d06d2-20241219" + "scheduler": "0.26.0-canary-c01b8058-20241229" }, "peerDependencies": { - "react": "19.1.0-canary-518d06d2-20241219" + "react": "19.1.0-canary-c01b8058-20241229" }, "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 8bc89fe048a79..29bc6013b8735 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.development.js @@ -1242,7 +1242,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; "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 25ea366e31895..76a2c61d5f529 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.production.js @@ -565,4 +565,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; 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 fda319decb964..719aadb0ef8f4 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 @@ -982,5 +982,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.1.0-experimental-518d06d2-20241219"; + exports.version = "19.1.0-experimental-c01b8058-20241229"; })(); 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 00a1a96ff26d8..4caea49810abd 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 @@ -564,4 +564,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.1.0-experimental-518d06d2-20241219"; +exports.version = "19.1.0-experimental-c01b8058-20241229"; diff --git a/packages/next/src/compiled/react-is/package.json b/packages/next/src/compiled/react-is/package.json index bb948810b04e9..0969f0bb45369 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.1.0-canary-518d06d2-20241219", + "version": "19.1.0-canary-c01b8058-20241229", "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 0c64ff49a4473..651d66c8f7167 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 @@ -2191,124 +2191,166 @@ ) { if (!isArrayImpl(root._children)) { response = root._children; - var previousEndTime = response.endTime; + root = response.endTime; if ( -Infinity < parentEndTime && - parentEndTime < previousEndTime && + parentEndTime < root && null !== response.component ) { - var trackIdx = trackIdx$jscomp$0; - root = parentEndTime; - supportsUserTiming && - 0 <= previousEndTime && - 10 > trackIdx && - ((parentEndTime = response.component.name), - (reusableComponentDevToolDetails.color = "tertiary-light"), - (reusableComponentDevToolDetails.track = trackNames[trackIdx]), - (reusableComponentOptions.start = 0 > root ? 0 : root), - (reusableComponentOptions.end = previousEndTime), - performance.measure( - parentEndTime + " [deduped]", - reusableComponentOptions - )); + var trackIdx = trackIdx$jscomp$0, + startTime = parentEndTime; + if (supportsUserTiming && 0 <= root && 10 > trackIdx) { + var name = response.component.name; + reusableComponentDevToolDetails.color = "tertiary-light"; + reusableComponentDevToolDetails.track = trackNames[trackIdx]; + reusableComponentOptions.start = 0 > startTime ? 0 : startTime; + reusableComponentOptions.end = root; + performance.measure(name + " [deduped]", reusableComponentOptions); + } } response.track = trackIdx$jscomp$0; return response; } var children = root._children; "resolved_model" === root.status && initializeModelChunk(root); - if ((previousEndTime = root._debugInfo)) { - for (trackIdx = 1; trackIdx < previousEndTime.length; trackIdx++) - if ("string" === typeof previousEndTime[trackIdx].name) { - var startTimeInfo = previousEndTime[trackIdx - 1]; - if ("number" === typeof startTimeInfo.time) { - trackIdx = startTimeInfo.time; - trackIdx < trackTime && trackIdx$jscomp$0++; - trackTime = trackIdx; - break; - } + if ((trackIdx = root._debugInfo)) { + for (startTime = 1; startTime < trackIdx.length; startTime++) + if ( + "string" === typeof trackIdx[startTime].name && + ((name = trackIdx[startTime - 1]), "number" === typeof name.time) + ) { + startTime = name.time; + startTime < trackTime && trackIdx$jscomp$0++; + trackTime = startTime; + break; } - for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--) - (startTimeInfo = previousEndTime[trackIdx]), - "number" === typeof startTimeInfo.time && - startTimeInfo.time > parentEndTime && - (parentEndTime = startTimeInfo.time); + for (startTime = trackIdx.length - 1; 0 <= startTime; startTime--) + (name = trackIdx[startTime]), + "number" === typeof name.time && + name.time > parentEndTime && + (parentEndTime = name.time); } - trackIdx = { + startTime = { track: trackIdx$jscomp$0, endTime: -Infinity, component: null }; - root._children = trackIdx; - root = -Infinity; - startTimeInfo = trackIdx$jscomp$0; - var childTrackTime = trackTime; + root._children = startTime; + name = -Infinity; + var childTrackIdx = trackIdx$jscomp$0, + childTrackTime = trackTime; for (trackTime = 0; trackTime < children.length; trackTime++) { childTrackTime = flushComponentPerformance( response, children[trackTime], - startTimeInfo, + childTrackIdx, childTrackTime, parentEndTime ); null !== childTrackTime.component && - (trackIdx.component = childTrackTime.component); - startTimeInfo = childTrackTime.track; + (startTime.component = childTrackTime.component); + childTrackIdx = childTrackTime.track; var childEndTime = childTrackTime.endTime; childTrackTime = childEndTime; - childEndTime > root && (root = childEndTime); + childEndTime > name && (name = childEndTime); } - if (previousEndTime) + if (trackIdx) for ( - parentEndTime = 0, children = previousEndTime.length - 1; + parentEndTime = 0, childTrackIdx = !0, children = trackIdx.length - 1; 0 <= children; children-- ) if ( - ((trackTime = previousEndTime[children]), + ((trackTime = trackIdx[children]), "number" === typeof trackTime.time && ((parentEndTime = trackTime.time), - parentEndTime > root && (root = parentEndTime)), - "string" === typeof trackTime.name && - 0 < children && - ((childTrackTime = previousEndTime[children - 1]), - "number" === typeof childTrackTime.time)) + parentEndTime > name && (name = parentEndTime)), + "string" === typeof trackTime.name && 0 < children) ) { - startTimeInfo = trackIdx$jscomp$0; - childTrackTime = childTrackTime.time; - childEndTime = root; - if (supportsUserTiming && 0 <= childEndTime && 10 > startTimeInfo) { - var env = trackTime.env, - name = trackTime.name, - isPrimaryEnv = env === response._rootEnvironmentName, - selfTime = parentEndTime - childTrackTime; - reusableComponentDevToolDetails.color = - 0.5 > selfTime - ? isPrimaryEnv - ? "primary-light" - : "secondary-light" - : 50 > selfTime - ? isPrimaryEnv - ? "primary" - : "secondary" - : 500 > selfTime - ? isPrimaryEnv - ? "primary-dark" - : "secondary-dark" - : "error"; - reusableComponentDevToolDetails.track = trackNames[startTimeInfo]; - reusableComponentOptions.start = - 0 > childTrackTime ? 0 : childTrackTime; - reusableComponentOptions.end = childEndTime; - performance.measure( - isPrimaryEnv || void 0 === env ? name : name + " [" + env + "]", - reusableComponentOptions - ); + childTrackTime = trackIdx[children - 1]; + if ("number" === typeof childTrackTime.time) { + childTrackTime = childTrackTime.time; + if ( + childTrackIdx && + "rejected" === root.status && + root.reason !== response._closedReason + ) { + var componentInfo = trackTime; + childTrackIdx = trackIdx$jscomp$0; + childEndTime = name; + var rootEnv = response._rootEnvironmentName, + error = root.reason; + if (supportsUserTiming) { + var properties = []; + properties.push([ + "Error", + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error) + ]); + error = componentInfo.env; + componentInfo = componentInfo.name; + componentInfo = + error === rootEnv || void 0 === error + ? componentInfo + : componentInfo + " [" + error + "]"; + performance.measure(componentInfo, { + start: 0 > childTrackTime ? 0 : childTrackTime, + end: childEndTime, + detail: { + devtools: { + color: "error", + track: trackNames[childTrackIdx], + trackGroup: "Server Components \u269b", + tooltipText: componentInfo + " Errored", + properties: properties + } + } + }); + } + } else + (childTrackIdx = trackIdx$jscomp$0), + (childEndTime = name), + supportsUserTiming && + 0 <= childEndTime && + 10 > childTrackIdx && + ((properties = trackTime.env), + (componentInfo = trackTime.name), + (rootEnv = properties === response._rootEnvironmentName), + (error = parentEndTime - childTrackTime), + (reusableComponentDevToolDetails.color = + 0.5 > error + ? rootEnv + ? "primary-light" + : "secondary-light" + : 50 > error + ? rootEnv + ? "primary" + : "secondary" + : 500 > error + ? rootEnv + ? "primary-dark" + : "secondary-dark" + : "error"), + (reusableComponentDevToolDetails.track = + trackNames[childTrackIdx]), + (reusableComponentOptions.start = + 0 > childTrackTime ? 0 : childTrackTime), + (reusableComponentOptions.end = childEndTime), + performance.measure( + rootEnv || void 0 === properties + ? componentInfo + : componentInfo + " [" + properties + "]", + reusableComponentOptions + )); + startTime.component = trackTime; } - trackIdx.component = trackTime; + childTrackIdx = !1; } - trackIdx.endTime = root; - return trackIdx; + startTime.endTime = name; + return startTime; } function processFullBinaryRow(response, id, tag, buffer, chunk) { switch (tag) { @@ -2847,10 +2889,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.1.0-experimental-518d06d2-20241219", + version: "19.1.0-experimental-c01b8058-20241229", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-experimental-518d06d2-20241219", + reconcilerVersion: "19.1.0-experimental-c01b8058-20241229", 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 8453582699eec..c971b5693afa5 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 @@ -2410,124 +2410,166 @@ ) { if (!isArrayImpl(root._children)) { response = root._children; - var previousEndTime = response.endTime; + root = response.endTime; if ( -Infinity < parentEndTime && - parentEndTime < previousEndTime && + parentEndTime < root && null !== response.component ) { - var trackIdx = trackIdx$jscomp$0; - root = parentEndTime; - supportsUserTiming && - 0 <= previousEndTime && - 10 > trackIdx && - ((parentEndTime = response.component.name), - (reusableComponentDevToolDetails.color = "tertiary-light"), - (reusableComponentDevToolDetails.track = trackNames[trackIdx]), - (reusableComponentOptions.start = 0 > root ? 0 : root), - (reusableComponentOptions.end = previousEndTime), - performance.measure( - parentEndTime + " [deduped]", - reusableComponentOptions - )); + var trackIdx = trackIdx$jscomp$0, + startTime = parentEndTime; + if (supportsUserTiming && 0 <= root && 10 > trackIdx) { + var name = response.component.name; + reusableComponentDevToolDetails.color = "tertiary-light"; + reusableComponentDevToolDetails.track = trackNames[trackIdx]; + reusableComponentOptions.start = 0 > startTime ? 0 : startTime; + reusableComponentOptions.end = root; + performance.measure(name + " [deduped]", reusableComponentOptions); + } } response.track = trackIdx$jscomp$0; return response; } var children = root._children; "resolved_model" === root.status && initializeModelChunk(root); - if ((previousEndTime = root._debugInfo)) { - for (trackIdx = 1; trackIdx < previousEndTime.length; trackIdx++) - if ("string" === typeof previousEndTime[trackIdx].name) { - var startTimeInfo = previousEndTime[trackIdx - 1]; - if ("number" === typeof startTimeInfo.time) { - trackIdx = startTimeInfo.time; - trackIdx < trackTime && trackIdx$jscomp$0++; - trackTime = trackIdx; - break; - } + if ((trackIdx = root._debugInfo)) { + for (startTime = 1; startTime < trackIdx.length; startTime++) + if ( + "string" === typeof trackIdx[startTime].name && + ((name = trackIdx[startTime - 1]), "number" === typeof name.time) + ) { + startTime = name.time; + startTime < trackTime && trackIdx$jscomp$0++; + trackTime = startTime; + break; } - for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--) - (startTimeInfo = previousEndTime[trackIdx]), - "number" === typeof startTimeInfo.time && - startTimeInfo.time > parentEndTime && - (parentEndTime = startTimeInfo.time); + for (startTime = trackIdx.length - 1; 0 <= startTime; startTime--) + (name = trackIdx[startTime]), + "number" === typeof name.time && + name.time > parentEndTime && + (parentEndTime = name.time); } - trackIdx = { + startTime = { track: trackIdx$jscomp$0, endTime: -Infinity, component: null }; - root._children = trackIdx; - root = -Infinity; - startTimeInfo = trackIdx$jscomp$0; - var childTrackTime = trackTime; + root._children = startTime; + name = -Infinity; + var childTrackIdx = trackIdx$jscomp$0, + childTrackTime = trackTime; for (trackTime = 0; trackTime < children.length; trackTime++) { childTrackTime = flushComponentPerformance( response, children[trackTime], - startTimeInfo, + childTrackIdx, childTrackTime, parentEndTime ); null !== childTrackTime.component && - (trackIdx.component = childTrackTime.component); - startTimeInfo = childTrackTime.track; + (startTime.component = childTrackTime.component); + childTrackIdx = childTrackTime.track; var childEndTime = childTrackTime.endTime; childTrackTime = childEndTime; - childEndTime > root && (root = childEndTime); + childEndTime > name && (name = childEndTime); } - if (previousEndTime) + if (trackIdx) for ( - parentEndTime = 0, children = previousEndTime.length - 1; + parentEndTime = 0, childTrackIdx = !0, children = trackIdx.length - 1; 0 <= children; children-- ) if ( - ((trackTime = previousEndTime[children]), + ((trackTime = trackIdx[children]), "number" === typeof trackTime.time && ((parentEndTime = trackTime.time), - parentEndTime > root && (root = parentEndTime)), - "string" === typeof trackTime.name && - 0 < children && - ((childTrackTime = previousEndTime[children - 1]), - "number" === typeof childTrackTime.time)) + parentEndTime > name && (name = parentEndTime)), + "string" === typeof trackTime.name && 0 < children) ) { - startTimeInfo = trackIdx$jscomp$0; - childTrackTime = childTrackTime.time; - childEndTime = root; - if (supportsUserTiming && 0 <= childEndTime && 10 > startTimeInfo) { - var env = trackTime.env, - name = trackTime.name, - isPrimaryEnv = env === response._rootEnvironmentName, - selfTime = parentEndTime - childTrackTime; - reusableComponentDevToolDetails.color = - 0.5 > selfTime - ? isPrimaryEnv - ? "primary-light" - : "secondary-light" - : 50 > selfTime - ? isPrimaryEnv - ? "primary" - : "secondary" - : 500 > selfTime - ? isPrimaryEnv - ? "primary-dark" - : "secondary-dark" - : "error"; - reusableComponentDevToolDetails.track = trackNames[startTimeInfo]; - reusableComponentOptions.start = - 0 > childTrackTime ? 0 : childTrackTime; - reusableComponentOptions.end = childEndTime; - performance.measure( - isPrimaryEnv || void 0 === env ? name : name + " [" + env + "]", - reusableComponentOptions - ); + childTrackTime = trackIdx[children - 1]; + if ("number" === typeof childTrackTime.time) { + childTrackTime = childTrackTime.time; + if ( + childTrackIdx && + "rejected" === root.status && + root.reason !== response._closedReason + ) { + var componentInfo = trackTime; + childTrackIdx = trackIdx$jscomp$0; + childEndTime = name; + var rootEnv = response._rootEnvironmentName, + error = root.reason; + if (supportsUserTiming) { + var properties = []; + properties.push([ + "Error", + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error) + ]); + error = componentInfo.env; + componentInfo = componentInfo.name; + componentInfo = + error === rootEnv || void 0 === error + ? componentInfo + : componentInfo + " [" + error + "]"; + performance.measure(componentInfo, { + start: 0 > childTrackTime ? 0 : childTrackTime, + end: childEndTime, + detail: { + devtools: { + color: "error", + track: trackNames[childTrackIdx], + trackGroup: "Server Components \u269b", + tooltipText: componentInfo + " Errored", + properties: properties + } + } + }); + } + } else + (childTrackIdx = trackIdx$jscomp$0), + (childEndTime = name), + supportsUserTiming && + 0 <= childEndTime && + 10 > childTrackIdx && + ((properties = trackTime.env), + (componentInfo = trackTime.name), + (rootEnv = properties === response._rootEnvironmentName), + (error = parentEndTime - childTrackTime), + (reusableComponentDevToolDetails.color = + 0.5 > error + ? rootEnv + ? "primary-light" + : "secondary-light" + : 50 > error + ? rootEnv + ? "primary" + : "secondary" + : 500 > error + ? rootEnv + ? "primary-dark" + : "secondary-dark" + : "error"), + (reusableComponentDevToolDetails.track = + trackNames[childTrackIdx]), + (reusableComponentOptions.start = + 0 > childTrackTime ? 0 : childTrackTime), + (reusableComponentOptions.end = childEndTime), + performance.measure( + rootEnv || void 0 === properties + ? componentInfo + : componentInfo + " [" + properties + "]", + reusableComponentOptions + )); + startTime.component = trackTime; } - trackIdx.component = trackTime; + childTrackIdx = !1; } - trackIdx.endTime = root; - return trackIdx; + startTime.endTime = name; + return startTime; } function processFullBinaryRow(response, id, tag, buffer, chunk) { switch (tag) { 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 d104ab3b5f287..916424267f38e 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 @@ -2410,124 +2410,166 @@ ) { if (!isArrayImpl(root._children)) { response = root._children; - var previousEndTime = response.endTime; + root = response.endTime; if ( -Infinity < parentEndTime && - parentEndTime < previousEndTime && + parentEndTime < root && null !== response.component ) { - var trackIdx = trackIdx$jscomp$0; - root = parentEndTime; - supportsUserTiming && - 0 <= previousEndTime && - 10 > trackIdx && - ((parentEndTime = response.component.name), - (reusableComponentDevToolDetails.color = "tertiary-light"), - (reusableComponentDevToolDetails.track = trackNames[trackIdx]), - (reusableComponentOptions.start = 0 > root ? 0 : root), - (reusableComponentOptions.end = previousEndTime), - performance.measure( - parentEndTime + " [deduped]", - reusableComponentOptions - )); + var trackIdx = trackIdx$jscomp$0, + startTime = parentEndTime; + if (supportsUserTiming && 0 <= root && 10 > trackIdx) { + var name = response.component.name; + reusableComponentDevToolDetails.color = "tertiary-light"; + reusableComponentDevToolDetails.track = trackNames[trackIdx]; + reusableComponentOptions.start = 0 > startTime ? 0 : startTime; + reusableComponentOptions.end = root; + performance.measure(name + " [deduped]", reusableComponentOptions); + } } response.track = trackIdx$jscomp$0; return response; } var children = root._children; "resolved_model" === root.status && initializeModelChunk(root); - if ((previousEndTime = root._debugInfo)) { - for (trackIdx = 1; trackIdx < previousEndTime.length; trackIdx++) - if ("string" === typeof previousEndTime[trackIdx].name) { - var startTimeInfo = previousEndTime[trackIdx - 1]; - if ("number" === typeof startTimeInfo.time) { - trackIdx = startTimeInfo.time; - trackIdx < trackTime && trackIdx$jscomp$0++; - trackTime = trackIdx; - break; - } + if ((trackIdx = root._debugInfo)) { + for (startTime = 1; startTime < trackIdx.length; startTime++) + if ( + "string" === typeof trackIdx[startTime].name && + ((name = trackIdx[startTime - 1]), "number" === typeof name.time) + ) { + startTime = name.time; + startTime < trackTime && trackIdx$jscomp$0++; + trackTime = startTime; + break; } - for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--) - (startTimeInfo = previousEndTime[trackIdx]), - "number" === typeof startTimeInfo.time && - startTimeInfo.time > parentEndTime && - (parentEndTime = startTimeInfo.time); + for (startTime = trackIdx.length - 1; 0 <= startTime; startTime--) + (name = trackIdx[startTime]), + "number" === typeof name.time && + name.time > parentEndTime && + (parentEndTime = name.time); } - trackIdx = { + startTime = { track: trackIdx$jscomp$0, endTime: -Infinity, component: null }; - root._children = trackIdx; - root = -Infinity; - startTimeInfo = trackIdx$jscomp$0; - var childTrackTime = trackTime; + root._children = startTime; + name = -Infinity; + var childTrackIdx = trackIdx$jscomp$0, + childTrackTime = trackTime; for (trackTime = 0; trackTime < children.length; trackTime++) { childTrackTime = flushComponentPerformance( response, children[trackTime], - startTimeInfo, + childTrackIdx, childTrackTime, parentEndTime ); null !== childTrackTime.component && - (trackIdx.component = childTrackTime.component); - startTimeInfo = childTrackTime.track; + (startTime.component = childTrackTime.component); + childTrackIdx = childTrackTime.track; var childEndTime = childTrackTime.endTime; childTrackTime = childEndTime; - childEndTime > root && (root = childEndTime); + childEndTime > name && (name = childEndTime); } - if (previousEndTime) + if (trackIdx) for ( - parentEndTime = 0, children = previousEndTime.length - 1; + parentEndTime = 0, childTrackIdx = !0, children = trackIdx.length - 1; 0 <= children; children-- ) if ( - ((trackTime = previousEndTime[children]), + ((trackTime = trackIdx[children]), "number" === typeof trackTime.time && ((parentEndTime = trackTime.time), - parentEndTime > root && (root = parentEndTime)), - "string" === typeof trackTime.name && - 0 < children && - ((childTrackTime = previousEndTime[children - 1]), - "number" === typeof childTrackTime.time)) + parentEndTime > name && (name = parentEndTime)), + "string" === typeof trackTime.name && 0 < children) ) { - startTimeInfo = trackIdx$jscomp$0; - childTrackTime = childTrackTime.time; - childEndTime = root; - if (supportsUserTiming && 0 <= childEndTime && 10 > startTimeInfo) { - var env = trackTime.env, - name = trackTime.name, - isPrimaryEnv = env === response._rootEnvironmentName, - selfTime = parentEndTime - childTrackTime; - reusableComponentDevToolDetails.color = - 0.5 > selfTime - ? isPrimaryEnv - ? "primary-light" - : "secondary-light" - : 50 > selfTime - ? isPrimaryEnv - ? "primary" - : "secondary" - : 500 > selfTime - ? isPrimaryEnv - ? "primary-dark" - : "secondary-dark" - : "error"; - reusableComponentDevToolDetails.track = trackNames[startTimeInfo]; - reusableComponentOptions.start = - 0 > childTrackTime ? 0 : childTrackTime; - reusableComponentOptions.end = childEndTime; - performance.measure( - isPrimaryEnv || void 0 === env ? name : name + " [" + env + "]", - reusableComponentOptions - ); + childTrackTime = trackIdx[children - 1]; + if ("number" === typeof childTrackTime.time) { + childTrackTime = childTrackTime.time; + if ( + childTrackIdx && + "rejected" === root.status && + root.reason !== response._closedReason + ) { + var componentInfo = trackTime; + childTrackIdx = trackIdx$jscomp$0; + childEndTime = name; + var rootEnv = response._rootEnvironmentName, + error = root.reason; + if (supportsUserTiming) { + var properties = []; + properties.push([ + "Error", + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error) + ]); + error = componentInfo.env; + componentInfo = componentInfo.name; + componentInfo = + error === rootEnv || void 0 === error + ? componentInfo + : componentInfo + " [" + error + "]"; + performance.measure(componentInfo, { + start: 0 > childTrackTime ? 0 : childTrackTime, + end: childEndTime, + detail: { + devtools: { + color: "error", + track: trackNames[childTrackIdx], + trackGroup: "Server Components \u269b", + tooltipText: componentInfo + " Errored", + properties: properties + } + } + }); + } + } else + (childTrackIdx = trackIdx$jscomp$0), + (childEndTime = name), + supportsUserTiming && + 0 <= childEndTime && + 10 > childTrackIdx && + ((properties = trackTime.env), + (componentInfo = trackTime.name), + (rootEnv = properties === response._rootEnvironmentName), + (error = parentEndTime - childTrackTime), + (reusableComponentDevToolDetails.color = + 0.5 > error + ? rootEnv + ? "primary-light" + : "secondary-light" + : 50 > error + ? rootEnv + ? "primary" + : "secondary" + : 500 > error + ? rootEnv + ? "primary-dark" + : "secondary-dark" + : "error"), + (reusableComponentDevToolDetails.track = + trackNames[childTrackIdx]), + (reusableComponentOptions.start = + 0 > childTrackTime ? 0 : childTrackTime), + (reusableComponentOptions.end = childEndTime), + performance.measure( + rootEnv || void 0 === properties + ? componentInfo + : componentInfo + " [" + properties + "]", + reusableComponentOptions + )); + startTime.component = trackTime; } - trackIdx.component = trackTime; + childTrackIdx = !1; } - trackIdx.endTime = root; - return trackIdx; + startTime.endTime = name; + return startTime; } function processFullBinaryRow(response, id, tag, buffer, chunk) { switch (tag) { 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 aeaf813a7b029..ec5b3953f58f8 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-518d06d2-20241219", - "react-dom": "0.0.0-experimental-518d06d2-20241219" + "react": "0.0.0-experimental-c01b8058-20241229", + "react-dom": "0.0.0-experimental-c01b8058-20241229" } } \ 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 d7fae9fbe0075..d9baa99a0fd63 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 @@ -2460,10 +2460,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.1.0-canary-518d06d2-20241219", + version: "19.1.0-canary-c01b8058-20241229", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-canary-518d06d2-20241219", + reconcilerVersion: "19.1.0-canary-c01b8058-20241229", getCurrentComponentInfo: function () { return currentOwnerInDEV; } 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 74b9bfc41a534..5bd33790016d7 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.1.0-canary-518d06d2-20241219", - "react-dom": "19.1.0-canary-518d06d2-20241219" + "react": "19.1.0-canary-c01b8058-20241229", + "react-dom": "19.1.0-canary-c01b8058-20241229" } } \ 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 a1ce3df9fb506..e36adc9a372fe 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 @@ -2198,124 +2198,166 @@ ) { if (!isArrayImpl(root._children)) { response = root._children; - var previousEndTime = response.endTime; + root = response.endTime; if ( -Infinity < parentEndTime && - parentEndTime < previousEndTime && + parentEndTime < root && null !== response.component ) { - var trackIdx = trackIdx$jscomp$0; - root = parentEndTime; - supportsUserTiming && - 0 <= previousEndTime && - 10 > trackIdx && - ((parentEndTime = response.component.name), - (reusableComponentDevToolDetails.color = "tertiary-light"), - (reusableComponentDevToolDetails.track = trackNames[trackIdx]), - (reusableComponentOptions.start = 0 > root ? 0 : root), - (reusableComponentOptions.end = previousEndTime), - performance.measure( - parentEndTime + " [deduped]", - reusableComponentOptions - )); + var trackIdx = trackIdx$jscomp$0, + startTime = parentEndTime; + if (supportsUserTiming && 0 <= root && 10 > trackIdx) { + var name = response.component.name; + reusableComponentDevToolDetails.color = "tertiary-light"; + reusableComponentDevToolDetails.track = trackNames[trackIdx]; + reusableComponentOptions.start = 0 > startTime ? 0 : startTime; + reusableComponentOptions.end = root; + performance.measure(name + " [deduped]", reusableComponentOptions); + } } response.track = trackIdx$jscomp$0; return response; } var children = root._children; "resolved_model" === root.status && initializeModelChunk(root); - if ((previousEndTime = root._debugInfo)) { - for (trackIdx = 1; trackIdx < previousEndTime.length; trackIdx++) - if ("string" === typeof previousEndTime[trackIdx].name) { - var startTimeInfo = previousEndTime[trackIdx - 1]; - if ("number" === typeof startTimeInfo.time) { - trackIdx = startTimeInfo.time; - trackIdx < trackTime && trackIdx$jscomp$0++; - trackTime = trackIdx; - break; - } + if ((trackIdx = root._debugInfo)) { + for (startTime = 1; startTime < trackIdx.length; startTime++) + if ( + "string" === typeof trackIdx[startTime].name && + ((name = trackIdx[startTime - 1]), "number" === typeof name.time) + ) { + startTime = name.time; + startTime < trackTime && trackIdx$jscomp$0++; + trackTime = startTime; + break; } - for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--) - (startTimeInfo = previousEndTime[trackIdx]), - "number" === typeof startTimeInfo.time && - startTimeInfo.time > parentEndTime && - (parentEndTime = startTimeInfo.time); + for (startTime = trackIdx.length - 1; 0 <= startTime; startTime--) + (name = trackIdx[startTime]), + "number" === typeof name.time && + name.time > parentEndTime && + (parentEndTime = name.time); } - trackIdx = { + startTime = { track: trackIdx$jscomp$0, endTime: -Infinity, component: null }; - root._children = trackIdx; - root = -Infinity; - startTimeInfo = trackIdx$jscomp$0; - var childTrackTime = trackTime; + root._children = startTime; + name = -Infinity; + var childTrackIdx = trackIdx$jscomp$0, + childTrackTime = trackTime; for (trackTime = 0; trackTime < children.length; trackTime++) { childTrackTime = flushComponentPerformance( response, children[trackTime], - startTimeInfo, + childTrackIdx, childTrackTime, parentEndTime ); null !== childTrackTime.component && - (trackIdx.component = childTrackTime.component); - startTimeInfo = childTrackTime.track; + (startTime.component = childTrackTime.component); + childTrackIdx = childTrackTime.track; var childEndTime = childTrackTime.endTime; childTrackTime = childEndTime; - childEndTime > root && (root = childEndTime); + childEndTime > name && (name = childEndTime); } - if (previousEndTime) + if (trackIdx) for ( - parentEndTime = 0, children = previousEndTime.length - 1; + parentEndTime = 0, childTrackIdx = !0, children = trackIdx.length - 1; 0 <= children; children-- ) if ( - ((trackTime = previousEndTime[children]), + ((trackTime = trackIdx[children]), "number" === typeof trackTime.time && ((parentEndTime = trackTime.time), - parentEndTime > root && (root = parentEndTime)), - "string" === typeof trackTime.name && - 0 < children && - ((childTrackTime = previousEndTime[children - 1]), - "number" === typeof childTrackTime.time)) + parentEndTime > name && (name = parentEndTime)), + "string" === typeof trackTime.name && 0 < children) ) { - startTimeInfo = trackIdx$jscomp$0; - childTrackTime = childTrackTime.time; - childEndTime = root; - if (supportsUserTiming && 0 <= childEndTime && 10 > startTimeInfo) { - var env = trackTime.env, - name = trackTime.name, - isPrimaryEnv = env === response._rootEnvironmentName, - selfTime = parentEndTime - childTrackTime; - reusableComponentDevToolDetails.color = - 0.5 > selfTime - ? isPrimaryEnv - ? "primary-light" - : "secondary-light" - : 50 > selfTime - ? isPrimaryEnv - ? "primary" - : "secondary" - : 500 > selfTime - ? isPrimaryEnv - ? "primary-dark" - : "secondary-dark" - : "error"; - reusableComponentDevToolDetails.track = trackNames[startTimeInfo]; - reusableComponentOptions.start = - 0 > childTrackTime ? 0 : childTrackTime; - reusableComponentOptions.end = childEndTime; - performance.measure( - isPrimaryEnv || void 0 === env ? name : name + " [" + env + "]", - reusableComponentOptions - ); + childTrackTime = trackIdx[children - 1]; + if ("number" === typeof childTrackTime.time) { + childTrackTime = childTrackTime.time; + if ( + childTrackIdx && + "rejected" === root.status && + root.reason !== response._closedReason + ) { + var componentInfo = trackTime; + childTrackIdx = trackIdx$jscomp$0; + childEndTime = name; + var rootEnv = response._rootEnvironmentName, + error = root.reason; + if (supportsUserTiming) { + var properties = []; + properties.push([ + "Error", + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error) + ]); + error = componentInfo.env; + componentInfo = componentInfo.name; + componentInfo = + error === rootEnv || void 0 === error + ? componentInfo + : componentInfo + " [" + error + "]"; + performance.measure(componentInfo, { + start: 0 > childTrackTime ? 0 : childTrackTime, + end: childEndTime, + detail: { + devtools: { + color: "error", + track: trackNames[childTrackIdx], + trackGroup: "Server Components \u269b", + tooltipText: componentInfo + " Errored", + properties: properties + } + } + }); + } + } else + (childTrackIdx = trackIdx$jscomp$0), + (childEndTime = name), + supportsUserTiming && + 0 <= childEndTime && + 10 > childTrackIdx && + ((properties = trackTime.env), + (componentInfo = trackTime.name), + (rootEnv = properties === response._rootEnvironmentName), + (error = parentEndTime - childTrackTime), + (reusableComponentDevToolDetails.color = + 0.5 > error + ? rootEnv + ? "primary-light" + : "secondary-light" + : 50 > error + ? rootEnv + ? "primary" + : "secondary" + : 500 > error + ? rootEnv + ? "primary-dark" + : "secondary-dark" + : "error"), + (reusableComponentDevToolDetails.track = + trackNames[childTrackIdx]), + (reusableComponentOptions.start = + 0 > childTrackTime ? 0 : childTrackTime), + (reusableComponentOptions.end = childEndTime), + performance.measure( + rootEnv || void 0 === properties + ? componentInfo + : componentInfo + " [" + properties + "]", + reusableComponentOptions + )); + startTime.component = trackTime; } - trackIdx.component = trackTime; + childTrackIdx = !1; } - trackIdx.endTime = root; - return trackIdx; + startTime.endTime = name; + return startTime; } function processFullBinaryRow(response, id, tag, buffer, chunk) { switch (tag) { @@ -2862,10 +2904,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.1.0-experimental-518d06d2-20241219", + version: "19.1.0-experimental-c01b8058-20241229", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-experimental-518d06d2-20241219", + reconcilerVersion: "19.1.0-experimental-c01b8058-20241229", 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 207ea0f3cabb4..43f2d7133696c 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 @@ -2413,124 +2413,166 @@ ) { if (!isArrayImpl(root._children)) { response = root._children; - var previousEndTime = response.endTime; + root = response.endTime; if ( -Infinity < parentEndTime && - parentEndTime < previousEndTime && + parentEndTime < root && null !== response.component ) { - var trackIdx = trackIdx$jscomp$0; - root = parentEndTime; - supportsUserTiming && - 0 <= previousEndTime && - 10 > trackIdx && - ((parentEndTime = response.component.name), - (reusableComponentDevToolDetails.color = "tertiary-light"), - (reusableComponentDevToolDetails.track = trackNames[trackIdx]), - (reusableComponentOptions.start = 0 > root ? 0 : root), - (reusableComponentOptions.end = previousEndTime), - performance.measure( - parentEndTime + " [deduped]", - reusableComponentOptions - )); + var trackIdx = trackIdx$jscomp$0, + startTime = parentEndTime; + if (supportsUserTiming && 0 <= root && 10 > trackIdx) { + var name = response.component.name; + reusableComponentDevToolDetails.color = "tertiary-light"; + reusableComponentDevToolDetails.track = trackNames[trackIdx]; + reusableComponentOptions.start = 0 > startTime ? 0 : startTime; + reusableComponentOptions.end = root; + performance.measure(name + " [deduped]", reusableComponentOptions); + } } response.track = trackIdx$jscomp$0; return response; } var children = root._children; "resolved_model" === root.status && initializeModelChunk(root); - if ((previousEndTime = root._debugInfo)) { - for (trackIdx = 1; trackIdx < previousEndTime.length; trackIdx++) - if ("string" === typeof previousEndTime[trackIdx].name) { - var startTimeInfo = previousEndTime[trackIdx - 1]; - if ("number" === typeof startTimeInfo.time) { - trackIdx = startTimeInfo.time; - trackIdx < trackTime && trackIdx$jscomp$0++; - trackTime = trackIdx; - break; - } + if ((trackIdx = root._debugInfo)) { + for (startTime = 1; startTime < trackIdx.length; startTime++) + if ( + "string" === typeof trackIdx[startTime].name && + ((name = trackIdx[startTime - 1]), "number" === typeof name.time) + ) { + startTime = name.time; + startTime < trackTime && trackIdx$jscomp$0++; + trackTime = startTime; + break; } - for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--) - (startTimeInfo = previousEndTime[trackIdx]), - "number" === typeof startTimeInfo.time && - startTimeInfo.time > parentEndTime && - (parentEndTime = startTimeInfo.time); + for (startTime = trackIdx.length - 1; 0 <= startTime; startTime--) + (name = trackIdx[startTime]), + "number" === typeof name.time && + name.time > parentEndTime && + (parentEndTime = name.time); } - trackIdx = { + startTime = { track: trackIdx$jscomp$0, endTime: -Infinity, component: null }; - root._children = trackIdx; - root = -Infinity; - startTimeInfo = trackIdx$jscomp$0; - var childTrackTime = trackTime; + root._children = startTime; + name = -Infinity; + var childTrackIdx = trackIdx$jscomp$0, + childTrackTime = trackTime; for (trackTime = 0; trackTime < children.length; trackTime++) { childTrackTime = flushComponentPerformance( response, children[trackTime], - startTimeInfo, + childTrackIdx, childTrackTime, parentEndTime ); null !== childTrackTime.component && - (trackIdx.component = childTrackTime.component); - startTimeInfo = childTrackTime.track; + (startTime.component = childTrackTime.component); + childTrackIdx = childTrackTime.track; var childEndTime = childTrackTime.endTime; childTrackTime = childEndTime; - childEndTime > root && (root = childEndTime); + childEndTime > name && (name = childEndTime); } - if (previousEndTime) + if (trackIdx) for ( - parentEndTime = 0, children = previousEndTime.length - 1; + parentEndTime = 0, childTrackIdx = !0, children = trackIdx.length - 1; 0 <= children; children-- ) if ( - ((trackTime = previousEndTime[children]), + ((trackTime = trackIdx[children]), "number" === typeof trackTime.time && ((parentEndTime = trackTime.time), - parentEndTime > root && (root = parentEndTime)), - "string" === typeof trackTime.name && - 0 < children && - ((childTrackTime = previousEndTime[children - 1]), - "number" === typeof childTrackTime.time)) + parentEndTime > name && (name = parentEndTime)), + "string" === typeof trackTime.name && 0 < children) ) { - startTimeInfo = trackIdx$jscomp$0; - childTrackTime = childTrackTime.time; - childEndTime = root; - if (supportsUserTiming && 0 <= childEndTime && 10 > startTimeInfo) { - var env = trackTime.env, - name = trackTime.name, - isPrimaryEnv = env === response._rootEnvironmentName, - selfTime = parentEndTime - childTrackTime; - reusableComponentDevToolDetails.color = - 0.5 > selfTime - ? isPrimaryEnv - ? "primary-light" - : "secondary-light" - : 50 > selfTime - ? isPrimaryEnv - ? "primary" - : "secondary" - : 500 > selfTime - ? isPrimaryEnv - ? "primary-dark" - : "secondary-dark" - : "error"; - reusableComponentDevToolDetails.track = trackNames[startTimeInfo]; - reusableComponentOptions.start = - 0 > childTrackTime ? 0 : childTrackTime; - reusableComponentOptions.end = childEndTime; - performance.measure( - isPrimaryEnv || void 0 === env ? name : name + " [" + env + "]", - reusableComponentOptions - ); + childTrackTime = trackIdx[children - 1]; + if ("number" === typeof childTrackTime.time) { + childTrackTime = childTrackTime.time; + if ( + childTrackIdx && + "rejected" === root.status && + root.reason !== response._closedReason + ) { + var componentInfo = trackTime; + childTrackIdx = trackIdx$jscomp$0; + childEndTime = name; + var rootEnv = response._rootEnvironmentName, + error = root.reason; + if (supportsUserTiming) { + var properties = []; + properties.push([ + "Error", + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error) + ]); + error = componentInfo.env; + componentInfo = componentInfo.name; + componentInfo = + error === rootEnv || void 0 === error + ? componentInfo + : componentInfo + " [" + error + "]"; + performance.measure(componentInfo, { + start: 0 > childTrackTime ? 0 : childTrackTime, + end: childEndTime, + detail: { + devtools: { + color: "error", + track: trackNames[childTrackIdx], + trackGroup: "Server Components \u269b", + tooltipText: componentInfo + " Errored", + properties: properties + } + } + }); + } + } else + (childTrackIdx = trackIdx$jscomp$0), + (childEndTime = name), + supportsUserTiming && + 0 <= childEndTime && + 10 > childTrackIdx && + ((properties = trackTime.env), + (componentInfo = trackTime.name), + (rootEnv = properties === response._rootEnvironmentName), + (error = parentEndTime - childTrackTime), + (reusableComponentDevToolDetails.color = + 0.5 > error + ? rootEnv + ? "primary-light" + : "secondary-light" + : 50 > error + ? rootEnv + ? "primary" + : "secondary" + : 500 > error + ? rootEnv + ? "primary-dark" + : "secondary-dark" + : "error"), + (reusableComponentDevToolDetails.track = + trackNames[childTrackIdx]), + (reusableComponentOptions.start = + 0 > childTrackTime ? 0 : childTrackTime), + (reusableComponentOptions.end = childEndTime), + performance.measure( + rootEnv || void 0 === properties + ? componentInfo + : componentInfo + " [" + properties + "]", + reusableComponentOptions + )); + startTime.component = trackTime; } - trackIdx.component = trackTime; + childTrackIdx = !1; } - trackIdx.endTime = root; - return trackIdx; + startTime.endTime = name; + return startTime; } function processFullBinaryRow(response, id, tag, buffer, chunk) { switch (tag) { 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 1f06202094851..6fc3c75f09cda 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 @@ -2413,124 +2413,166 @@ ) { if (!isArrayImpl(root._children)) { response = root._children; - var previousEndTime = response.endTime; + root = response.endTime; if ( -Infinity < parentEndTime && - parentEndTime < previousEndTime && + parentEndTime < root && null !== response.component ) { - var trackIdx = trackIdx$jscomp$0; - root = parentEndTime; - supportsUserTiming && - 0 <= previousEndTime && - 10 > trackIdx && - ((parentEndTime = response.component.name), - (reusableComponentDevToolDetails.color = "tertiary-light"), - (reusableComponentDevToolDetails.track = trackNames[trackIdx]), - (reusableComponentOptions.start = 0 > root ? 0 : root), - (reusableComponentOptions.end = previousEndTime), - performance.measure( - parentEndTime + " [deduped]", - reusableComponentOptions - )); + var trackIdx = trackIdx$jscomp$0, + startTime = parentEndTime; + if (supportsUserTiming && 0 <= root && 10 > trackIdx) { + var name = response.component.name; + reusableComponentDevToolDetails.color = "tertiary-light"; + reusableComponentDevToolDetails.track = trackNames[trackIdx]; + reusableComponentOptions.start = 0 > startTime ? 0 : startTime; + reusableComponentOptions.end = root; + performance.measure(name + " [deduped]", reusableComponentOptions); + } } response.track = trackIdx$jscomp$0; return response; } var children = root._children; "resolved_model" === root.status && initializeModelChunk(root); - if ((previousEndTime = root._debugInfo)) { - for (trackIdx = 1; trackIdx < previousEndTime.length; trackIdx++) - if ("string" === typeof previousEndTime[trackIdx].name) { - var startTimeInfo = previousEndTime[trackIdx - 1]; - if ("number" === typeof startTimeInfo.time) { - trackIdx = startTimeInfo.time; - trackIdx < trackTime && trackIdx$jscomp$0++; - trackTime = trackIdx; - break; - } + if ((trackIdx = root._debugInfo)) { + for (startTime = 1; startTime < trackIdx.length; startTime++) + if ( + "string" === typeof trackIdx[startTime].name && + ((name = trackIdx[startTime - 1]), "number" === typeof name.time) + ) { + startTime = name.time; + startTime < trackTime && trackIdx$jscomp$0++; + trackTime = startTime; + break; } - for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--) - (startTimeInfo = previousEndTime[trackIdx]), - "number" === typeof startTimeInfo.time && - startTimeInfo.time > parentEndTime && - (parentEndTime = startTimeInfo.time); + for (startTime = trackIdx.length - 1; 0 <= startTime; startTime--) + (name = trackIdx[startTime]), + "number" === typeof name.time && + name.time > parentEndTime && + (parentEndTime = name.time); } - trackIdx = { + startTime = { track: trackIdx$jscomp$0, endTime: -Infinity, component: null }; - root._children = trackIdx; - root = -Infinity; - startTimeInfo = trackIdx$jscomp$0; - var childTrackTime = trackTime; + root._children = startTime; + name = -Infinity; + var childTrackIdx = trackIdx$jscomp$0, + childTrackTime = trackTime; for (trackTime = 0; trackTime < children.length; trackTime++) { childTrackTime = flushComponentPerformance( response, children[trackTime], - startTimeInfo, + childTrackIdx, childTrackTime, parentEndTime ); null !== childTrackTime.component && - (trackIdx.component = childTrackTime.component); - startTimeInfo = childTrackTime.track; + (startTime.component = childTrackTime.component); + childTrackIdx = childTrackTime.track; var childEndTime = childTrackTime.endTime; childTrackTime = childEndTime; - childEndTime > root && (root = childEndTime); + childEndTime > name && (name = childEndTime); } - if (previousEndTime) + if (trackIdx) for ( - parentEndTime = 0, children = previousEndTime.length - 1; + parentEndTime = 0, childTrackIdx = !0, children = trackIdx.length - 1; 0 <= children; children-- ) if ( - ((trackTime = previousEndTime[children]), + ((trackTime = trackIdx[children]), "number" === typeof trackTime.time && ((parentEndTime = trackTime.time), - parentEndTime > root && (root = parentEndTime)), - "string" === typeof trackTime.name && - 0 < children && - ((childTrackTime = previousEndTime[children - 1]), - "number" === typeof childTrackTime.time)) + parentEndTime > name && (name = parentEndTime)), + "string" === typeof trackTime.name && 0 < children) ) { - startTimeInfo = trackIdx$jscomp$0; - childTrackTime = childTrackTime.time; - childEndTime = root; - if (supportsUserTiming && 0 <= childEndTime && 10 > startTimeInfo) { - var env = trackTime.env, - name = trackTime.name, - isPrimaryEnv = env === response._rootEnvironmentName, - selfTime = parentEndTime - childTrackTime; - reusableComponentDevToolDetails.color = - 0.5 > selfTime - ? isPrimaryEnv - ? "primary-light" - : "secondary-light" - : 50 > selfTime - ? isPrimaryEnv - ? "primary" - : "secondary" - : 500 > selfTime - ? isPrimaryEnv - ? "primary-dark" - : "secondary-dark" - : "error"; - reusableComponentDevToolDetails.track = trackNames[startTimeInfo]; - reusableComponentOptions.start = - 0 > childTrackTime ? 0 : childTrackTime; - reusableComponentOptions.end = childEndTime; - performance.measure( - isPrimaryEnv || void 0 === env ? name : name + " [" + env + "]", - reusableComponentOptions - ); + childTrackTime = trackIdx[children - 1]; + if ("number" === typeof childTrackTime.time) { + childTrackTime = childTrackTime.time; + if ( + childTrackIdx && + "rejected" === root.status && + root.reason !== response._closedReason + ) { + var componentInfo = trackTime; + childTrackIdx = trackIdx$jscomp$0; + childEndTime = name; + var rootEnv = response._rootEnvironmentName, + error = root.reason; + if (supportsUserTiming) { + var properties = []; + properties.push([ + "Error", + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error) + ]); + error = componentInfo.env; + componentInfo = componentInfo.name; + componentInfo = + error === rootEnv || void 0 === error + ? componentInfo + : componentInfo + " [" + error + "]"; + performance.measure(componentInfo, { + start: 0 > childTrackTime ? 0 : childTrackTime, + end: childEndTime, + detail: { + devtools: { + color: "error", + track: trackNames[childTrackIdx], + trackGroup: "Server Components \u269b", + tooltipText: componentInfo + " Errored", + properties: properties + } + } + }); + } + } else + (childTrackIdx = trackIdx$jscomp$0), + (childEndTime = name), + supportsUserTiming && + 0 <= childEndTime && + 10 > childTrackIdx && + ((properties = trackTime.env), + (componentInfo = trackTime.name), + (rootEnv = properties === response._rootEnvironmentName), + (error = parentEndTime - childTrackTime), + (reusableComponentDevToolDetails.color = + 0.5 > error + ? rootEnv + ? "primary-light" + : "secondary-light" + : 50 > error + ? rootEnv + ? "primary" + : "secondary" + : 500 > error + ? rootEnv + ? "primary-dark" + : "secondary-dark" + : "error"), + (reusableComponentDevToolDetails.track = + trackNames[childTrackIdx]), + (reusableComponentOptions.start = + 0 > childTrackTime ? 0 : childTrackTime), + (reusableComponentOptions.end = childEndTime), + performance.measure( + rootEnv || void 0 === properties + ? componentInfo + : componentInfo + " [" + properties + "]", + reusableComponentOptions + )); + startTime.component = trackTime; } - trackIdx.component = trackTime; + childTrackIdx = !1; } - trackIdx.endTime = root; - return trackIdx; + startTime.endTime = name; + return startTime; } function processFullBinaryRow(response, id, tag, buffer, chunk) { switch (tag) { 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 8b48a66728e31..465eccae486c8 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 @@ -2375,124 +2375,166 @@ ) { if (!isArrayImpl(root._children)) { response = root._children; - var previousEndTime = response.endTime; + root = response.endTime; if ( -Infinity < parentEndTime && - parentEndTime < previousEndTime && + parentEndTime < root && null !== response.component ) { - var trackIdx = trackIdx$jscomp$0; - root = parentEndTime; - supportsUserTiming && - 0 <= previousEndTime && - 10 > trackIdx && - ((parentEndTime = response.component.name), - (reusableComponentDevToolDetails.color = "tertiary-light"), - (reusableComponentDevToolDetails.track = trackNames[trackIdx]), - (reusableComponentOptions.start = 0 > root ? 0 : root), - (reusableComponentOptions.end = previousEndTime), - performance.measure( - parentEndTime + " [deduped]", - reusableComponentOptions - )); + var trackIdx = trackIdx$jscomp$0, + startTime = parentEndTime; + if (supportsUserTiming && 0 <= root && 10 > trackIdx) { + var name = response.component.name; + reusableComponentDevToolDetails.color = "tertiary-light"; + reusableComponentDevToolDetails.track = trackNames[trackIdx]; + reusableComponentOptions.start = 0 > startTime ? 0 : startTime; + reusableComponentOptions.end = root; + performance.measure(name + " [deduped]", reusableComponentOptions); + } } response.track = trackIdx$jscomp$0; return response; } var children = root._children; "resolved_model" === root.status && initializeModelChunk(root); - if ((previousEndTime = root._debugInfo)) { - for (trackIdx = 1; trackIdx < previousEndTime.length; trackIdx++) - if ("string" === typeof previousEndTime[trackIdx].name) { - var startTimeInfo = previousEndTime[trackIdx - 1]; - if ("number" === typeof startTimeInfo.time) { - trackIdx = startTimeInfo.time; - trackIdx < trackTime && trackIdx$jscomp$0++; - trackTime = trackIdx; - break; - } + if ((trackIdx = root._debugInfo)) { + for (startTime = 1; startTime < trackIdx.length; startTime++) + if ( + "string" === typeof trackIdx[startTime].name && + ((name = trackIdx[startTime - 1]), "number" === typeof name.time) + ) { + startTime = name.time; + startTime < trackTime && trackIdx$jscomp$0++; + trackTime = startTime; + break; } - for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--) - (startTimeInfo = previousEndTime[trackIdx]), - "number" === typeof startTimeInfo.time && - startTimeInfo.time > parentEndTime && - (parentEndTime = startTimeInfo.time); + for (startTime = trackIdx.length - 1; 0 <= startTime; startTime--) + (name = trackIdx[startTime]), + "number" === typeof name.time && + name.time > parentEndTime && + (parentEndTime = name.time); } - trackIdx = { + startTime = { track: trackIdx$jscomp$0, endTime: -Infinity, component: null }; - root._children = trackIdx; - root = -Infinity; - startTimeInfo = trackIdx$jscomp$0; - var childTrackTime = trackTime; + root._children = startTime; + name = -Infinity; + var childTrackIdx = trackIdx$jscomp$0, + childTrackTime = trackTime; for (trackTime = 0; trackTime < children.length; trackTime++) { childTrackTime = flushComponentPerformance( response, children[trackTime], - startTimeInfo, + childTrackIdx, childTrackTime, parentEndTime ); null !== childTrackTime.component && - (trackIdx.component = childTrackTime.component); - startTimeInfo = childTrackTime.track; + (startTime.component = childTrackTime.component); + childTrackIdx = childTrackTime.track; var childEndTime = childTrackTime.endTime; childTrackTime = childEndTime; - childEndTime > root && (root = childEndTime); + childEndTime > name && (name = childEndTime); } - if (previousEndTime) + if (trackIdx) for ( - parentEndTime = 0, children = previousEndTime.length - 1; + parentEndTime = 0, childTrackIdx = !0, children = trackIdx.length - 1; 0 <= children; children-- ) if ( - ((trackTime = previousEndTime[children]), + ((trackTime = trackIdx[children]), "number" === typeof trackTime.time && ((parentEndTime = trackTime.time), - parentEndTime > root && (root = parentEndTime)), - "string" === typeof trackTime.name && - 0 < children && - ((childTrackTime = previousEndTime[children - 1]), - "number" === typeof childTrackTime.time)) + parentEndTime > name && (name = parentEndTime)), + "string" === typeof trackTime.name && 0 < children) ) { - startTimeInfo = trackIdx$jscomp$0; - childTrackTime = childTrackTime.time; - childEndTime = root; - if (supportsUserTiming && 0 <= childEndTime && 10 > startTimeInfo) { - var env = trackTime.env, - name = trackTime.name, - isPrimaryEnv = env === response._rootEnvironmentName, - selfTime = parentEndTime - childTrackTime; - reusableComponentDevToolDetails.color = - 0.5 > selfTime - ? isPrimaryEnv - ? "primary-light" - : "secondary-light" - : 50 > selfTime - ? isPrimaryEnv - ? "primary" - : "secondary" - : 500 > selfTime - ? isPrimaryEnv - ? "primary-dark" - : "secondary-dark" - : "error"; - reusableComponentDevToolDetails.track = trackNames[startTimeInfo]; - reusableComponentOptions.start = - 0 > childTrackTime ? 0 : childTrackTime; - reusableComponentOptions.end = childEndTime; - performance.measure( - isPrimaryEnv || void 0 === env ? name : name + " [" + env + "]", - reusableComponentOptions - ); + childTrackTime = trackIdx[children - 1]; + if ("number" === typeof childTrackTime.time) { + childTrackTime = childTrackTime.time; + if ( + childTrackIdx && + "rejected" === root.status && + root.reason !== response._closedReason + ) { + var componentInfo = trackTime; + childTrackIdx = trackIdx$jscomp$0; + childEndTime = name; + var rootEnv = response._rootEnvironmentName, + error = root.reason; + if (supportsUserTiming) { + var properties = []; + properties.push([ + "Error", + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error) + ]); + error = componentInfo.env; + componentInfo = componentInfo.name; + componentInfo = + error === rootEnv || void 0 === error + ? componentInfo + : componentInfo + " [" + error + "]"; + performance.measure(componentInfo, { + start: 0 > childTrackTime ? 0 : childTrackTime, + end: childEndTime, + detail: { + devtools: { + color: "error", + track: trackNames[childTrackIdx], + trackGroup: "Server Components \u269b", + tooltipText: componentInfo + " Errored", + properties: properties + } + } + }); + } + } else + (childTrackIdx = trackIdx$jscomp$0), + (childEndTime = name), + supportsUserTiming && + 0 <= childEndTime && + 10 > childTrackIdx && + ((properties = trackTime.env), + (componentInfo = trackTime.name), + (rootEnv = properties === response._rootEnvironmentName), + (error = parentEndTime - childTrackTime), + (reusableComponentDevToolDetails.color = + 0.5 > error + ? rootEnv + ? "primary-light" + : "secondary-light" + : 50 > error + ? rootEnv + ? "primary" + : "secondary" + : 500 > error + ? rootEnv + ? "primary-dark" + : "secondary-dark" + : "error"), + (reusableComponentDevToolDetails.track = + trackNames[childTrackIdx]), + (reusableComponentOptions.start = + 0 > childTrackTime ? 0 : childTrackTime), + (reusableComponentOptions.end = childEndTime), + performance.measure( + rootEnv || void 0 === properties + ? componentInfo + : componentInfo + " [" + properties + "]", + reusableComponentOptions + )); + startTime.component = trackTime; } - trackIdx.component = trackTime; + childTrackIdx = !1; } - trackIdx.endTime = root; - return trackIdx; + startTime.endTime = name; + return startTime; } function processFullBinaryRow(response, id, tag, buffer, chunk) { switch (tag) { 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 cd5833258786a..47ad1e73b8a91 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-518d06d2-20241219", - "react-dom": "0.0.0-experimental-518d06d2-20241219", + "react": "0.0.0-experimental-c01b8058-20241229", + "react-dom": "0.0.0-experimental-c01b8058-20241229", "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 20ea4cfeb916c..bf903a90e118c 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 @@ -2475,10 +2475,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.1.0-canary-518d06d2-20241219", + version: "19.1.0-canary-c01b8058-20241229", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-canary-518d06d2-20241219", + reconcilerVersion: "19.1.0-canary-c01b8058-20241229", getCurrentComponentInfo: function () { return currentOwnerInDEV; } 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 923dab255ad40..cfdfb2794dd96 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.1.0-canary-518d06d2-20241219", - "react-dom": "19.1.0-canary-518d06d2-20241219", + "react": "19.1.0-canary-c01b8058-20241229", + "react-dom": "19.1.0-canary-c01b8058-20241229", "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 8b65a7719f34f..862f835e0dbda 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.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; "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 73021fd1a3ee1..f68bd55dd3cc1 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.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; 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 4ea2f58cececc..4f775ae8ddbae 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.1.0-canary-518d06d2-20241219"; + exports.version = "19.1.0-canary-c01b8058-20241229"; })(); 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 4f66b3d4950c9..febd88b18059e 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.1.0-canary-518d06d2-20241219"; +exports.version = "19.1.0-canary-c01b8058-20241229"; diff --git a/packages/next/src/compiled/unistore/unistore.js b/packages/next/src/compiled/unistore/unistore.js index 5727e205d68b2..e20aa428a869c 100644 --- a/packages/next/src/compiled/unistore/unistore.js +++ b/packages/next/src/compiled/unistore/unistore.js @@ -1 +1 @@ -(()=>{var t={275: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={284: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