Skip to content

Commit 3befc25

Browse files
ncc-compiled
1 parent b1d6ca2 commit 3befc25

File tree

60 files changed

+5071
-4708
lines changed

Some content is hidden

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

60 files changed

+5071
-4708
lines changed

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

+445-418
Large diffs are not rendered by default.

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

+385-344
Large diffs are not rendered by default.

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

+445-418
Large diffs are not rendered by default.

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

+419-382
Large diffs are not rendered by default.

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

+24-21
Original file line numberDiff line numberDiff line change
@@ -4322,7 +4322,7 @@
43224322
this.rootFormatContext = rootFormatContext;
43234323
this.progressiveChunkSize =
43244324
void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
4325-
this.status = 0;
4325+
this.status = 10;
43264326
this.fatalError = null;
43274327
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
43284328
this.completedRootSegment = null;
@@ -4696,7 +4696,7 @@
46964696
: (errorInfo(error), onFatalError(error));
46974697
null !== request.destination
46984698
? ((request.status = CLOSED), request.destination.destroy(error))
4699-
: ((request.status = 2), (request.fatalError = error));
4699+
: ((request.status = 13), (request.fatalError = error));
47004700
}
47014701
function renderWithHooks(
47024702
request,
@@ -5129,7 +5129,7 @@
51295129
} else internalInstance.queue = null;
51305130
}
51315131
var nextChildren = callRenderInDEV(instance);
5132-
if (1 === request.status) throw null;
5132+
if (12 === request.status) throw null;
51335133
instance.props !== resolvedProps &&
51345134
(didWarnAboutReassigningProps ||
51355135
console.error(
@@ -5161,7 +5161,7 @@
51615161
props,
51625162
void 0
51635163
);
5164-
if (1 === request.status) throw null;
5164+
if (12 === request.status) throw null;
51655165
var hasId = 0 !== localIdCounter,
51665166
actionStateCount = actionStateCounter,
51675167
actionStateMatchingIndex$jscomp$0 = actionStateMatchingIndex;
@@ -5385,7 +5385,7 @@
53855385
(boundarySegment.status = COMPLETED);
53865386
} catch (thrownValue) {
53875387
throw (
5388-
((boundarySegment.status = 1 === request.status ? 3 : 4),
5388+
((boundarySegment.status = 12 === request.status ? 3 : 4),
53895389
thrownValue)
53905390
);
53915391
} finally {
@@ -5437,7 +5437,7 @@
54375437
}
54385438
} catch (thrownValue$2) {
54395439
newBoundary.status = CLIENT_RENDERED;
5440-
if (1 === request.status) {
5440+
if (12 === request.status) {
54415441
contentRootSegment.status = 3;
54425442
var error = request.fatalError;
54435443
} else
@@ -5598,7 +5598,7 @@
55985598
return;
55995599
case REACT_LAZY_TYPE:
56005600
var Component = callLazyInitInDEV(type);
5601-
if (1 === request.status) throw null;
5601+
if (12 === request.status) throw null;
56025602
renderElement(request, task, keyPath, Component, props, ref);
56035603
return;
56045604
}
@@ -5890,7 +5890,7 @@
58905890
);
58915891
case REACT_LAZY_TYPE:
58925892
node = callLazyInitInDEV(node);
5893-
if (1 === request.status) throw null;
5893+
if (12 === request.status) throw null;
58945894
renderNodeDestructive(request, task, node, childIndex);
58955895
return;
58965896
}
@@ -6600,7 +6600,7 @@
66006600
}
66016601
var errorInfo = getThrownInfo(task.componentStack);
66026602
if (null === boundary) {
6603-
if (2 !== request.status && request.status !== CLOSED) {
6603+
if (13 !== request.status && request.status !== CLOSED) {
66046604
boundary = task.replay;
66056605
if (null === boundary) {
66066606
"object" === typeof error &&
@@ -6833,7 +6833,10 @@
68336833
0 === request.allPendingTasks && completeAll(request);
68346834
}
68356835
function performWork(request$jscomp$1) {
6836-
if (request$jscomp$1.status !== CLOSED && 2 !== request$jscomp$1.status) {
6836+
if (
6837+
request$jscomp$1.status !== CLOSED &&
6838+
13 !== request$jscomp$1.status
6839+
) {
68376840
var prevContext = currentActiveSnapshot,
68386841
prevDispatcher = ReactSharedInternals.H;
68396842
ReactSharedInternals.H = HooksDispatcher;
@@ -6901,7 +6904,7 @@
69016904
erroredReplay(
69026905
request$jscomp$0,
69036906
request.blockedBoundary,
6904-
1 === request$jscomp$0.status
6907+
12 === request$jscomp$0.status
69056908
? request$jscomp$0.fatalError
69066909
: x,
69076910
errorInfo,
@@ -6954,11 +6957,11 @@
69546957
var x$jscomp$0 =
69556958
thrownValue === SuspenseException
69566959
? getSuspendedThenable()
6957-
: 1 === request.status
6960+
: 12 === request.status
69586961
? request.fatalError
69596962
: thrownValue;
69606963
if (
6961-
1 === request.status &&
6964+
12 === request.status &&
69626965
null !== request.trackedPostpones
69636966
) {
69646967
var trackedPostpones = request.trackedPostpones,
@@ -7705,10 +7708,10 @@
77057708
}
77067709
function startWork(request) {
77077710
request.flushScheduled = null !== request.destination;
7708-
null !== request.trackedPostpones
7709-
? performWork(request)
7710-
: (performWork(request),
7711-
safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks));
7711+
performWork(request);
7712+
10 === request.status && (request.status = 11);
7713+
null === request.trackedPostpones &&
7714+
safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks);
77127715
}
77137716
function enqueueFlush(request) {
77147717
if (
@@ -7724,7 +7727,7 @@
77247727
}
77257728
}
77267729
function startFlowing(request, destination) {
7727-
if (2 === request.status)
7730+
if (13 === request.status)
77287731
(request.status = CLOSED), destination.destroy(request.fatalError);
77297732
else if (request.status !== CLOSED && null === request.destination) {
77307733
request.destination = destination;
@@ -7738,7 +7741,7 @@
77387741
}
77397742
}
77407743
function abort(request, reason) {
7741-
0 === request.status && (request.status = 1);
7744+
if (11 === request.status || 10 === request.status) request.status = 12;
77427745
try {
77437746
var abortableTasks = request.abortableTasks;
77447747
if (0 < abortableTasks.size) {
@@ -9263,7 +9266,7 @@
92639266
COMPLETED = 1,
92649267
FLUSHED = 2,
92659268
POSTPONED = 5,
9266-
CLOSED = 3,
9269+
CLOSED = 14,
92679270
currentRequest = null,
92689271
didWarnAboutBadClass = {},
92699272
didWarnAboutContextTypes = {},
@@ -9288,5 +9291,5 @@
92889291
'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'
92899292
);
92909293
};
9291-
exports.version = "19.0.0-experimental-778e1ed2-20240926";
9294+
exports.version = "19.0.0-experimental-67fee58b-20240926";
92929295
})();

0 commit comments

Comments
 (0)