react-dom 19.3.0-canary-67f7d47a-20251103 → 19.3.0-canary-dd048c3b-20251105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +194 -140
- package/cjs/react-dom-client.production.js +250 -205
- package/cjs/react-dom-profiling.development.js +194 -140
- package/cjs/react-dom-profiling.profiling.js +274 -229
- package/cjs/react-dom-server-legacy.browser.development.js +147 -149
- package/cjs/react-dom-server-legacy.browser.production.js +70 -92
- package/cjs/react-dom-server-legacy.node.development.js +147 -149
- package/cjs/react-dom-server-legacy.node.production.js +70 -92
- package/cjs/react-dom-server.browser.development.js +159 -171
- package/cjs/react-dom-server.browser.production.js +80 -112
- package/cjs/react-dom-server.bun.development.js +150 -176
- package/cjs/react-dom-server.bun.production.js +83 -119
- package/cjs/react-dom-server.edge.development.js +159 -171
- package/cjs/react-dom-server.edge.production.js +80 -112
- package/cjs/react-dom-server.node.development.js +162 -178
- package/cjs/react-dom-server.node.production.js +83 -119
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
|
@@ -4578,7 +4578,6 @@
|
|
|
4578
4578
|
onShellReady,
|
|
4579
4579
|
onShellError,
|
|
4580
4580
|
onFatalError,
|
|
4581
|
-
onPostpone,
|
|
4582
4581
|
formState
|
|
4583
4582
|
) {
|
|
4584
4583
|
var abortSet = new Set();
|
|
@@ -4601,7 +4600,6 @@
|
|
|
4601
4600
|
this.partialBoundaries = [];
|
|
4602
4601
|
this.trackedPostpones = null;
|
|
4603
4602
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
|
4604
|
-
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
|
4605
4603
|
this.onAllReady = void 0 === onAllReady ? noop : onAllReady;
|
|
4606
4604
|
this.onShellReady = void 0 === onShellReady ? noop : onShellReady;
|
|
4607
4605
|
this.onShellError = void 0 === onShellError ? noop : onShellError;
|
|
@@ -4620,7 +4618,6 @@
|
|
|
4620
4618
|
onShellReady,
|
|
4621
4619
|
onShellError,
|
|
4622
4620
|
onFatalError,
|
|
4623
|
-
onPostpone,
|
|
4624
4621
|
formState
|
|
4625
4622
|
) {
|
|
4626
4623
|
resetOwnerStackLimit();
|
|
@@ -4634,7 +4631,6 @@
|
|
|
4634
4631
|
onShellReady,
|
|
4635
4632
|
onShellError,
|
|
4636
4633
|
onFatalError,
|
|
4637
|
-
onPostpone,
|
|
4638
4634
|
formState
|
|
4639
4635
|
);
|
|
4640
4636
|
renderState = createPendingSegment(
|
|
@@ -4679,8 +4675,7 @@
|
|
|
4679
4675
|
onAllReady,
|
|
4680
4676
|
onShellReady,
|
|
4681
4677
|
onShellError,
|
|
4682
|
-
onFatalError
|
|
4683
|
-
onPostpone
|
|
4678
|
+
onFatalError
|
|
4684
4679
|
) {
|
|
4685
4680
|
children = createRequest(
|
|
4686
4681
|
children,
|
|
@@ -4693,7 +4688,6 @@
|
|
|
4693
4688
|
onShellReady,
|
|
4694
4689
|
onShellError,
|
|
4695
4690
|
onFatalError,
|
|
4696
|
-
onPostpone,
|
|
4697
4691
|
void 0
|
|
4698
4692
|
);
|
|
4699
4693
|
children.trackedPostpones = {
|
|
@@ -4711,8 +4705,7 @@
|
|
|
4711
4705
|
onAllReady,
|
|
4712
4706
|
onShellReady,
|
|
4713
4707
|
onShellError,
|
|
4714
|
-
onFatalError
|
|
4715
|
-
onPostpone
|
|
4708
|
+
onFatalError
|
|
4716
4709
|
) {
|
|
4717
4710
|
resetOwnerStackLimit();
|
|
4718
4711
|
renderState = new RequestInstance(
|
|
@@ -4725,7 +4718,6 @@
|
|
|
4725
4718
|
onShellReady,
|
|
4726
4719
|
onShellError,
|
|
4727
4720
|
onFatalError,
|
|
4728
|
-
onPostpone,
|
|
4729
4721
|
null
|
|
4730
4722
|
);
|
|
4731
4723
|
renderState.nextSegmentId = postponedState.nextSegmentId;
|
|
@@ -4797,8 +4789,7 @@
|
|
|
4797
4789
|
onAllReady,
|
|
4798
4790
|
onShellReady,
|
|
4799
4791
|
onShellError,
|
|
4800
|
-
onFatalError
|
|
4801
|
-
onPostpone
|
|
4792
|
+
onFatalError
|
|
4802
4793
|
) {
|
|
4803
4794
|
children = resumeRequest(
|
|
4804
4795
|
children,
|
|
@@ -4808,8 +4799,7 @@
|
|
|
4808
4799
|
onAllReady,
|
|
4809
4800
|
onShellReady,
|
|
4810
4801
|
onShellError,
|
|
4811
|
-
onFatalError
|
|
4812
|
-
onPostpone
|
|
4802
|
+
onFatalError
|
|
4813
4803
|
);
|
|
4814
4804
|
children.trackedPostpones = {
|
|
4815
4805
|
workingMap: new Map(),
|
|
@@ -6353,13 +6343,13 @@
|
|
|
6353
6343
|
} else
|
|
6354
6344
|
(contentRootSegment.status = ERRORED),
|
|
6355
6345
|
(error = thrownValue$2);
|
|
6356
|
-
var thrownInfo = getThrownInfo(task.componentStack)
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6346
|
+
var thrownInfo = getThrownInfo(task.componentStack),
|
|
6347
|
+
errorDigest = logRecoverableError(
|
|
6348
|
+
request,
|
|
6349
|
+
error,
|
|
6350
|
+
thrownInfo,
|
|
6351
|
+
task.debugTask
|
|
6352
|
+
);
|
|
6363
6353
|
encodeErrorForBoundary(
|
|
6364
6354
|
newBoundary,
|
|
6365
6355
|
errorDigest,
|
|
@@ -6576,10 +6566,14 @@
|
|
|
6576
6566
|
name +
|
|
6577
6567
|
">. The tree doesn't match so React will fallback to client rendering."
|
|
6578
6568
|
);
|
|
6579
|
-
var childNodes = node[2]
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
task.replay = {
|
|
6569
|
+
var childNodes = node[2],
|
|
6570
|
+
childSlots = node[3];
|
|
6571
|
+
name = task.node;
|
|
6572
|
+
task.replay = {
|
|
6573
|
+
nodes: childNodes,
|
|
6574
|
+
slots: childSlots,
|
|
6575
|
+
pendingTasks: 1
|
|
6576
|
+
};
|
|
6583
6577
|
try {
|
|
6584
6578
|
renderElement(request, task, keyPath, type, props, ref);
|
|
6585
6579
|
if (
|
|
@@ -6597,7 +6591,7 @@
|
|
|
6597
6591
|
(x === SuspenseException || "function" === typeof x.then)
|
|
6598
6592
|
)
|
|
6599
6593
|
throw (
|
|
6600
|
-
(task.node ===
|
|
6594
|
+
(task.node === name
|
|
6601
6595
|
? (task.replay = replay)
|
|
6602
6596
|
: childIndex.splice(i, 1),
|
|
6603
6597
|
x)
|
|
@@ -6605,17 +6599,16 @@
|
|
|
6605
6599
|
task.replay.pendingTasks--;
|
|
6606
6600
|
type = getThrownInfo(task.componentStack);
|
|
6607
6601
|
props = request;
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
ref =
|
|
6611
|
-
name = logRecoverableError(props, keyPath, type, task.debugTask);
|
|
6602
|
+
keyPath = task.blockedBoundary;
|
|
6603
|
+
request = x;
|
|
6604
|
+
ref = logRecoverableError(props, request, type, task.debugTask);
|
|
6612
6605
|
abortRemainingReplayNodes(
|
|
6613
6606
|
props,
|
|
6614
|
-
|
|
6607
|
+
keyPath,
|
|
6615
6608
|
childNodes,
|
|
6609
|
+
childSlots,
|
|
6610
|
+
request,
|
|
6616
6611
|
ref,
|
|
6617
|
-
keyPath,
|
|
6618
|
-
name,
|
|
6619
6612
|
type,
|
|
6620
6613
|
!1
|
|
6621
6614
|
);
|
|
@@ -6629,14 +6622,14 @@
|
|
|
6629
6622
|
">. The tree doesn't match so React will fallback to client rendering."
|
|
6630
6623
|
);
|
|
6631
6624
|
a: {
|
|
6632
|
-
replay =
|
|
6633
|
-
|
|
6625
|
+
replay = request;
|
|
6626
|
+
request = node[5];
|
|
6634
6627
|
type = node[2];
|
|
6635
6628
|
ref = node[3];
|
|
6636
|
-
|
|
6629
|
+
name = null === node[4] ? [] : node[4][2];
|
|
6637
6630
|
node = null === node[4] ? null : node[4][3];
|
|
6638
|
-
|
|
6639
|
-
|
|
6631
|
+
keyOrIndex = task.keyPath;
|
|
6632
|
+
var prevContext = task.formatContext,
|
|
6640
6633
|
prevRow = task.row,
|
|
6641
6634
|
previousReplaySet = task.replay,
|
|
6642
6635
|
parentBoundary = task.blockedBoundary,
|
|
@@ -6647,32 +6640,32 @@
|
|
|
6647
6640
|
props =
|
|
6648
6641
|
task.formatContext.insertionMode < HTML_MODE
|
|
6649
6642
|
? createSuspenseBoundary(
|
|
6650
|
-
|
|
6643
|
+
replay,
|
|
6651
6644
|
task.row,
|
|
6652
6645
|
fallbackAbortSet,
|
|
6653
6646
|
createPreambleState(),
|
|
6654
6647
|
createPreambleState()
|
|
6655
6648
|
)
|
|
6656
6649
|
: createSuspenseBoundary(
|
|
6657
|
-
|
|
6650
|
+
replay,
|
|
6658
6651
|
task.row,
|
|
6659
6652
|
fallbackAbortSet,
|
|
6660
6653
|
null,
|
|
6661
6654
|
null
|
|
6662
6655
|
);
|
|
6663
6656
|
props.parentFlushed = !0;
|
|
6664
|
-
props.rootSegmentID =
|
|
6657
|
+
props.rootSegmentID = request;
|
|
6665
6658
|
task.blockedBoundary = props;
|
|
6666
6659
|
task.hoistableState = props.contentState;
|
|
6667
6660
|
task.keyPath = keyPath;
|
|
6668
6661
|
task.formatContext = getSuspenseContentFormatContext(
|
|
6669
|
-
|
|
6662
|
+
replay.resumableState,
|
|
6670
6663
|
prevContext
|
|
6671
6664
|
);
|
|
6672
6665
|
task.row = null;
|
|
6673
6666
|
task.replay = { nodes: type, slots: ref, pendingTasks: 1 };
|
|
6674
6667
|
try {
|
|
6675
|
-
renderNode(
|
|
6668
|
+
renderNode(replay, task, content, -1);
|
|
6676
6669
|
if (
|
|
6677
6670
|
1 === task.replay.pendingTasks &&
|
|
6678
6671
|
0 < task.replay.nodes.length
|
|
@@ -6683,33 +6676,39 @@
|
|
|
6683
6676
|
task.replay.pendingTasks--;
|
|
6684
6677
|
if (0 === props.pendingTasks && props.status === PENDING) {
|
|
6685
6678
|
props.status = COMPLETED;
|
|
6686
|
-
|
|
6679
|
+
replay.completedBoundaries.push(props);
|
|
6687
6680
|
break a;
|
|
6688
6681
|
}
|
|
6689
6682
|
} catch (error) {
|
|
6690
6683
|
(props.status = CLIENT_RENDERED),
|
|
6691
6684
|
(childNodes = getThrownInfo(task.componentStack)),
|
|
6692
|
-
(
|
|
6693
|
-
|
|
6685
|
+
(childSlots = logRecoverableError(
|
|
6686
|
+
replay,
|
|
6694
6687
|
error,
|
|
6695
6688
|
childNodes,
|
|
6696
6689
|
task.debugTask
|
|
6697
6690
|
)),
|
|
6698
|
-
encodeErrorForBoundary(
|
|
6691
|
+
encodeErrorForBoundary(
|
|
6692
|
+
props,
|
|
6693
|
+
childSlots,
|
|
6694
|
+
error,
|
|
6695
|
+
childNodes,
|
|
6696
|
+
!1
|
|
6697
|
+
),
|
|
6699
6698
|
task.replay.pendingTasks--,
|
|
6700
|
-
|
|
6699
|
+
replay.clientRenderedBoundaries.push(props);
|
|
6701
6700
|
} finally {
|
|
6702
6701
|
(task.blockedBoundary = parentBoundary),
|
|
6703
6702
|
(task.hoistableState = parentHoistableState),
|
|
6704
6703
|
(task.replay = previousReplaySet),
|
|
6705
|
-
(task.keyPath =
|
|
6704
|
+
(task.keyPath = keyOrIndex),
|
|
6706
6705
|
(task.formatContext = prevContext),
|
|
6707
6706
|
(task.row = prevRow);
|
|
6708
6707
|
}
|
|
6709
6708
|
props = createReplayTask(
|
|
6710
|
-
|
|
6709
|
+
replay,
|
|
6711
6710
|
null,
|
|
6712
|
-
{ nodes:
|
|
6711
|
+
{ nodes: name, slots: node, pendingTasks: 0 },
|
|
6713
6712
|
fallback,
|
|
6714
6713
|
-1,
|
|
6715
6714
|
parentBoundary,
|
|
@@ -6717,7 +6716,7 @@
|
|
|
6717
6716
|
fallbackAbortSet,
|
|
6718
6717
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
6719
6718
|
getSuspenseFallbackFormatContext(
|
|
6720
|
-
|
|
6719
|
+
replay.resumableState,
|
|
6721
6720
|
task.formatContext
|
|
6722
6721
|
),
|
|
6723
6722
|
task.context,
|
|
@@ -6730,7 +6729,7 @@
|
|
|
6730
6729
|
task.debugTask
|
|
6731
6730
|
);
|
|
6732
6731
|
pushComponentStack(props);
|
|
6733
|
-
|
|
6732
|
+
replay.pingedTasks.push(props);
|
|
6734
6733
|
}
|
|
6735
6734
|
}
|
|
6736
6735
|
childIndex.splice(i, 1);
|
|
@@ -7026,20 +7025,19 @@
|
|
|
7026
7025
|
var thrownInfo = getThrownInfo(task.componentStack);
|
|
7027
7026
|
children = task.blockedBoundary;
|
|
7028
7027
|
var error = x,
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
);
|
|
7028
|
+
errorDigest = logRecoverableError(
|
|
7029
|
+
request,
|
|
7030
|
+
error,
|
|
7031
|
+
thrownInfo,
|
|
7032
|
+
task.debugTask
|
|
7033
|
+
);
|
|
7036
7034
|
abortRemainingReplayNodes(
|
|
7037
7035
|
request,
|
|
7038
7036
|
children,
|
|
7039
7037
|
childIndex,
|
|
7040
|
-
resumeSlots,
|
|
7041
|
-
error,
|
|
7042
7038
|
node,
|
|
7039
|
+
error,
|
|
7040
|
+
errorDigest,
|
|
7043
7041
|
thrownInfo,
|
|
7044
7042
|
!1
|
|
7045
7043
|
);
|
|
@@ -7745,10 +7743,10 @@
|
|
|
7745
7743
|
tryToResolveTogetherRow(request, boundary);
|
|
7746
7744
|
0 === request.allPendingTasks && completeAll(request);
|
|
7747
7745
|
}
|
|
7748
|
-
function performWork(request$jscomp$
|
|
7746
|
+
function performWork(request$jscomp$1) {
|
|
7749
7747
|
if (
|
|
7750
|
-
request$jscomp$
|
|
7751
|
-
13 !== request$jscomp$
|
|
7748
|
+
request$jscomp$1.status !== CLOSED &&
|
|
7749
|
+
13 !== request$jscomp$1.status
|
|
7752
7750
|
) {
|
|
7753
7751
|
var prevContext = currentActiveSnapshot,
|
|
7754
7752
|
prevDispatcher = ReactSharedInternals.H;
|
|
@@ -7756,49 +7754,48 @@
|
|
|
7756
7754
|
var prevAsyncDispatcher = ReactSharedInternals.A;
|
|
7757
7755
|
ReactSharedInternals.A = DefaultAsyncDispatcher;
|
|
7758
7756
|
var prevRequest = currentRequest;
|
|
7759
|
-
currentRequest = request$jscomp$
|
|
7757
|
+
currentRequest = request$jscomp$1;
|
|
7760
7758
|
var prevGetCurrentStackImpl = ReactSharedInternals.getCurrentStack;
|
|
7761
7759
|
ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;
|
|
7762
7760
|
var prevResumableState = currentResumableState;
|
|
7763
|
-
currentResumableState = request$jscomp$
|
|
7761
|
+
currentResumableState = request$jscomp$1.resumableState;
|
|
7764
7762
|
try {
|
|
7765
|
-
var pingedTasks = request$jscomp$
|
|
7763
|
+
var pingedTasks = request$jscomp$1.pingedTasks,
|
|
7766
7764
|
i;
|
|
7767
7765
|
for (i = 0; i < pingedTasks.length; i++) {
|
|
7768
|
-
var request = request$jscomp$
|
|
7766
|
+
var request = request$jscomp$1,
|
|
7769
7767
|
task = pingedTasks[i],
|
|
7770
7768
|
segment = task.blockedSegment;
|
|
7771
7769
|
if (null === segment) {
|
|
7772
7770
|
var prevTaskInDEV = void 0,
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
switchContext(request.context);
|
|
7771
|
+
task$jscomp$0 = task;
|
|
7772
|
+
if (0 !== task$jscomp$0.replay.pendingTasks) {
|
|
7773
|
+
switchContext(task$jscomp$0.context);
|
|
7777
7774
|
prevTaskInDEV = currentTaskInDEV;
|
|
7778
|
-
currentTaskInDEV =
|
|
7775
|
+
currentTaskInDEV = task$jscomp$0;
|
|
7779
7776
|
try {
|
|
7780
|
-
"number" === typeof
|
|
7777
|
+
"number" === typeof task$jscomp$0.replay.slots
|
|
7781
7778
|
? resumeNode(
|
|
7782
|
-
request$jscomp$0,
|
|
7783
7779
|
request,
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7780
|
+
task$jscomp$0,
|
|
7781
|
+
task$jscomp$0.replay.slots,
|
|
7782
|
+
task$jscomp$0.node,
|
|
7783
|
+
task$jscomp$0.childIndex
|
|
7787
7784
|
)
|
|
7788
|
-
: retryNode(request$jscomp$0
|
|
7785
|
+
: retryNode(request, task$jscomp$0);
|
|
7789
7786
|
if (
|
|
7790
|
-
1 ===
|
|
7791
|
-
0 <
|
|
7787
|
+
1 === task$jscomp$0.replay.pendingTasks &&
|
|
7788
|
+
0 < task$jscomp$0.replay.nodes.length
|
|
7792
7789
|
)
|
|
7793
7790
|
throw Error(
|
|
7794
7791
|
"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
|
|
7795
7792
|
);
|
|
7796
|
-
|
|
7797
|
-
|
|
7793
|
+
task$jscomp$0.replay.pendingTasks--;
|
|
7794
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0);
|
|
7798
7795
|
finishedTask(
|
|
7799
|
-
request
|
|
7800
|
-
|
|
7801
|
-
|
|
7796
|
+
request,
|
|
7797
|
+
task$jscomp$0.blockedBoundary,
|
|
7798
|
+
task$jscomp$0.row,
|
|
7802
7799
|
null
|
|
7803
7800
|
);
|
|
7804
7801
|
} catch (thrownValue) {
|
|
@@ -7812,34 +7809,31 @@
|
|
|
7812
7809
|
null !== x &&
|
|
7813
7810
|
"function" === typeof x.then
|
|
7814
7811
|
) {
|
|
7815
|
-
var ping =
|
|
7812
|
+
var ping = task$jscomp$0.ping;
|
|
7816
7813
|
x.then(ping, ping);
|
|
7817
|
-
|
|
7814
|
+
task$jscomp$0.thenableState =
|
|
7818
7815
|
thrownValue === SuspenseException
|
|
7819
7816
|
? getThenableStateAfterSuspending()
|
|
7820
7817
|
: null;
|
|
7821
7818
|
} else {
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
var errorInfo = getThrownInfo(
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
boundary = request.blockedBoundary,
|
|
7819
|
+
task$jscomp$0.replay.pendingTasks--;
|
|
7820
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0);
|
|
7821
|
+
var errorInfo = getThrownInfo(task$jscomp$0.componentStack),
|
|
7822
|
+
request$jscomp$0 = request,
|
|
7823
|
+
boundary = task$jscomp$0.blockedBoundary,
|
|
7828
7824
|
error$jscomp$0 =
|
|
7829
|
-
12 === request
|
|
7830
|
-
? request$jscomp$0.fatalError
|
|
7831
|
-
: x,
|
|
7825
|
+
12 === request.status ? request.fatalError : x,
|
|
7832
7826
|
errorInfo$jscomp$0 = errorInfo,
|
|
7833
|
-
replayNodes =
|
|
7834
|
-
resumeSlots =
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7827
|
+
replayNodes = task$jscomp$0.replay.nodes,
|
|
7828
|
+
resumeSlots = task$jscomp$0.replay.slots,
|
|
7829
|
+
errorDigest = logRecoverableError(
|
|
7830
|
+
request$jscomp$0,
|
|
7831
|
+
error$jscomp$0,
|
|
7832
|
+
errorInfo$jscomp$0,
|
|
7833
|
+
task$jscomp$0.debugTask
|
|
7834
|
+
);
|
|
7841
7835
|
abortRemainingReplayNodes(
|
|
7842
|
-
request$jscomp$
|
|
7836
|
+
request$jscomp$0,
|
|
7843
7837
|
boundary,
|
|
7844
7838
|
replayNodes,
|
|
7845
7839
|
resumeSlots,
|
|
@@ -7848,51 +7842,49 @@
|
|
|
7848
7842
|
errorInfo$jscomp$0,
|
|
7849
7843
|
!1
|
|
7850
7844
|
);
|
|
7851
|
-
request
|
|
7852
|
-
0 === request
|
|
7853
|
-
|
|
7854
|
-
request
|
|
7855
|
-
0 === request$jscomp$0.allPendingTasks &&
|
|
7856
|
-
completeAll(request$jscomp$0);
|
|
7845
|
+
request.pendingRootTasks--;
|
|
7846
|
+
0 === request.pendingRootTasks && completeShell(request);
|
|
7847
|
+
request.allPendingTasks--;
|
|
7848
|
+
0 === request.allPendingTasks && completeAll(request);
|
|
7857
7849
|
}
|
|
7858
7850
|
} finally {
|
|
7859
7851
|
currentTaskInDEV = prevTaskInDEV;
|
|
7860
7852
|
}
|
|
7861
7853
|
}
|
|
7862
7854
|
} else if (
|
|
7863
|
-
((
|
|
7864
|
-
(
|
|
7865
|
-
(request$jscomp$
|
|
7866
|
-
request$jscomp$
|
|
7855
|
+
((prevTaskInDEV = void 0),
|
|
7856
|
+
(task$jscomp$0 = task),
|
|
7857
|
+
(request$jscomp$0 = segment),
|
|
7858
|
+
request$jscomp$0.status === PENDING)
|
|
7867
7859
|
) {
|
|
7868
|
-
request$jscomp$
|
|
7869
|
-
switchContext(
|
|
7870
|
-
|
|
7871
|
-
currentTaskInDEV =
|
|
7872
|
-
var childrenLength = request$jscomp$
|
|
7873
|
-
chunkLength = request$jscomp$
|
|
7860
|
+
request$jscomp$0.status = 6;
|
|
7861
|
+
switchContext(task$jscomp$0.context);
|
|
7862
|
+
prevTaskInDEV = currentTaskInDEV;
|
|
7863
|
+
currentTaskInDEV = task$jscomp$0;
|
|
7864
|
+
var childrenLength = request$jscomp$0.children.length,
|
|
7865
|
+
chunkLength = request$jscomp$0.chunks.length;
|
|
7874
7866
|
try {
|
|
7875
|
-
retryNode(request,
|
|
7876
|
-
request$jscomp$
|
|
7877
|
-
request$jscomp$
|
|
7878
|
-
request$jscomp$
|
|
7879
|
-
|
|
7880
|
-
(request$jscomp$
|
|
7867
|
+
retryNode(request, task$jscomp$0),
|
|
7868
|
+
request$jscomp$0.lastPushedText &&
|
|
7869
|
+
request$jscomp$0.textEmbedded &&
|
|
7870
|
+
request$jscomp$0.chunks.push(textSeparator),
|
|
7871
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0),
|
|
7872
|
+
(request$jscomp$0.status = COMPLETED),
|
|
7881
7873
|
finishedSegment(
|
|
7882
7874
|
request,
|
|
7883
|
-
|
|
7884
|
-
request$jscomp$
|
|
7875
|
+
task$jscomp$0.blockedBoundary,
|
|
7876
|
+
request$jscomp$0
|
|
7885
7877
|
),
|
|
7886
7878
|
finishedTask(
|
|
7887
7879
|
request,
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
request$jscomp$
|
|
7880
|
+
task$jscomp$0.blockedBoundary,
|
|
7881
|
+
task$jscomp$0.row,
|
|
7882
|
+
request$jscomp$0
|
|
7891
7883
|
);
|
|
7892
7884
|
} catch (thrownValue) {
|
|
7893
7885
|
resetHooksState();
|
|
7894
|
-
request$jscomp$
|
|
7895
|
-
request$jscomp$
|
|
7886
|
+
request$jscomp$0.children.length = childrenLength;
|
|
7887
|
+
request$jscomp$0.chunks.length = chunkLength;
|
|
7896
7888
|
var x$jscomp$0 =
|
|
7897
7889
|
thrownValue === SuspenseException
|
|
7898
7890
|
? getSuspendedThenable()
|
|
@@ -7904,52 +7896,52 @@
|
|
|
7904
7896
|
null !== request.trackedPostpones
|
|
7905
7897
|
) {
|
|
7906
7898
|
var trackedPostpones = request.trackedPostpones,
|
|
7907
|
-
thrownInfo = getThrownInfo(
|
|
7908
|
-
|
|
7899
|
+
thrownInfo = getThrownInfo(task$jscomp$0.componentStack);
|
|
7900
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0);
|
|
7909
7901
|
logRecoverableError(
|
|
7910
7902
|
request,
|
|
7911
7903
|
x$jscomp$0,
|
|
7912
7904
|
thrownInfo,
|
|
7913
|
-
|
|
7905
|
+
task$jscomp$0.debugTask
|
|
7914
7906
|
);
|
|
7915
7907
|
trackPostpone(
|
|
7916
7908
|
request,
|
|
7917
7909
|
trackedPostpones,
|
|
7918
|
-
|
|
7919
|
-
request$jscomp$
|
|
7910
|
+
task$jscomp$0,
|
|
7911
|
+
request$jscomp$0
|
|
7920
7912
|
);
|
|
7921
7913
|
finishedTask(
|
|
7922
7914
|
request,
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
request$jscomp$
|
|
7915
|
+
task$jscomp$0.blockedBoundary,
|
|
7916
|
+
task$jscomp$0.row,
|
|
7917
|
+
request$jscomp$0
|
|
7926
7918
|
);
|
|
7927
7919
|
} else if (
|
|
7928
7920
|
"object" === typeof x$jscomp$0 &&
|
|
7929
7921
|
null !== x$jscomp$0 &&
|
|
7930
7922
|
"function" === typeof x$jscomp$0.then
|
|
7931
7923
|
) {
|
|
7932
|
-
request$jscomp$
|
|
7933
|
-
|
|
7924
|
+
request$jscomp$0.status = PENDING;
|
|
7925
|
+
task$jscomp$0.thenableState =
|
|
7934
7926
|
thrownValue === SuspenseException
|
|
7935
7927
|
? getThenableStateAfterSuspending()
|
|
7936
7928
|
: null;
|
|
7937
|
-
var ping$jscomp$0 =
|
|
7929
|
+
var ping$jscomp$0 = task$jscomp$0.ping;
|
|
7938
7930
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
7939
7931
|
} else {
|
|
7940
7932
|
var errorInfo$jscomp$1 = getThrownInfo(
|
|
7941
|
-
|
|
7933
|
+
task$jscomp$0.componentStack
|
|
7942
7934
|
);
|
|
7943
|
-
|
|
7944
|
-
request$jscomp$
|
|
7945
|
-
var boundary$jscomp$0 =
|
|
7946
|
-
row =
|
|
7947
|
-
debugTask =
|
|
7935
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0);
|
|
7936
|
+
request$jscomp$0.status = ERRORED;
|
|
7937
|
+
var boundary$jscomp$0 = task$jscomp$0.blockedBoundary,
|
|
7938
|
+
row = task$jscomp$0.row,
|
|
7939
|
+
debugTask = task$jscomp$0.debugTask;
|
|
7948
7940
|
null !== row &&
|
|
7949
7941
|
0 === --row.pendingTasks &&
|
|
7950
7942
|
finishSuspenseListRow(request, row);
|
|
7951
7943
|
request.allPendingTasks--;
|
|
7952
|
-
|
|
7944
|
+
var errorDigest$jscomp$0 = logRecoverableError(
|
|
7953
7945
|
request,
|
|
7954
7946
|
x$jscomp$0,
|
|
7955
7947
|
errorInfo$jscomp$1,
|
|
@@ -7969,7 +7961,7 @@
|
|
|
7969
7961
|
boundary$jscomp$0.status = CLIENT_RENDERED;
|
|
7970
7962
|
encodeErrorForBoundary(
|
|
7971
7963
|
boundary$jscomp$0,
|
|
7972
|
-
|
|
7964
|
+
errorDigest$jscomp$0,
|
|
7973
7965
|
x$jscomp$0,
|
|
7974
7966
|
errorInfo$jscomp$1,
|
|
7975
7967
|
!1
|
|
@@ -7989,20 +7981,20 @@
|
|
|
7989
7981
|
0 === request.allPendingTasks && completeAll(request);
|
|
7990
7982
|
}
|
|
7991
7983
|
} finally {
|
|
7992
|
-
currentTaskInDEV =
|
|
7984
|
+
currentTaskInDEV = prevTaskInDEV;
|
|
7993
7985
|
}
|
|
7994
7986
|
}
|
|
7995
7987
|
}
|
|
7996
7988
|
pingedTasks.splice(0, i);
|
|
7997
|
-
null !== request$jscomp$
|
|
7989
|
+
null !== request$jscomp$1.destination &&
|
|
7998
7990
|
flushCompletedQueues(
|
|
7999
|
-
request$jscomp$
|
|
8000
|
-
request$jscomp$
|
|
7991
|
+
request$jscomp$1,
|
|
7992
|
+
request$jscomp$1.destination
|
|
8001
7993
|
);
|
|
8002
7994
|
} catch (error) {
|
|
8003
7995
|
(pingedTasks = {}),
|
|
8004
|
-
logRecoverableError(request$jscomp$
|
|
8005
|
-
fatalError(request$jscomp$
|
|
7996
|
+
logRecoverableError(request$jscomp$1, error, pingedTasks, null),
|
|
7997
|
+
fatalError(request$jscomp$1, error, pingedTasks, null);
|
|
8006
7998
|
} finally {
|
|
8007
7999
|
(currentResumableState = prevResumableState),
|
|
8008
8000
|
(ReactSharedInternals.H = prevDispatcher),
|
|
@@ -8884,11 +8876,11 @@
|
|
|
8884
8876
|
}
|
|
8885
8877
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8886
8878
|
var isomorphicReactPackageVersion = React.version;
|
|
8887
|
-
if ("19.3.0-canary-
|
|
8879
|
+
if ("19.3.0-canary-dd048c3b-20251105" !== isomorphicReactPackageVersion)
|
|
8888
8880
|
throw Error(
|
|
8889
8881
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8890
8882
|
(isomorphicReactPackageVersion +
|
|
8891
|
-
"\n - react-dom: 19.3.0-canary-
|
|
8883
|
+
"\n - react-dom: 19.3.0-canary-dd048c3b-20251105\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8892
8884
|
);
|
|
8893
8885
|
}
|
|
8894
8886
|
function createDrainHandler(destination, request) {
|
|
@@ -8928,7 +8920,6 @@
|
|
|
8928
8920
|
options ? options.onShellReady : void 0,
|
|
8929
8921
|
options ? options.onShellError : void 0,
|
|
8930
8922
|
void 0,
|
|
8931
|
-
options ? options.onPostpone : void 0,
|
|
8932
8923
|
options ? options.formState : void 0
|
|
8933
8924
|
);
|
|
8934
8925
|
}
|
|
@@ -8965,8 +8956,7 @@
|
|
|
8965
8956
|
options ? options.onAllReady : void 0,
|
|
8966
8957
|
options ? options.onShellReady : void 0,
|
|
8967
8958
|
options ? options.onShellError : void 0,
|
|
8968
|
-
void 0
|
|
8969
|
-
options ? options.onPostpone : void 0
|
|
8959
|
+
void 0
|
|
8970
8960
|
);
|
|
8971
8961
|
}
|
|
8972
8962
|
function createFakeWritableFromReadableStreamController(controller) {
|
|
@@ -10599,8 +10589,7 @@
|
|
|
10599
10589
|
},
|
|
10600
10590
|
void 0,
|
|
10601
10591
|
void 0,
|
|
10602
|
-
reject
|
|
10603
|
-
options ? options.onPostpone : void 0
|
|
10592
|
+
reject
|
|
10604
10593
|
);
|
|
10605
10594
|
if (options && options.signal) {
|
|
10606
10595
|
var signal = options.signal;
|
|
@@ -10654,8 +10643,7 @@
|
|
|
10654
10643
|
},
|
|
10655
10644
|
void 0,
|
|
10656
10645
|
void 0,
|
|
10657
|
-
reject
|
|
10658
|
-
options ? options.onPostpone : void 0
|
|
10646
|
+
reject
|
|
10659
10647
|
);
|
|
10660
10648
|
if (options && options.signal) {
|
|
10661
10649
|
var signal = options.signal;
|
|
@@ -10775,7 +10763,6 @@
|
|
|
10775
10763
|
reject(error);
|
|
10776
10764
|
},
|
|
10777
10765
|
onFatalError,
|
|
10778
|
-
options ? options.onPostpone : void 0,
|
|
10779
10766
|
options ? options.formState : void 0
|
|
10780
10767
|
);
|
|
10781
10768
|
if (options && options.signal) {
|
|
@@ -10841,8 +10828,7 @@
|
|
|
10841
10828
|
allReady.catch(function () {});
|
|
10842
10829
|
reject(error);
|
|
10843
10830
|
},
|
|
10844
|
-
onFatalError
|
|
10845
|
-
options ? options.onPostpone : void 0
|
|
10831
|
+
onFatalError
|
|
10846
10832
|
);
|
|
10847
10833
|
if (options && options.signal) {
|
|
10848
10834
|
var signal = options.signal;
|
|
@@ -10898,8 +10884,7 @@
|
|
|
10898
10884
|
},
|
|
10899
10885
|
void 0,
|
|
10900
10886
|
void 0,
|
|
10901
|
-
reject
|
|
10902
|
-
options ? options.onPostpone : void 0
|
|
10887
|
+
reject
|
|
10903
10888
|
);
|
|
10904
10889
|
if (options && options.signal) {
|
|
10905
10890
|
var signal = options.signal;
|
|
@@ -10948,8 +10933,7 @@
|
|
|
10948
10933
|
},
|
|
10949
10934
|
void 0,
|
|
10950
10935
|
void 0,
|
|
10951
|
-
reject
|
|
10952
|
-
options ? options.onPostpone : void 0
|
|
10936
|
+
reject
|
|
10953
10937
|
);
|
|
10954
10938
|
if (options && options.signal) {
|
|
10955
10939
|
var signal = options.signal;
|
|
@@ -11000,5 +10984,5 @@
|
|
|
11000
10984
|
}
|
|
11001
10985
|
};
|
|
11002
10986
|
};
|
|
11003
|
-
exports.version = "19.3.0-canary-
|
|
10987
|
+
exports.version = "19.3.0-canary-dd048c3b-20251105";
|
|
11004
10988
|
})();
|