Skip to content

Commit dcfed47

Browse files
committed
ncc-compiled
1 parent 6c6c066 commit dcfed47

File tree

56 files changed

+2481
-1731
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2481
-1731
lines changed

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -24615,11 +24615,11 @@
2461524615
};
2461624616
(function () {
2461724617
var isomorphicReactPackageVersion = React.version;
24618-
if ("19.0.0-experimental-f90a6bcc-20240827" !== isomorphicReactPackageVersion)
24618+
if ("19.0.0-experimental-7771d3a7-20240827" !== isomorphicReactPackageVersion)
2461924619
throw Error(
2462024620
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2462124621
(isomorphicReactPackageVersion +
24622-
"\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
24622+
"\n - react-dom: 19.0.0-experimental-7771d3a7-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
2462324623
);
2462424624
})();
2462524625
("function" === typeof Map &&
@@ -24656,11 +24656,11 @@
2465624656
!(function () {
2465724657
var internals = {
2465824658
bundleType: 1,
24659-
version: "19.0.0-experimental-f90a6bcc-20240827",
24659+
version: "19.0.0-experimental-7771d3a7-20240827",
2466024660
rendererPackageName: "react-dom",
2466124661
currentDispatcherRef: ReactSharedInternals,
2466224662
findFiberByHostInstance: getClosestInstanceFromNode,
24663-
reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827"
24663+
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827"
2466424664
};
2466524665
internals.overrideHookState = overrideHookState;
2466624666
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -24804,7 +24804,7 @@
2480424804
listenToAllSupportedEvents(container);
2480524805
return new ReactDOMHydrationRoot(initialChildren);
2480624806
};
24807-
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
24807+
exports.version = "19.0.0-experimental-7771d3a7-20240827";
2480824808
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2480924809
"function" ===
2481024810
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -15014,14 +15014,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1501415014
};
1501515015
var isomorphicReactPackageVersion$jscomp$inline_1635 = React.version;
1501615016
if (
15017-
"19.0.0-experimental-f90a6bcc-20240827" !==
15017+
"19.0.0-experimental-7771d3a7-20240827" !==
1501815018
isomorphicReactPackageVersion$jscomp$inline_1635
1501915019
)
1502015020
throw Error(
1502115021
formatProdErrorMessage(
1502215022
527,
1502315023
isomorphicReactPackageVersion$jscomp$inline_1635,
15024-
"19.0.0-experimental-f90a6bcc-20240827"
15024+
"19.0.0-experimental-7771d3a7-20240827"
1502515025
)
1502615026
);
1502715027
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15043,11 +15043,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1504315043
};
1504415044
var internals$jscomp$inline_2043 = {
1504515045
bundleType: 0,
15046-
version: "19.0.0-experimental-f90a6bcc-20240827",
15046+
version: "19.0.0-experimental-7771d3a7-20240827",
1504715047
rendererPackageName: "react-dom",
1504815048
currentDispatcherRef: ReactSharedInternals,
1504915049
findFiberByHostInstance: getClosestInstanceFromNode,
15050-
reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827"
15050+
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827"
1505115051
};
1505215052
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1505315053
var hook$jscomp$inline_2044 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15151,4 +15151,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1515115151
listenToAllSupportedEvents(container);
1515215152
return new ReactDOMHydrationRoot(initialChildren);
1515315153
};
15154-
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
15154+
exports.version = "19.0.0-experimental-7771d3a7-20240827";

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -24672,11 +24672,11 @@
2467224672
};
2467324673
(function () {
2467424674
var isomorphicReactPackageVersion = React.version;
24675-
if ("19.0.0-experimental-f90a6bcc-20240827" !== isomorphicReactPackageVersion)
24675+
if ("19.0.0-experimental-7771d3a7-20240827" !== isomorphicReactPackageVersion)
2467624676
throw Error(
2467724677
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2467824678
(isomorphicReactPackageVersion +
24679-
"\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
24679+
"\n - react-dom: 19.0.0-experimental-7771d3a7-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
2468024680
);
2468124681
})();
2468224682
("function" === typeof Map &&
@@ -24713,11 +24713,11 @@
2471324713
!(function () {
2471424714
var internals = {
2471524715
bundleType: 1,
24716-
version: "19.0.0-experimental-f90a6bcc-20240827",
24716+
version: "19.0.0-experimental-7771d3a7-20240827",
2471724717
rendererPackageName: "react-dom",
2471824718
currentDispatcherRef: ReactSharedInternals,
2471924719
findFiberByHostInstance: getClosestInstanceFromNode,
24720-
reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827"
24720+
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827"
2472124721
};
2472224722
internals.overrideHookState = overrideHookState;
2472324723
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25191,7 +25191,7 @@
2519125191
exports.useFormStatus = function () {
2519225192
return resolveDispatcher().useHostTransitionStatus();
2519325193
};
25194-
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
25194+
exports.version = "19.0.0-experimental-7771d3a7-20240827";
2519525195
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2519625196
"function" ===
2519725197
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -15717,14 +15717,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1571715717
};
1571815718
var isomorphicReactPackageVersion$jscomp$inline_1724 = React.version;
1571915719
if (
15720-
"19.0.0-experimental-f90a6bcc-20240827" !==
15720+
"19.0.0-experimental-7771d3a7-20240827" !==
1572115721
isomorphicReactPackageVersion$jscomp$inline_1724
1572215722
)
1572315723
throw Error(
1572415724
formatProdErrorMessage(
1572515725
527,
1572615726
isomorphicReactPackageVersion$jscomp$inline_1724,
15727-
"19.0.0-experimental-f90a6bcc-20240827"
15727+
"19.0.0-experimental-7771d3a7-20240827"
1572815728
)
1572915729
);
1573015730
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15746,11 +15746,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1574615746
};
1574715747
var internals$jscomp$inline_1731 = {
1574815748
bundleType: 0,
15749-
version: "19.0.0-experimental-f90a6bcc-20240827",
15749+
version: "19.0.0-experimental-7771d3a7-20240827",
1575015750
rendererPackageName: "react-dom",
1575115751
currentDispatcherRef: ReactSharedInternals,
1575215752
findFiberByHostInstance: getClosestInstanceFromNode,
15753-
reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827",
15753+
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827",
1575415754
getLaneLabelMap: function () {
1575515755
for (
1575615756
var map = new Map(), lane = 1, index$292 = 0;
@@ -16030,7 +16030,7 @@ exports.useFormState = function (action, initialState, permalink) {
1603016030
exports.useFormStatus = function () {
1603116031
return ReactSharedInternals.H.useHostTransitionStatus();
1603216032
};
16033-
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
16033+
exports.version = "19.0.0-experimental-7771d3a7-20240827";
1603416034
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1603516035
"function" ===
1603616036
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js

+100-60
Original file line numberDiff line numberDiff line change
@@ -6300,6 +6300,57 @@
63006300
void 0 !== boundary &&
63016301
((boundary.length = 4), (boundary[2] = []), (boundary[3] = null))));
63026302
}
6303+
function spawnNewSuspendedReplayTask(request, task, thenableState) {
6304+
return createReplayTask(
6305+
request,
6306+
thenableState,
6307+
task.replay,
6308+
task.node,
6309+
task.childIndex,
6310+
task.blockedBoundary,
6311+
task.hoistableState,
6312+
task.abortSet,
6313+
task.keyPath,
6314+
task.formatContext,
6315+
task.context,
6316+
task.treeContext,
6317+
task.componentStack,
6318+
task.isFallback,
6319+
emptyContextObject,
6320+
task.debugTask
6321+
);
6322+
}
6323+
function spawnNewSuspendedRenderTask(request, task, thenableState) {
6324+
var segment = task.blockedSegment,
6325+
newSegment = createPendingSegment(
6326+
request,
6327+
segment.chunks.length,
6328+
null,
6329+
task.formatContext,
6330+
segment.lastPushedText,
6331+
!0
6332+
);
6333+
segment.children.push(newSegment);
6334+
segment.lastPushedText = !1;
6335+
return createRenderTask(
6336+
request,
6337+
thenableState,
6338+
task.node,
6339+
task.childIndex,
6340+
task.blockedBoundary,
6341+
newSegment,
6342+
task.hoistableState,
6343+
task.abortSet,
6344+
task.keyPath,
6345+
task.formatContext,
6346+
task.context,
6347+
task.treeContext,
6348+
task.componentStack,
6349+
task.isFallback,
6350+
emptyContextObject,
6351+
task.debugTask
6352+
);
6353+
}
63036354
function renderNode(request, task, node, childIndex) {
63046355
var previousFormatContext = task.formatContext,
63056356
previousContext = task.context,
@@ -6318,39 +6369,39 @@
63186369
thrownValue === SuspenseException
63196370
? getSuspendedThenable()
63206371
: thrownValue),
6321-
"object" === typeof childIndex &&
6322-
null !== childIndex &&
6323-
"function" === typeof childIndex.then)
6372+
"object" === typeof childIndex && null !== childIndex)
63246373
) {
6325-
node = childIndex;
6326-
childIndex = getThenableStateAfterSuspending();
6327-
request = createReplayTask(
6328-
request,
6329-
childIndex,
6330-
task.replay,
6331-
task.node,
6332-
task.childIndex,
6333-
task.blockedBoundary,
6334-
task.hoistableState,
6335-
task.abortSet,
6336-
task.keyPath,
6337-
task.formatContext,
6338-
task.context,
6339-
task.treeContext,
6340-
task.componentStack,
6341-
task.isFallback,
6342-
emptyContextObject,
6343-
task.debugTask
6344-
).ping;
6345-
node.then(request, request);
6346-
task.formatContext = previousFormatContext;
6347-
task.context = previousContext;
6348-
task.keyPath = previousKeyPath;
6349-
task.treeContext = previousTreeContext;
6350-
task.componentStack = previousComponentStack;
6351-
task.debugTask = previousDebugTask;
6352-
switchContext(previousContext);
6353-
return;
6374+
if ("function" === typeof childIndex.then) {
6375+
node = childIndex;
6376+
childIndex = getThenableStateAfterSuspending();
6377+
request = spawnNewSuspendedReplayTask(
6378+
request,
6379+
task,
6380+
childIndex
6381+
).ping;
6382+
node.then(request, request);
6383+
task.formatContext = previousFormatContext;
6384+
task.context = previousContext;
6385+
task.keyPath = previousKeyPath;
6386+
task.treeContext = previousTreeContext;
6387+
task.componentStack = previousComponentStack;
6388+
task.debugTask = previousDebugTask;
6389+
switchContext(previousContext);
6390+
return;
6391+
}
6392+
if ("Maximum call stack size exceeded" === childIndex.message) {
6393+
node = getThenableStateAfterSuspending();
6394+
node = spawnNewSuspendedReplayTask(request, task, node);
6395+
request.pingedTasks.push(node);
6396+
task.formatContext = previousFormatContext;
6397+
task.context = previousContext;
6398+
task.keyPath = previousKeyPath;
6399+
task.treeContext = previousTreeContext;
6400+
task.componentStack = previousComponentStack;
6401+
task.debugTask = previousDebugTask;
6402+
switchContext(previousContext);
6403+
return;
6404+
}
63546405
}
63556406
}
63566407
else {
@@ -6372,34 +6423,10 @@
63726423
if ("function" === typeof childIndex.then) {
63736424
node = childIndex;
63746425
childIndex = getThenableStateAfterSuspending();
6375-
segment = task.blockedSegment;
6376-
childrenLength = createPendingSegment(
6426+
request = spawnNewSuspendedRenderTask(
63776427
request,
6378-
segment.chunks.length,
6379-
null,
6380-
task.formatContext,
6381-
segment.lastPushedText,
6382-
!0
6383-
);
6384-
segment.children.push(childrenLength);
6385-
segment.lastPushedText = !1;
6386-
request = createRenderTask(
6387-
request,
6388-
childIndex,
6389-
task.node,
6390-
task.childIndex,
6391-
task.blockedBoundary,
6392-
childrenLength,
6393-
task.hoistableState,
6394-
task.abortSet,
6395-
task.keyPath,
6396-
task.formatContext,
6397-
task.context,
6398-
task.treeContext,
6399-
task.componentStack,
6400-
task.isFallback,
6401-
emptyContextObject,
6402-
task.debugTask
6428+
task,
6429+
childIndex
64036430
).ping;
64046431
node.then(request, request);
64056432
task.formatContext = previousFormatContext;
@@ -6440,6 +6467,19 @@
64406467
switchContext(previousContext);
64416468
return;
64426469
}
6470+
if ("Maximum call stack size exceeded" === childIndex.message) {
6471+
node = getThenableStateAfterSuspending();
6472+
node = spawnNewSuspendedRenderTask(request, task, node);
6473+
request.pingedTasks.push(node);
6474+
task.formatContext = previousFormatContext;
6475+
task.context = previousContext;
6476+
task.keyPath = previousKeyPath;
6477+
task.treeContext = previousTreeContext;
6478+
task.componentStack = previousComponentStack;
6479+
task.debugTask = previousDebugTask;
6480+
switchContext(previousContext);
6481+
return;
6482+
}
64436483
}
64446484
}
64456485
}
@@ -9251,5 +9291,5 @@
92519291
'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'
92529292
);
92539293
};
9254-
exports.version = "19.0.0-experimental-f90a6bcc-20240827";
9294+
exports.version = "19.0.0-experimental-7771d3a7-20240827";
92559295
})();

0 commit comments

Comments
 (0)