Skip to content

Commit 5a23be0

Browse files
ncc-compiled
1 parent f528ff0 commit 5a23be0

File tree

112 files changed

+2465
-1707
lines changed

Some content is hidden

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

112 files changed

+2465
-1707
lines changed

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

Lines changed: 362 additions & 261 deletions
Large diffs are not rendered by default.

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

Lines changed: 59 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -10512,7 +10512,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
1051210512
workInProgressDeferredLane,
1051310513
workInProgressRootInterleavedUpdatedLanes,
1051410514
workInProgressSuspendedRetryLanes,
10515-
workInProgressRootDidSkipSuspendedSiblings
10515+
workInProgressRootDidSkipSuspendedSiblings,
10516+
2,
10517+
-0,
10518+
0
1051610519
),
1051710520
didTimeout
1051810521
);
@@ -10528,7 +10531,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
1052810531
workInProgressDeferredLane,
1052910532
workInProgressRootInterleavedUpdatedLanes,
1053010533
workInProgressSuspendedRetryLanes,
10531-
workInProgressRootDidSkipSuspendedSiblings
10534+
workInProgressRootDidSkipSuspendedSiblings,
10535+
0,
10536+
-0,
10537+
0
1053210538
);
1053310539
}
1053410540
}
@@ -10583,7 +10589,10 @@ function commitRootWhenReady(
1058310589
spawnedLane,
1058410590
updatedLanes,
1058510591
suspendedRetryLanes,
10586-
didSkipSuspendedSiblings
10592+
didSkipSuspendedSiblings,
10593+
suspendedCommitReason,
10594+
completedRenderStartTime,
10595+
completedRenderEndTime
1058710596
) {
1058810597
var subtreeFlags = finishedWork.subtreeFlags;
1058910598
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
@@ -10602,7 +10611,8 @@ function commitRootWhenReady(
1060210611
didIncludeRenderPhaseUpdate,
1060310612
spawnedLane,
1060410613
updatedLanes,
10605-
suspendedRetryLanes
10614+
suspendedRetryLanes,
10615+
1
1060610616
)
1060710617
);
1060810618
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
@@ -10615,7 +10625,10 @@ function commitRootWhenReady(
1061510625
didIncludeRenderPhaseUpdate,
1061610626
spawnedLane,
1061710627
updatedLanes,
10618-
suspendedRetryLanes
10628+
suspendedRetryLanes,
10629+
suspendedCommitReason,
10630+
completedRenderStartTime,
10631+
completedRenderEndTime
1061910632
);
1062010633
}
1062110634
function isRenderConsistentWithExternalStores(finishedWork) {
@@ -10727,7 +10740,10 @@ function performSyncWorkOnRoot(root, lanes) {
1072710740
workInProgressRootDidIncludeRecursiveRenderUpdate,
1072810741
workInProgressDeferredLane,
1072910742
workInProgressRootInterleavedUpdatedLanes,
10730-
workInProgressSuspendedRetryLanes
10743+
workInProgressSuspendedRetryLanes,
10744+
0,
10745+
-0,
10746+
0
1073110747
);
1073210748
ensureRootIsScheduled(root);
1073310749
return null;
@@ -11168,7 +11184,10 @@ function commitRoot(
1116811184
didIncludeRenderPhaseUpdate,
1116911185
spawnedLane,
1117011186
updatedLanes,
11171-
suspendedRetryLanes
11187+
suspendedRetryLanes,
11188+
suspendedCommitReason,
11189+
completedRenderStartTime,
11190+
completedRenderEndTime
1117211191
) {
1117311192
var prevTransition = ReactSharedInternals.T,
1117411193
previousUpdateLanePriority = ReactDOMSharedInternals.p;
@@ -11183,7 +11202,10 @@ function commitRoot(
1118311202
previousUpdateLanePriority,
1118411203
spawnedLane,
1118511204
updatedLanes,
11186-
suspendedRetryLanes
11205+
suspendedRetryLanes,
11206+
suspendedCommitReason,
11207+
completedRenderStartTime,
11208+
completedRenderEndTime
1118711209
);
1118811210
} finally {
1118911211
(ReactSharedInternals.T = prevTransition),
@@ -11234,7 +11256,7 @@ function commitRootImpl(
1123411256
(pendingPassiveEffectsRemainingLanes = remainingLanes),
1123511257
(pendingPassiveTransitions = transitions),
1123611258
scheduleCallback$1(NormalPriority$1, function () {
11237-
flushPassiveEffects();
11259+
flushPassiveEffects(!0);
1123811260
return null;
1123911261
}));
1124011262
transitions = 0 !== (finishedWork.flags & 15990);
@@ -11458,7 +11480,7 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
1145811480
retryTimedOutBoundary(boundaryFiber, retryLane);
1145911481
}
1146011482
function throwIfInfiniteUpdateLoopDetected() {
11461-
if (50 < nestedUpdateCount)
11483+
if (100 < nestedUpdateCount)
1146211484
throw (
1146311485
((nestedUpdateCount = 0),
1146411486
(rootWithNestedUpdates = null),
@@ -11735,20 +11757,20 @@ function extractEvents$1(
1173511757
}
1173611758
}
1173711759
for (
11738-
var i$jscomp$inline_1404 = 0;
11739-
i$jscomp$inline_1404 < simpleEventPluginEvents.length;
11740-
i$jscomp$inline_1404++
11760+
var i$jscomp$inline_1407 = 0;
11761+
i$jscomp$inline_1407 < simpleEventPluginEvents.length;
11762+
i$jscomp$inline_1407++
1174111763
) {
11742-
var eventName$jscomp$inline_1405 =
11743-
simpleEventPluginEvents[i$jscomp$inline_1404],
11744-
domEventName$jscomp$inline_1406 =
11745-
eventName$jscomp$inline_1405.toLowerCase(),
11746-
capitalizedEvent$jscomp$inline_1407 =
11747-
eventName$jscomp$inline_1405[0].toUpperCase() +
11748-
eventName$jscomp$inline_1405.slice(1);
11764+
var eventName$jscomp$inline_1408 =
11765+
simpleEventPluginEvents[i$jscomp$inline_1407],
11766+
domEventName$jscomp$inline_1409 =
11767+
eventName$jscomp$inline_1408.toLowerCase(),
11768+
capitalizedEvent$jscomp$inline_1410 =
11769+
eventName$jscomp$inline_1408[0].toUpperCase() +
11770+
eventName$jscomp$inline_1408.slice(1);
1174911771
registerSimpleEvent(
11750-
domEventName$jscomp$inline_1406,
11751-
"on" + capitalizedEvent$jscomp$inline_1407
11772+
domEventName$jscomp$inline_1409,
11773+
"on" + capitalizedEvent$jscomp$inline_1410
1175211774
);
1175311775
}
1175411776
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15189,16 +15211,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1518915211
0 === i && attemptExplicitHydrationTarget(target);
1519015212
}
1519115213
};
15192-
var isomorphicReactPackageVersion$jscomp$inline_1651 = React.version;
15214+
var isomorphicReactPackageVersion$jscomp$inline_1654 = React.version;
1519315215
if (
15194-
"19.0.0-experimental-5d19e1c8-20240923" !==
15195-
isomorphicReactPackageVersion$jscomp$inline_1651
15216+
"19.0.0-experimental-f9ebd85a-20240925" !==
15217+
isomorphicReactPackageVersion$jscomp$inline_1654
1519615218
)
1519715219
throw Error(
1519815220
formatProdErrorMessage(
1519915221
527,
15200-
isomorphicReactPackageVersion$jscomp$inline_1651,
15201-
"19.0.0-experimental-5d19e1c8-20240923"
15222+
isomorphicReactPackageVersion$jscomp$inline_1654,
15223+
"19.0.0-experimental-f9ebd85a-20240925"
1520215224
)
1520315225
);
1520415226
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15218,25 +15240,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1521815240
null === componentOrElement ? null : componentOrElement.stateNode;
1521915241
return componentOrElement;
1522015242
};
15221-
var internals$jscomp$inline_2111 = {
15243+
var internals$jscomp$inline_2114 = {
1522215244
bundleType: 0,
15223-
version: "19.0.0-experimental-5d19e1c8-20240923",
15245+
version: "19.0.0-experimental-f9ebd85a-20240925",
1522415246
rendererPackageName: "react-dom",
1522515247
currentDispatcherRef: ReactSharedInternals,
1522615248
findFiberByHostInstance: getClosestInstanceFromNode,
15227-
reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923"
15249+
reconcilerVersion: "19.0.0-experimental-f9ebd85a-20240925"
1522815250
};
1522915251
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15230-
var hook$jscomp$inline_2112 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15252+
var hook$jscomp$inline_2115 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
1523115253
if (
15232-
!hook$jscomp$inline_2112.isDisabled &&
15233-
hook$jscomp$inline_2112.supportsFiber
15254+
!hook$jscomp$inline_2115.isDisabled &&
15255+
hook$jscomp$inline_2115.supportsFiber
1523415256
)
1523515257
try {
15236-
(rendererID = hook$jscomp$inline_2112.inject(
15237-
internals$jscomp$inline_2111
15258+
(rendererID = hook$jscomp$inline_2115.inject(
15259+
internals$jscomp$inline_2114
1523815260
)),
15239-
(injectedHook = hook$jscomp$inline_2112);
15261+
(injectedHook = hook$jscomp$inline_2115);
1524015262
} catch (err) {}
1524115263
}
1524215264
exports.createRoot = function (container, options) {
@@ -15328,4 +15350,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1532815350
listenToAllSupportedEvents(container);
1532915351
return new ReactDOMHydrationRoot(initialChildren);
1533015352
};
15331-
exports.version = "19.0.0-experimental-5d19e1c8-20240923";
15353+
exports.version = "19.0.0-experimental-f9ebd85a-20240925";

0 commit comments

Comments
 (0)