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
|
@@ -5807,7 +5807,6 @@ function RequestInstance(
|
|
|
5807
5807
|
onShellReady,
|
|
5808
5808
|
onShellError,
|
|
5809
5809
|
onFatalError,
|
|
5810
|
-
onPostpone,
|
|
5811
5810
|
formState
|
|
5812
5811
|
) {
|
|
5813
5812
|
var abortSet = new Set();
|
|
@@ -5830,7 +5829,6 @@ function RequestInstance(
|
|
|
5830
5829
|
this.partialBoundaries = [];
|
|
5831
5830
|
this.trackedPostpones = null;
|
|
5832
5831
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
|
5833
|
-
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
|
5834
5832
|
this.onAllReady = void 0 === onAllReady ? noop : onAllReady;
|
|
5835
5833
|
this.onShellReady = void 0 === onShellReady ? noop : onShellReady;
|
|
5836
5834
|
this.onShellError = void 0 === onShellError ? noop : onShellError;
|
|
@@ -5849,7 +5847,6 @@ function createRequest(
|
|
|
5849
5847
|
onShellReady,
|
|
5850
5848
|
onShellError,
|
|
5851
5849
|
onFatalError,
|
|
5852
|
-
onPostpone,
|
|
5853
5850
|
formState
|
|
5854
5851
|
) {
|
|
5855
5852
|
resetOwnerStackLimit();
|
|
@@ -5863,7 +5860,6 @@ function createRequest(
|
|
|
5863
5860
|
onShellReady,
|
|
5864
5861
|
onShellError,
|
|
5865
5862
|
onFatalError,
|
|
5866
|
-
onPostpone,
|
|
5867
5863
|
formState
|
|
5868
5864
|
);
|
|
5869
5865
|
renderState = createPendingSegment(
|
|
@@ -5908,8 +5904,7 @@ function createPrerenderRequest(
|
|
|
5908
5904
|
onAllReady,
|
|
5909
5905
|
onShellReady,
|
|
5910
5906
|
onShellError,
|
|
5911
|
-
onFatalError
|
|
5912
|
-
onPostpone
|
|
5907
|
+
onFatalError
|
|
5913
5908
|
) {
|
|
5914
5909
|
children = createRequest(
|
|
5915
5910
|
children,
|
|
@@ -5922,7 +5917,6 @@ function createPrerenderRequest(
|
|
|
5922
5917
|
onShellReady,
|
|
5923
5918
|
onShellError,
|
|
5924
5919
|
onFatalError,
|
|
5925
|
-
onPostpone,
|
|
5926
5920
|
void 0
|
|
5927
5921
|
);
|
|
5928
5922
|
children.trackedPostpones = {
|
|
@@ -5940,8 +5934,7 @@ function resumeRequest(
|
|
|
5940
5934
|
onAllReady,
|
|
5941
5935
|
onShellReady,
|
|
5942
5936
|
onShellError,
|
|
5943
|
-
onFatalError
|
|
5944
|
-
onPostpone
|
|
5937
|
+
onFatalError
|
|
5945
5938
|
) {
|
|
5946
5939
|
resetOwnerStackLimit();
|
|
5947
5940
|
renderState = new RequestInstance(
|
|
@@ -5954,7 +5947,6 @@ function resumeRequest(
|
|
|
5954
5947
|
onShellReady,
|
|
5955
5948
|
onShellError,
|
|
5956
5949
|
onFatalError,
|
|
5957
|
-
onPostpone,
|
|
5958
5950
|
null
|
|
5959
5951
|
);
|
|
5960
5952
|
renderState.nextSegmentId = postponedState.nextSegmentId;
|
|
@@ -6026,8 +6018,7 @@ function resumeAndPrerenderRequest(
|
|
|
6026
6018
|
onAllReady,
|
|
6027
6019
|
onShellReady,
|
|
6028
6020
|
onShellError,
|
|
6029
|
-
onFatalError
|
|
6030
|
-
onPostpone
|
|
6021
|
+
onFatalError
|
|
6031
6022
|
) {
|
|
6032
6023
|
children = resumeRequest(
|
|
6033
6024
|
children,
|
|
@@ -6037,8 +6028,7 @@ function resumeAndPrerenderRequest(
|
|
|
6037
6028
|
onAllReady,
|
|
6038
6029
|
onShellReady,
|
|
6039
6030
|
onShellError,
|
|
6040
|
-
onFatalError
|
|
6041
|
-
onPostpone
|
|
6031
|
+
onFatalError
|
|
6042
6032
|
);
|
|
6043
6033
|
children.trackedPostpones = {
|
|
6044
6034
|
workingMap: new Map(),
|
|
@@ -7526,13 +7516,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7526
7516
|
var error = request.fatalError;
|
|
7527
7517
|
} else
|
|
7528
7518
|
(contentRootSegment.status = ERRORED), (error = thrownValue$2);
|
|
7529
|
-
var thrownInfo = getThrownInfo(task.componentStack)
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7519
|
+
var thrownInfo = getThrownInfo(task.componentStack),
|
|
7520
|
+
errorDigest = logRecoverableError(
|
|
7521
|
+
request,
|
|
7522
|
+
error,
|
|
7523
|
+
thrownInfo,
|
|
7524
|
+
task.debugTask
|
|
7525
|
+
);
|
|
7536
7526
|
encodeErrorForBoundary(
|
|
7537
7527
|
newBoundary,
|
|
7538
7528
|
errorDigest,
|
|
@@ -7749,10 +7739,10 @@ function replayElement(
|
|
|
7749
7739
|
name +
|
|
7750
7740
|
">. The tree doesn't match so React will fallback to client rendering."
|
|
7751
7741
|
);
|
|
7752
|
-
var childNodes = node[2]
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
task.replay = { nodes: childNodes, slots:
|
|
7742
|
+
var childNodes = node[2],
|
|
7743
|
+
childSlots = node[3];
|
|
7744
|
+
name = task.node;
|
|
7745
|
+
task.replay = { nodes: childNodes, slots: childSlots, pendingTasks: 1 };
|
|
7756
7746
|
try {
|
|
7757
7747
|
renderElement(request, task, keyPath, type, props, ref);
|
|
7758
7748
|
if (1 === task.replay.pendingTasks && 0 < task.replay.nodes.length)
|
|
@@ -7767,7 +7757,7 @@ function replayElement(
|
|
|
7767
7757
|
(x === SuspenseException || "function" === typeof x.then)
|
|
7768
7758
|
)
|
|
7769
7759
|
throw (
|
|
7770
|
-
(task.node ===
|
|
7760
|
+
(task.node === name
|
|
7771
7761
|
? (task.replay = replay)
|
|
7772
7762
|
: childIndex.splice(i, 1),
|
|
7773
7763
|
x)
|
|
@@ -7775,17 +7765,16 @@ function replayElement(
|
|
|
7775
7765
|
task.replay.pendingTasks--;
|
|
7776
7766
|
type = getThrownInfo(task.componentStack);
|
|
7777
7767
|
props = request;
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
ref =
|
|
7781
|
-
name = logRecoverableError(props, keyPath, type, task.debugTask);
|
|
7768
|
+
keyPath = task.blockedBoundary;
|
|
7769
|
+
request = x;
|
|
7770
|
+
ref = logRecoverableError(props, request, type, task.debugTask);
|
|
7782
7771
|
abortRemainingReplayNodes(
|
|
7783
7772
|
props,
|
|
7784
|
-
|
|
7773
|
+
keyPath,
|
|
7785
7774
|
childNodes,
|
|
7775
|
+
childSlots,
|
|
7776
|
+
request,
|
|
7786
7777
|
ref,
|
|
7787
|
-
keyPath,
|
|
7788
|
-
name,
|
|
7789
7778
|
type,
|
|
7790
7779
|
!1
|
|
7791
7780
|
);
|
|
@@ -7799,14 +7788,14 @@ function replayElement(
|
|
|
7799
7788
|
">. The tree doesn't match so React will fallback to client rendering."
|
|
7800
7789
|
);
|
|
7801
7790
|
a: {
|
|
7802
|
-
replay =
|
|
7803
|
-
|
|
7791
|
+
replay = request;
|
|
7792
|
+
request = node[5];
|
|
7804
7793
|
type = node[2];
|
|
7805
7794
|
ref = node[3];
|
|
7806
|
-
|
|
7795
|
+
name = null === node[4] ? [] : node[4][2];
|
|
7807
7796
|
node = null === node[4] ? null : node[4][3];
|
|
7808
|
-
|
|
7809
|
-
|
|
7797
|
+
keyOrIndex = task.keyPath;
|
|
7798
|
+
var prevContext = task.formatContext,
|
|
7810
7799
|
prevRow = task.row,
|
|
7811
7800
|
previousReplaySet = task.replay,
|
|
7812
7801
|
parentBoundary = task.blockedBoundary,
|
|
@@ -7817,32 +7806,32 @@ function replayElement(
|
|
|
7817
7806
|
props =
|
|
7818
7807
|
task.formatContext.insertionMode < HTML_MODE
|
|
7819
7808
|
? createSuspenseBoundary(
|
|
7820
|
-
|
|
7809
|
+
replay,
|
|
7821
7810
|
task.row,
|
|
7822
7811
|
fallbackAbortSet,
|
|
7823
7812
|
createPreambleState(),
|
|
7824
7813
|
createPreambleState()
|
|
7825
7814
|
)
|
|
7826
7815
|
: createSuspenseBoundary(
|
|
7827
|
-
|
|
7816
|
+
replay,
|
|
7828
7817
|
task.row,
|
|
7829
7818
|
fallbackAbortSet,
|
|
7830
7819
|
null,
|
|
7831
7820
|
null
|
|
7832
7821
|
);
|
|
7833
7822
|
props.parentFlushed = !0;
|
|
7834
|
-
props.rootSegmentID =
|
|
7823
|
+
props.rootSegmentID = request;
|
|
7835
7824
|
task.blockedBoundary = props;
|
|
7836
7825
|
task.hoistableState = props.contentState;
|
|
7837
7826
|
task.keyPath = keyPath;
|
|
7838
7827
|
task.formatContext = getSuspenseContentFormatContext(
|
|
7839
|
-
|
|
7828
|
+
replay.resumableState,
|
|
7840
7829
|
prevContext
|
|
7841
7830
|
);
|
|
7842
7831
|
task.row = null;
|
|
7843
7832
|
task.replay = { nodes: type, slots: ref, pendingTasks: 1 };
|
|
7844
7833
|
try {
|
|
7845
|
-
renderNode(
|
|
7834
|
+
renderNode(replay, task, content, -1);
|
|
7846
7835
|
if (1 === task.replay.pendingTasks && 0 < task.replay.nodes.length)
|
|
7847
7836
|
throw Error(
|
|
7848
7837
|
"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
|
|
@@ -7850,33 +7839,33 @@ function replayElement(
|
|
|
7850
7839
|
task.replay.pendingTasks--;
|
|
7851
7840
|
if (0 === props.pendingTasks && props.status === PENDING) {
|
|
7852
7841
|
props.status = COMPLETED;
|
|
7853
|
-
|
|
7842
|
+
replay.completedBoundaries.push(props);
|
|
7854
7843
|
break a;
|
|
7855
7844
|
}
|
|
7856
7845
|
} catch (error) {
|
|
7857
7846
|
(props.status = CLIENT_RENDERED),
|
|
7858
7847
|
(childNodes = getThrownInfo(task.componentStack)),
|
|
7859
|
-
(
|
|
7860
|
-
|
|
7848
|
+
(childSlots = logRecoverableError(
|
|
7849
|
+
replay,
|
|
7861
7850
|
error,
|
|
7862
7851
|
childNodes,
|
|
7863
7852
|
task.debugTask
|
|
7864
7853
|
)),
|
|
7865
|
-
encodeErrorForBoundary(props,
|
|
7854
|
+
encodeErrorForBoundary(props, childSlots, error, childNodes, !1),
|
|
7866
7855
|
task.replay.pendingTasks--,
|
|
7867
|
-
|
|
7856
|
+
replay.clientRenderedBoundaries.push(props);
|
|
7868
7857
|
} finally {
|
|
7869
7858
|
(task.blockedBoundary = parentBoundary),
|
|
7870
7859
|
(task.hoistableState = parentHoistableState),
|
|
7871
7860
|
(task.replay = previousReplaySet),
|
|
7872
|
-
(task.keyPath =
|
|
7861
|
+
(task.keyPath = keyOrIndex),
|
|
7873
7862
|
(task.formatContext = prevContext),
|
|
7874
7863
|
(task.row = prevRow);
|
|
7875
7864
|
}
|
|
7876
7865
|
props = createReplayTask(
|
|
7877
|
-
|
|
7866
|
+
replay,
|
|
7878
7867
|
null,
|
|
7879
|
-
{ nodes:
|
|
7868
|
+
{ nodes: name, slots: node, pendingTasks: 0 },
|
|
7880
7869
|
fallback,
|
|
7881
7870
|
-1,
|
|
7882
7871
|
parentBoundary,
|
|
@@ -7884,7 +7873,7 @@ function replayElement(
|
|
|
7884
7873
|
fallbackAbortSet,
|
|
7885
7874
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
7886
7875
|
getSuspenseFallbackFormatContext(
|
|
7887
|
-
|
|
7876
|
+
replay.resumableState,
|
|
7888
7877
|
task.formatContext
|
|
7889
7878
|
),
|
|
7890
7879
|
task.context,
|
|
@@ -7897,7 +7886,7 @@ function replayElement(
|
|
|
7897
7886
|
task.debugTask
|
|
7898
7887
|
);
|
|
7899
7888
|
pushComponentStack(props);
|
|
7900
|
-
|
|
7889
|
+
replay.pingedTasks.push(props);
|
|
7901
7890
|
}
|
|
7902
7891
|
}
|
|
7903
7892
|
childIndex.splice(i, 1);
|
|
@@ -8177,20 +8166,19 @@ function renderChildrenArray(request, task, children, childIndex) {
|
|
|
8177
8166
|
var thrownInfo = getThrownInfo(task.componentStack);
|
|
8178
8167
|
children = task.blockedBoundary;
|
|
8179
8168
|
var error = x,
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
);
|
|
8169
|
+
errorDigest = logRecoverableError(
|
|
8170
|
+
request,
|
|
8171
|
+
error,
|
|
8172
|
+
thrownInfo,
|
|
8173
|
+
task.debugTask
|
|
8174
|
+
);
|
|
8187
8175
|
abortRemainingReplayNodes(
|
|
8188
8176
|
request,
|
|
8189
8177
|
children,
|
|
8190
8178
|
childIndex,
|
|
8191
|
-
resumeSlots,
|
|
8192
|
-
error,
|
|
8193
8179
|
node,
|
|
8180
|
+
error,
|
|
8181
|
+
errorDigest,
|
|
8194
8182
|
thrownInfo,
|
|
8195
8183
|
!1
|
|
8196
8184
|
);
|
|
@@ -8873,57 +8861,56 @@ function finishedTask(request, boundary, row, segment) {
|
|
|
8873
8861
|
tryToResolveTogetherRow(request, boundary);
|
|
8874
8862
|
0 === request.allPendingTasks && completeAll(request);
|
|
8875
8863
|
}
|
|
8876
|
-
function performWork(request$jscomp$
|
|
8877
|
-
if (request$jscomp$
|
|
8864
|
+
function performWork(request$jscomp$1) {
|
|
8865
|
+
if (request$jscomp$1.status !== CLOSED && 13 !== request$jscomp$1.status) {
|
|
8878
8866
|
var prevContext = currentActiveSnapshot,
|
|
8879
8867
|
prevDispatcher = ReactSharedInternals.H;
|
|
8880
8868
|
ReactSharedInternals.H = HooksDispatcher;
|
|
8881
8869
|
var prevAsyncDispatcher = ReactSharedInternals.A;
|
|
8882
8870
|
ReactSharedInternals.A = DefaultAsyncDispatcher;
|
|
8883
8871
|
var prevRequest = currentRequest;
|
|
8884
|
-
currentRequest = request$jscomp$
|
|
8872
|
+
currentRequest = request$jscomp$1;
|
|
8885
8873
|
var prevGetCurrentStackImpl = ReactSharedInternals.getCurrentStack;
|
|
8886
8874
|
ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;
|
|
8887
8875
|
var prevResumableState = currentResumableState;
|
|
8888
|
-
currentResumableState = request$jscomp$
|
|
8876
|
+
currentResumableState = request$jscomp$1.resumableState;
|
|
8889
8877
|
try {
|
|
8890
|
-
var pingedTasks = request$jscomp$
|
|
8878
|
+
var pingedTasks = request$jscomp$1.pingedTasks,
|
|
8891
8879
|
i;
|
|
8892
8880
|
for (i = 0; i < pingedTasks.length; i++) {
|
|
8893
|
-
var request = request$jscomp$
|
|
8881
|
+
var request = request$jscomp$1,
|
|
8894
8882
|
task = pingedTasks[i],
|
|
8895
8883
|
segment = task.blockedSegment;
|
|
8896
8884
|
if (null === segment) {
|
|
8897
8885
|
var prevTaskInDEV = void 0,
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
switchContext(request.context);
|
|
8886
|
+
task$jscomp$0 = task;
|
|
8887
|
+
if (0 !== task$jscomp$0.replay.pendingTasks) {
|
|
8888
|
+
switchContext(task$jscomp$0.context);
|
|
8902
8889
|
prevTaskInDEV = currentTaskInDEV;
|
|
8903
|
-
currentTaskInDEV =
|
|
8890
|
+
currentTaskInDEV = task$jscomp$0;
|
|
8904
8891
|
try {
|
|
8905
|
-
"number" === typeof
|
|
8892
|
+
"number" === typeof task$jscomp$0.replay.slots
|
|
8906
8893
|
? resumeNode(
|
|
8907
|
-
request$jscomp$0,
|
|
8908
8894
|
request,
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8895
|
+
task$jscomp$0,
|
|
8896
|
+
task$jscomp$0.replay.slots,
|
|
8897
|
+
task$jscomp$0.node,
|
|
8898
|
+
task$jscomp$0.childIndex
|
|
8912
8899
|
)
|
|
8913
|
-
: retryNode(request$jscomp$0
|
|
8900
|
+
: retryNode(request, task$jscomp$0);
|
|
8914
8901
|
if (
|
|
8915
|
-
1 ===
|
|
8916
|
-
0 <
|
|
8902
|
+
1 === task$jscomp$0.replay.pendingTasks &&
|
|
8903
|
+
0 < task$jscomp$0.replay.nodes.length
|
|
8917
8904
|
)
|
|
8918
8905
|
throw Error(
|
|
8919
8906
|
"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
|
|
8920
8907
|
);
|
|
8921
|
-
|
|
8922
|
-
|
|
8908
|
+
task$jscomp$0.replay.pendingTasks--;
|
|
8909
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0);
|
|
8923
8910
|
finishedTask(
|
|
8924
|
-
request
|
|
8925
|
-
|
|
8926
|
-
|
|
8911
|
+
request,
|
|
8912
|
+
task$jscomp$0.blockedBoundary,
|
|
8913
|
+
task$jscomp$0.row,
|
|
8927
8914
|
null
|
|
8928
8915
|
);
|
|
8929
8916
|
} catch (thrownValue) {
|
|
@@ -8937,34 +8924,31 @@ function performWork(request$jscomp$2) {
|
|
|
8937
8924
|
null !== x &&
|
|
8938
8925
|
"function" === typeof x.then
|
|
8939
8926
|
) {
|
|
8940
|
-
var ping =
|
|
8927
|
+
var ping = task$jscomp$0.ping;
|
|
8941
8928
|
x.then(ping, ping);
|
|
8942
|
-
|
|
8929
|
+
task$jscomp$0.thenableState =
|
|
8943
8930
|
thrownValue === SuspenseException
|
|
8944
8931
|
? getThenableStateAfterSuspending()
|
|
8945
8932
|
: null;
|
|
8946
8933
|
} else {
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
var errorInfo = getThrownInfo(
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
boundary = request.blockedBoundary,
|
|
8934
|
+
task$jscomp$0.replay.pendingTasks--;
|
|
8935
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0);
|
|
8936
|
+
var errorInfo = getThrownInfo(task$jscomp$0.componentStack),
|
|
8937
|
+
request$jscomp$0 = request,
|
|
8938
|
+
boundary = task$jscomp$0.blockedBoundary,
|
|
8953
8939
|
error$jscomp$0 =
|
|
8954
|
-
12 === request
|
|
8955
|
-
? request$jscomp$0.fatalError
|
|
8956
|
-
: x,
|
|
8940
|
+
12 === request.status ? request.fatalError : x,
|
|
8957
8941
|
errorInfo$jscomp$0 = errorInfo,
|
|
8958
|
-
replayNodes =
|
|
8959
|
-
resumeSlots =
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8942
|
+
replayNodes = task$jscomp$0.replay.nodes,
|
|
8943
|
+
resumeSlots = task$jscomp$0.replay.slots,
|
|
8944
|
+
errorDigest = logRecoverableError(
|
|
8945
|
+
request$jscomp$0,
|
|
8946
|
+
error$jscomp$0,
|
|
8947
|
+
errorInfo$jscomp$0,
|
|
8948
|
+
task$jscomp$0.debugTask
|
|
8949
|
+
);
|
|
8966
8950
|
abortRemainingReplayNodes(
|
|
8967
|
-
request$jscomp$
|
|
8951
|
+
request$jscomp$0,
|
|
8968
8952
|
boundary,
|
|
8969
8953
|
replayNodes,
|
|
8970
8954
|
resumeSlots,
|
|
@@ -8973,54 +8957,52 @@ function performWork(request$jscomp$2) {
|
|
|
8973
8957
|
errorInfo$jscomp$0,
|
|
8974
8958
|
!1
|
|
8975
8959
|
);
|
|
8976
|
-
request
|
|
8977
|
-
0 === request
|
|
8978
|
-
|
|
8979
|
-
request
|
|
8980
|
-
0 === request$jscomp$0.allPendingTasks &&
|
|
8981
|
-
completeAll(request$jscomp$0);
|
|
8960
|
+
request.pendingRootTasks--;
|
|
8961
|
+
0 === request.pendingRootTasks && completeShell(request);
|
|
8962
|
+
request.allPendingTasks--;
|
|
8963
|
+
0 === request.allPendingTasks && completeAll(request);
|
|
8982
8964
|
}
|
|
8983
8965
|
} finally {
|
|
8984
8966
|
currentTaskInDEV = prevTaskInDEV;
|
|
8985
8967
|
}
|
|
8986
8968
|
}
|
|
8987
8969
|
} else if (
|
|
8988
|
-
((
|
|
8989
|
-
(
|
|
8990
|
-
(request$jscomp$
|
|
8991
|
-
request$jscomp$
|
|
8970
|
+
((prevTaskInDEV = void 0),
|
|
8971
|
+
(task$jscomp$0 = task),
|
|
8972
|
+
(request$jscomp$0 = segment),
|
|
8973
|
+
request$jscomp$0.status === PENDING)
|
|
8992
8974
|
) {
|
|
8993
|
-
request$jscomp$
|
|
8994
|
-
switchContext(
|
|
8995
|
-
|
|
8996
|
-
currentTaskInDEV =
|
|
8997
|
-
var childrenLength = request$jscomp$
|
|
8998
|
-
chunkLength = request$jscomp$
|
|
8975
|
+
request$jscomp$0.status = 6;
|
|
8976
|
+
switchContext(task$jscomp$0.context);
|
|
8977
|
+
prevTaskInDEV = currentTaskInDEV;
|
|
8978
|
+
currentTaskInDEV = task$jscomp$0;
|
|
8979
|
+
var childrenLength = request$jscomp$0.children.length,
|
|
8980
|
+
chunkLength = request$jscomp$0.chunks.length;
|
|
8999
8981
|
try {
|
|
9000
|
-
retryNode(request,
|
|
8982
|
+
retryNode(request, task$jscomp$0),
|
|
9001
8983
|
pushSegmentFinale(
|
|
9002
|
-
request$jscomp$
|
|
8984
|
+
request$jscomp$0.chunks,
|
|
9003
8985
|
request.renderState,
|
|
9004
|
-
request$jscomp$
|
|
9005
|
-
request$jscomp$
|
|
8986
|
+
request$jscomp$0.lastPushedText,
|
|
8987
|
+
request$jscomp$0.textEmbedded
|
|
9006
8988
|
),
|
|
9007
|
-
|
|
9008
|
-
(request$jscomp$
|
|
8989
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0),
|
|
8990
|
+
(request$jscomp$0.status = COMPLETED),
|
|
9009
8991
|
finishedSegment(
|
|
9010
8992
|
request,
|
|
9011
|
-
|
|
9012
|
-
request$jscomp$
|
|
8993
|
+
task$jscomp$0.blockedBoundary,
|
|
8994
|
+
request$jscomp$0
|
|
9013
8995
|
),
|
|
9014
8996
|
finishedTask(
|
|
9015
8997
|
request,
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
request$jscomp$
|
|
8998
|
+
task$jscomp$0.blockedBoundary,
|
|
8999
|
+
task$jscomp$0.row,
|
|
9000
|
+
request$jscomp$0
|
|
9019
9001
|
);
|
|
9020
9002
|
} catch (thrownValue) {
|
|
9021
9003
|
resetHooksState();
|
|
9022
|
-
request$jscomp$
|
|
9023
|
-
request$jscomp$
|
|
9004
|
+
request$jscomp$0.children.length = childrenLength;
|
|
9005
|
+
request$jscomp$0.chunks.length = chunkLength;
|
|
9024
9006
|
var x$jscomp$0 =
|
|
9025
9007
|
thrownValue === SuspenseException
|
|
9026
9008
|
? getSuspendedThenable()
|
|
@@ -9029,52 +9011,52 @@ function performWork(request$jscomp$2) {
|
|
|
9029
9011
|
: thrownValue;
|
|
9030
9012
|
if (12 === request.status && null !== request.trackedPostpones) {
|
|
9031
9013
|
var trackedPostpones = request.trackedPostpones,
|
|
9032
|
-
thrownInfo = getThrownInfo(
|
|
9033
|
-
|
|
9014
|
+
thrownInfo = getThrownInfo(task$jscomp$0.componentStack);
|
|
9015
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0);
|
|
9034
9016
|
logRecoverableError(
|
|
9035
9017
|
request,
|
|
9036
9018
|
x$jscomp$0,
|
|
9037
9019
|
thrownInfo,
|
|
9038
|
-
|
|
9020
|
+
task$jscomp$0.debugTask
|
|
9039
9021
|
);
|
|
9040
9022
|
trackPostpone(
|
|
9041
9023
|
request,
|
|
9042
9024
|
trackedPostpones,
|
|
9043
|
-
|
|
9044
|
-
request$jscomp$
|
|
9025
|
+
task$jscomp$0,
|
|
9026
|
+
request$jscomp$0
|
|
9045
9027
|
);
|
|
9046
9028
|
finishedTask(
|
|
9047
9029
|
request,
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
request$jscomp$
|
|
9030
|
+
task$jscomp$0.blockedBoundary,
|
|
9031
|
+
task$jscomp$0.row,
|
|
9032
|
+
request$jscomp$0
|
|
9051
9033
|
);
|
|
9052
9034
|
} else if (
|
|
9053
9035
|
"object" === typeof x$jscomp$0 &&
|
|
9054
9036
|
null !== x$jscomp$0 &&
|
|
9055
9037
|
"function" === typeof x$jscomp$0.then
|
|
9056
9038
|
) {
|
|
9057
|
-
request$jscomp$
|
|
9058
|
-
|
|
9039
|
+
request$jscomp$0.status = PENDING;
|
|
9040
|
+
task$jscomp$0.thenableState =
|
|
9059
9041
|
thrownValue === SuspenseException
|
|
9060
9042
|
? getThenableStateAfterSuspending()
|
|
9061
9043
|
: null;
|
|
9062
|
-
var ping$jscomp$0 =
|
|
9044
|
+
var ping$jscomp$0 = task$jscomp$0.ping;
|
|
9063
9045
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
9064
9046
|
} else {
|
|
9065
9047
|
var errorInfo$jscomp$1 = getThrownInfo(
|
|
9066
|
-
|
|
9048
|
+
task$jscomp$0.componentStack
|
|
9067
9049
|
);
|
|
9068
|
-
|
|
9069
|
-
request$jscomp$
|
|
9070
|
-
var boundary$jscomp$0 =
|
|
9071
|
-
row =
|
|
9072
|
-
debugTask =
|
|
9050
|
+
task$jscomp$0.abortSet.delete(task$jscomp$0);
|
|
9051
|
+
request$jscomp$0.status = ERRORED;
|
|
9052
|
+
var boundary$jscomp$0 = task$jscomp$0.blockedBoundary,
|
|
9053
|
+
row = task$jscomp$0.row,
|
|
9054
|
+
debugTask = task$jscomp$0.debugTask;
|
|
9073
9055
|
null !== row &&
|
|
9074
9056
|
0 === --row.pendingTasks &&
|
|
9075
9057
|
finishSuspenseListRow(request, row);
|
|
9076
9058
|
request.allPendingTasks--;
|
|
9077
|
-
|
|
9059
|
+
var errorDigest$jscomp$0 = logRecoverableError(
|
|
9078
9060
|
request,
|
|
9079
9061
|
x$jscomp$0,
|
|
9080
9062
|
errorInfo$jscomp$1,
|
|
@@ -9089,7 +9071,7 @@ function performWork(request$jscomp$2) {
|
|
|
9089
9071
|
boundary$jscomp$0.status = CLIENT_RENDERED;
|
|
9090
9072
|
encodeErrorForBoundary(
|
|
9091
9073
|
boundary$jscomp$0,
|
|
9092
|
-
|
|
9074
|
+
errorDigest$jscomp$0,
|
|
9093
9075
|
x$jscomp$0,
|
|
9094
9076
|
errorInfo$jscomp$1,
|
|
9095
9077
|
!1
|
|
@@ -9109,17 +9091,17 @@ function performWork(request$jscomp$2) {
|
|
|
9109
9091
|
0 === request.allPendingTasks && completeAll(request);
|
|
9110
9092
|
}
|
|
9111
9093
|
} finally {
|
|
9112
|
-
currentTaskInDEV =
|
|
9094
|
+
currentTaskInDEV = prevTaskInDEV;
|
|
9113
9095
|
}
|
|
9114
9096
|
}
|
|
9115
9097
|
}
|
|
9116
9098
|
pingedTasks.splice(0, i);
|
|
9117
|
-
null !== request$jscomp$
|
|
9118
|
-
flushCompletedQueues(request$jscomp$
|
|
9099
|
+
null !== request$jscomp$1.destination &&
|
|
9100
|
+
flushCompletedQueues(request$jscomp$1, request$jscomp$1.destination);
|
|
9119
9101
|
} catch (error) {
|
|
9120
9102
|
(pingedTasks = {}),
|
|
9121
|
-
logRecoverableError(request$jscomp$
|
|
9122
|
-
fatalError(request$jscomp$
|
|
9103
|
+
logRecoverableError(request$jscomp$1, error, pingedTasks, null),
|
|
9104
|
+
fatalError(request$jscomp$1, error, pingedTasks, null);
|
|
9123
9105
|
} finally {
|
|
9124
9106
|
(currentResumableState = prevResumableState),
|
|
9125
9107
|
(ReactSharedInternals.H = prevDispatcher),
|
|
@@ -9918,11 +9900,11 @@ function getPostponedState(request) {
|
|
|
9918
9900
|
}
|
|
9919
9901
|
function ensureCorrectIsomorphicReactVersion() {
|
|
9920
9902
|
var isomorphicReactPackageVersion = React.version;
|
|
9921
|
-
if ("19.3.0-canary-
|
|
9903
|
+
if ("19.3.0-canary-dd048c3b-20251105" !== isomorphicReactPackageVersion)
|
|
9922
9904
|
throw Error(
|
|
9923
9905
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
9924
9906
|
(isomorphicReactPackageVersion +
|
|
9925
|
-
"\n - react-dom: 19.3.0-canary-
|
|
9907
|
+
"\n - react-dom: 19.3.0-canary-dd048c3b-20251105\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
9926
9908
|
);
|
|
9927
9909
|
}
|
|
9928
9910
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -9965,7 +9947,6 @@ function createRequestImpl(children, options) {
|
|
|
9965
9947
|
options ? options.onShellReady : void 0,
|
|
9966
9948
|
options ? options.onShellError : void 0,
|
|
9967
9949
|
void 0,
|
|
9968
|
-
options ? options.onPostpone : void 0,
|
|
9969
9950
|
options ? options.formState : void 0
|
|
9970
9951
|
);
|
|
9971
9952
|
}
|
|
@@ -10002,8 +9983,7 @@ function resumeRequestImpl(children, postponedState, options) {
|
|
|
10002
9983
|
options ? options.onAllReady : void 0,
|
|
10003
9984
|
options ? options.onShellReady : void 0,
|
|
10004
9985
|
options ? options.onShellError : void 0,
|
|
10005
|
-
void 0
|
|
10006
|
-
options ? options.onPostpone : void 0
|
|
9986
|
+
void 0
|
|
10007
9987
|
);
|
|
10008
9988
|
}
|
|
10009
9989
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -10090,8 +10070,7 @@ exports.prerender = function (children, options) {
|
|
|
10090
10070
|
},
|
|
10091
10071
|
void 0,
|
|
10092
10072
|
void 0,
|
|
10093
|
-
reject
|
|
10094
|
-
options ? options.onPostpone : void 0
|
|
10073
|
+
reject
|
|
10095
10074
|
);
|
|
10096
10075
|
if (options && options.signal) {
|
|
10097
10076
|
var signal = options.signal;
|
|
@@ -10145,8 +10124,7 @@ exports.prerenderToNodeStream = function (children, options) {
|
|
|
10145
10124
|
},
|
|
10146
10125
|
void 0,
|
|
10147
10126
|
void 0,
|
|
10148
|
-
reject
|
|
10149
|
-
options ? options.onPostpone : void 0
|
|
10127
|
+
reject
|
|
10150
10128
|
);
|
|
10151
10129
|
if (options && options.signal) {
|
|
10152
10130
|
var signal = options.signal;
|
|
@@ -10259,7 +10237,6 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
10259
10237
|
reject(error);
|
|
10260
10238
|
},
|
|
10261
10239
|
onFatalError,
|
|
10262
|
-
options ? options.onPostpone : void 0,
|
|
10263
10240
|
options ? options.formState : void 0
|
|
10264
10241
|
);
|
|
10265
10242
|
if (options && options.signal) {
|
|
@@ -10325,8 +10302,7 @@ exports.resume = function (children, postponedState, options) {
|
|
|
10325
10302
|
allReady.catch(function () {});
|
|
10326
10303
|
reject(error);
|
|
10327
10304
|
},
|
|
10328
|
-
onFatalError
|
|
10329
|
-
options ? options.onPostpone : void 0
|
|
10305
|
+
onFatalError
|
|
10330
10306
|
);
|
|
10331
10307
|
if (options && options.signal) {
|
|
10332
10308
|
var signal = options.signal;
|
|
@@ -10380,8 +10356,7 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
|
|
|
10380
10356
|
},
|
|
10381
10357
|
void 0,
|
|
10382
10358
|
void 0,
|
|
10383
|
-
reject
|
|
10384
|
-
options ? options.onPostpone : void 0
|
|
10359
|
+
reject
|
|
10385
10360
|
);
|
|
10386
10361
|
if (options && options.signal) {
|
|
10387
10362
|
var signal = options.signal;
|
|
@@ -10427,8 +10402,7 @@ exports.resumeAndPrerenderToNodeStream = function (
|
|
|
10427
10402
|
},
|
|
10428
10403
|
void 0,
|
|
10429
10404
|
void 0,
|
|
10430
|
-
reject
|
|
10431
|
-
options ? options.onPostpone : void 0
|
|
10405
|
+
reject
|
|
10432
10406
|
);
|
|
10433
10407
|
if (options && options.signal) {
|
|
10434
10408
|
var signal = options.signal;
|
|
@@ -10475,4 +10449,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) {
|
|
|
10475
10449
|
}
|
|
10476
10450
|
};
|
|
10477
10451
|
};
|
|
10478
|
-
exports.version = "19.3.0-canary-
|
|
10452
|
+
exports.version = "19.3.0-canary-dd048c3b-20251105";
|