react-dom 19.2.0-canary-3d14fcf0-20250724 → 19.2.0-canary-eaee5308-20250728
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 +106 -107
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +106 -107
- package/cjs/react-dom-profiling.profiling.js +5 -5
- package/cjs/react-dom-server-legacy.browser.development.js +57 -24
- package/cjs/react-dom-server-legacy.browser.production.js +25 -7
- package/cjs/react-dom-server-legacy.node.development.js +57 -24
- package/cjs/react-dom-server-legacy.node.production.js +25 -7
- package/cjs/react-dom-server.browser.development.js +59 -26
- package/cjs/react-dom-server.browser.production.js +27 -9
- package/cjs/react-dom-server.bun.development.js +59 -21
- package/cjs/react-dom-server.bun.production.js +27 -9
- package/cjs/react-dom-server.edge.development.js +59 -26
- package/cjs/react-dom-server.edge.production.js +27 -9
- package/cjs/react-dom-server.node.development.js +59 -26
- package/cjs/react-dom-server.node.production.js +27 -9
- 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
|
@@ -5179,7 +5179,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5179
5179
|
"object" === typeof node && null !== node)
|
|
5180
5180
|
) {
|
|
5181
5181
|
if ("function" === typeof node.then) {
|
|
5182
|
-
childIndex =
|
|
5182
|
+
childIndex =
|
|
5183
|
+
thrownValue === SuspenseException
|
|
5184
|
+
? getThenableStateAfterSuspending()
|
|
5185
|
+
: null;
|
|
5183
5186
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
|
5184
5187
|
node.then(request, request);
|
|
5185
5188
|
task.formatContext = previousFormatContext;
|
|
@@ -5192,7 +5195,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5192
5195
|
return;
|
|
5193
5196
|
}
|
|
5194
5197
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5195
|
-
node =
|
|
5198
|
+
node =
|
|
5199
|
+
thrownValue === SuspenseException
|
|
5200
|
+
? getThenableStateAfterSuspending()
|
|
5201
|
+
: null;
|
|
5196
5202
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
5197
5203
|
request.pingedTasks.push(node);
|
|
5198
5204
|
task.formatContext = previousFormatContext;
|
|
@@ -5224,7 +5230,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5224
5230
|
) {
|
|
5225
5231
|
if ("function" === typeof node.then) {
|
|
5226
5232
|
segment = node;
|
|
5227
|
-
node =
|
|
5233
|
+
node =
|
|
5234
|
+
thrownValue$60 === SuspenseException
|
|
5235
|
+
? getThenableStateAfterSuspending()
|
|
5236
|
+
: null;
|
|
5228
5237
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5229
5238
|
segment.then(request, request);
|
|
5230
5239
|
task.formatContext = previousFormatContext;
|
|
@@ -5236,7 +5245,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5236
5245
|
return;
|
|
5237
5246
|
}
|
|
5238
5247
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5239
|
-
segment =
|
|
5248
|
+
segment =
|
|
5249
|
+
thrownValue$60 === SuspenseException
|
|
5250
|
+
? getThenableStateAfterSuspending()
|
|
5251
|
+
: null;
|
|
5240
5252
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5241
5253
|
request.pingedTasks.push(segment);
|
|
5242
5254
|
task.formatContext = previousFormatContext;
|
|
@@ -5632,7 +5644,10 @@ function performWork(request$jscomp$2) {
|
|
|
5632
5644
|
) {
|
|
5633
5645
|
var ping = task.ping;
|
|
5634
5646
|
x.then(ping, ping);
|
|
5635
|
-
task.thenableState =
|
|
5647
|
+
task.thenableState =
|
|
5648
|
+
thrownValue === SuspenseException
|
|
5649
|
+
? getThenableStateAfterSuspending()
|
|
5650
|
+
: null;
|
|
5636
5651
|
} else {
|
|
5637
5652
|
task.replay.pendingTasks--;
|
|
5638
5653
|
task.abortSet.delete(task);
|
|
@@ -5710,7 +5725,10 @@ function performWork(request$jscomp$2) {
|
|
|
5710
5725
|
"function" === typeof x$jscomp$0.then
|
|
5711
5726
|
) {
|
|
5712
5727
|
request$jscomp$1.status = 0;
|
|
5713
|
-
task.thenableState =
|
|
5728
|
+
task.thenableState =
|
|
5729
|
+
thrownValue === SuspenseException
|
|
5730
|
+
? getThenableStateAfterSuspending()
|
|
5731
|
+
: null;
|
|
5714
5732
|
var ping$jscomp$0 = task.ping;
|
|
5715
5733
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
5716
5734
|
} else {
|
|
@@ -6467,4 +6485,4 @@ exports.renderToString = function (children, options) {
|
|
|
6467
6485
|
'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'
|
|
6468
6486
|
);
|
|
6469
6487
|
};
|
|
6470
|
-
exports.version = "19.2.0-canary-
|
|
6488
|
+
exports.version = "19.2.0-canary-eaee5308-20250728";
|
|
@@ -4687,6 +4687,27 @@
|
|
|
4687
4687
|
}
|
|
4688
4688
|
return JSCompiler_inline_result$jscomp$0;
|
|
4689
4689
|
}
|
|
4690
|
+
function pushHaltedAwaitOnComponentStack(task, debugInfo) {
|
|
4691
|
+
if (null != debugInfo)
|
|
4692
|
+
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
|
4693
|
+
var info = debugInfo[i];
|
|
4694
|
+
if ("string" === typeof info.name) break;
|
|
4695
|
+
if ("number" === typeof info.time) break;
|
|
4696
|
+
if (null != info.awaited) {
|
|
4697
|
+
var bestStack = null == info.debugStack ? info.awaited : info;
|
|
4698
|
+
if (void 0 !== bestStack.debugStack) {
|
|
4699
|
+
task.componentStack = {
|
|
4700
|
+
parent: task.componentStack,
|
|
4701
|
+
type: info,
|
|
4702
|
+
owner: bestStack.owner,
|
|
4703
|
+
stack: bestStack.debugStack
|
|
4704
|
+
};
|
|
4705
|
+
task.debugTask = bestStack.debugTask;
|
|
4706
|
+
break;
|
|
4707
|
+
}
|
|
4708
|
+
}
|
|
4709
|
+
}
|
|
4710
|
+
}
|
|
4690
4711
|
function pushServerComponentStack(task, debugInfo) {
|
|
4691
4712
|
if (null != debugInfo)
|
|
4692
4713
|
for (var i = 0; i < debugInfo.length; i++) {
|
|
@@ -6720,7 +6741,10 @@
|
|
|
6720
6741
|
"object" === typeof node && null !== node)
|
|
6721
6742
|
) {
|
|
6722
6743
|
if ("function" === typeof node.then) {
|
|
6723
|
-
childIndex =
|
|
6744
|
+
childIndex =
|
|
6745
|
+
thrownValue === SuspenseException
|
|
6746
|
+
? getThenableStateAfterSuspending()
|
|
6747
|
+
: null;
|
|
6724
6748
|
request = spawnNewSuspendedReplayTask(
|
|
6725
6749
|
request,
|
|
6726
6750
|
task,
|
|
@@ -6738,7 +6762,10 @@
|
|
|
6738
6762
|
return;
|
|
6739
6763
|
}
|
|
6740
6764
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
6741
|
-
node =
|
|
6765
|
+
node =
|
|
6766
|
+
thrownValue === SuspenseException
|
|
6767
|
+
? getThenableStateAfterSuspending()
|
|
6768
|
+
: null;
|
|
6742
6769
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
6743
6770
|
request.pingedTasks.push(node);
|
|
6744
6771
|
task.formatContext = previousFormatContext;
|
|
@@ -6771,7 +6798,10 @@
|
|
|
6771
6798
|
) {
|
|
6772
6799
|
if ("function" === typeof node.then) {
|
|
6773
6800
|
segment = node;
|
|
6774
|
-
node =
|
|
6801
|
+
node =
|
|
6802
|
+
thrownValue$3 === SuspenseException
|
|
6803
|
+
? getThenableStateAfterSuspending()
|
|
6804
|
+
: null;
|
|
6775
6805
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
6776
6806
|
segment.then(request, request);
|
|
6777
6807
|
task.formatContext = previousFormatContext;
|
|
@@ -6784,7 +6814,10 @@
|
|
|
6784
6814
|
return;
|
|
6785
6815
|
}
|
|
6786
6816
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
6787
|
-
segment =
|
|
6817
|
+
segment =
|
|
6818
|
+
thrownValue$3 === SuspenseException
|
|
6819
|
+
? getThenableStateAfterSuspending()
|
|
6820
|
+
: null;
|
|
6788
6821
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
6789
6822
|
request.pingedTasks.push(segment);
|
|
6790
6823
|
task.formatContext = previousFormatContext;
|
|
@@ -6893,6 +6926,10 @@
|
|
|
6893
6926
|
segment.status = ABORTED;
|
|
6894
6927
|
}
|
|
6895
6928
|
segment = getThrownInfo(task.componentStack);
|
|
6929
|
+
var node = task.node;
|
|
6930
|
+
null !== node &&
|
|
6931
|
+
"object" === typeof node &&
|
|
6932
|
+
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
|
|
6896
6933
|
if (null === boundary) {
|
|
6897
6934
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
6898
6935
|
boundary = task.replay;
|
|
@@ -6902,38 +6939,28 @@
|
|
|
6902
6939
|
return;
|
|
6903
6940
|
}
|
|
6904
6941
|
boundary.pendingTasks--;
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
error,
|
|
6909
|
-
segment,
|
|
6910
|
-
null
|
|
6911
|
-
);
|
|
6942
|
+
0 === boundary.pendingTasks &&
|
|
6943
|
+
0 < boundary.nodes.length &&
|
|
6944
|
+
((node = logRecoverableError(request, error, segment, null)),
|
|
6912
6945
|
abortRemainingReplayNodes(
|
|
6913
6946
|
request,
|
|
6914
6947
|
null,
|
|
6915
6948
|
boundary.nodes,
|
|
6916
6949
|
boundary.slots,
|
|
6917
6950
|
error,
|
|
6918
|
-
|
|
6951
|
+
node,
|
|
6919
6952
|
segment,
|
|
6920
6953
|
!0
|
|
6921
|
-
);
|
|
6922
|
-
}
|
|
6954
|
+
));
|
|
6923
6955
|
request.pendingRootTasks--;
|
|
6924
6956
|
0 === request.pendingRootTasks && completeShell(request);
|
|
6925
6957
|
}
|
|
6926
6958
|
} else
|
|
6927
6959
|
boundary.status !== CLIENT_RENDERED &&
|
|
6928
6960
|
((boundary.status = CLIENT_RENDERED),
|
|
6929
|
-
(
|
|
6930
|
-
request,
|
|
6931
|
-
error,
|
|
6932
|
-
segment,
|
|
6933
|
-
task.debugTask
|
|
6934
|
-
)),
|
|
6961
|
+
(node = logRecoverableError(request, error, segment, task.debugTask)),
|
|
6935
6962
|
(boundary.status = CLIENT_RENDERED),
|
|
6936
|
-
encodeErrorForBoundary(boundary,
|
|
6963
|
+
encodeErrorForBoundary(boundary, node, error, segment, !0),
|
|
6937
6964
|
untrackBoundary(request, boundary),
|
|
6938
6965
|
boundary.parentFlushed &&
|
|
6939
6966
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -7246,7 +7273,10 @@
|
|
|
7246
7273
|
) {
|
|
7247
7274
|
var ping = request.ping;
|
|
7248
7275
|
x.then(ping, ping);
|
|
7249
|
-
request.thenableState =
|
|
7276
|
+
request.thenableState =
|
|
7277
|
+
thrownValue === SuspenseException
|
|
7278
|
+
? getThenableStateAfterSuspending()
|
|
7279
|
+
: null;
|
|
7250
7280
|
} else {
|
|
7251
7281
|
request.replay.pendingTasks--;
|
|
7252
7282
|
request.abortSet.delete(request);
|
|
@@ -7332,7 +7362,10 @@
|
|
|
7332
7362
|
"function" === typeof x$jscomp$0.then
|
|
7333
7363
|
) {
|
|
7334
7364
|
request$jscomp$1.status = PENDING;
|
|
7335
|
-
errorDigest.thenableState =
|
|
7365
|
+
errorDigest.thenableState =
|
|
7366
|
+
thrownValue === SuspenseException
|
|
7367
|
+
? getThenableStateAfterSuspending()
|
|
7368
|
+
: null;
|
|
7336
7369
|
var ping$jscomp$0 = errorDigest.ping;
|
|
7337
7370
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
7338
7371
|
} else {
|
|
@@ -9701,5 +9734,5 @@
|
|
|
9701
9734
|
'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 "renderToPipeableStream" which supports Suspense on the server'
|
|
9702
9735
|
);
|
|
9703
9736
|
};
|
|
9704
|
-
exports.version = "19.2.0-canary-
|
|
9737
|
+
exports.version = "19.2.0-canary-eaee5308-20250728";
|
|
9705
9738
|
})();
|
|
@@ -5239,7 +5239,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5239
5239
|
"object" === typeof node && null !== node)
|
|
5240
5240
|
) {
|
|
5241
5241
|
if ("function" === typeof node.then) {
|
|
5242
|
-
childIndex =
|
|
5242
|
+
childIndex =
|
|
5243
|
+
thrownValue === SuspenseException
|
|
5244
|
+
? getThenableStateAfterSuspending()
|
|
5245
|
+
: null;
|
|
5243
5246
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
|
5244
5247
|
node.then(request, request);
|
|
5245
5248
|
task.formatContext = previousFormatContext;
|
|
@@ -5252,7 +5255,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5252
5255
|
return;
|
|
5253
5256
|
}
|
|
5254
5257
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5255
|
-
node =
|
|
5258
|
+
node =
|
|
5259
|
+
thrownValue === SuspenseException
|
|
5260
|
+
? getThenableStateAfterSuspending()
|
|
5261
|
+
: null;
|
|
5256
5262
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
5257
5263
|
request.pingedTasks.push(node);
|
|
5258
5264
|
task.formatContext = previousFormatContext;
|
|
@@ -5284,7 +5290,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5284
5290
|
) {
|
|
5285
5291
|
if ("function" === typeof node.then) {
|
|
5286
5292
|
segment = node;
|
|
5287
|
-
node =
|
|
5293
|
+
node =
|
|
5294
|
+
thrownValue$60 === SuspenseException
|
|
5295
|
+
? getThenableStateAfterSuspending()
|
|
5296
|
+
: null;
|
|
5288
5297
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5289
5298
|
segment.then(request, request);
|
|
5290
5299
|
task.formatContext = previousFormatContext;
|
|
@@ -5296,7 +5305,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5296
5305
|
return;
|
|
5297
5306
|
}
|
|
5298
5307
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5299
|
-
segment =
|
|
5308
|
+
segment =
|
|
5309
|
+
thrownValue$60 === SuspenseException
|
|
5310
|
+
? getThenableStateAfterSuspending()
|
|
5311
|
+
: null;
|
|
5300
5312
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5301
5313
|
request.pingedTasks.push(segment);
|
|
5302
5314
|
task.formatContext = previousFormatContext;
|
|
@@ -5702,7 +5714,10 @@ function performWork(request$jscomp$2) {
|
|
|
5702
5714
|
) {
|
|
5703
5715
|
var ping = task.ping;
|
|
5704
5716
|
x.then(ping, ping);
|
|
5705
|
-
task.thenableState =
|
|
5717
|
+
task.thenableState =
|
|
5718
|
+
thrownValue === SuspenseException
|
|
5719
|
+
? getThenableStateAfterSuspending()
|
|
5720
|
+
: null;
|
|
5706
5721
|
} else {
|
|
5707
5722
|
task.replay.pendingTasks--;
|
|
5708
5723
|
task.abortSet.delete(task);
|
|
@@ -5780,7 +5795,10 @@ function performWork(request$jscomp$2) {
|
|
|
5780
5795
|
"function" === typeof x$jscomp$0.then
|
|
5781
5796
|
) {
|
|
5782
5797
|
request$jscomp$1.status = 0;
|
|
5783
|
-
task.thenableState =
|
|
5798
|
+
task.thenableState =
|
|
5799
|
+
thrownValue === SuspenseException
|
|
5800
|
+
? getThenableStateAfterSuspending()
|
|
5801
|
+
: null;
|
|
5784
5802
|
var ping$jscomp$0 = task.ping;
|
|
5785
5803
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
5786
5804
|
} else {
|
|
@@ -6550,4 +6568,4 @@ exports.renderToString = function (children, options) {
|
|
|
6550
6568
|
'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 "renderToPipeableStream" which supports Suspense on the server'
|
|
6551
6569
|
);
|
|
6552
6570
|
};
|
|
6553
|
-
exports.version = "19.2.0-canary-
|
|
6571
|
+
exports.version = "19.2.0-canary-eaee5308-20250728";
|
|
@@ -4890,6 +4890,27 @@
|
|
|
4890
4890
|
}
|
|
4891
4891
|
return JSCompiler_inline_result$jscomp$0;
|
|
4892
4892
|
}
|
|
4893
|
+
function pushHaltedAwaitOnComponentStack(task, debugInfo) {
|
|
4894
|
+
if (null != debugInfo)
|
|
4895
|
+
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
|
4896
|
+
var info = debugInfo[i];
|
|
4897
|
+
if ("string" === typeof info.name) break;
|
|
4898
|
+
if ("number" === typeof info.time) break;
|
|
4899
|
+
if (null != info.awaited) {
|
|
4900
|
+
var bestStack = null == info.debugStack ? info.awaited : info;
|
|
4901
|
+
if (void 0 !== bestStack.debugStack) {
|
|
4902
|
+
task.componentStack = {
|
|
4903
|
+
parent: task.componentStack,
|
|
4904
|
+
type: info,
|
|
4905
|
+
owner: bestStack.owner,
|
|
4906
|
+
stack: bestStack.debugStack
|
|
4907
|
+
};
|
|
4908
|
+
task.debugTask = bestStack.debugTask;
|
|
4909
|
+
break;
|
|
4910
|
+
}
|
|
4911
|
+
}
|
|
4912
|
+
}
|
|
4913
|
+
}
|
|
4893
4914
|
function pushServerComponentStack(task, debugInfo) {
|
|
4894
4915
|
if (null != debugInfo)
|
|
4895
4916
|
for (var i = 0; i < debugInfo.length; i++) {
|
|
@@ -6933,7 +6954,10 @@
|
|
|
6933
6954
|
"object" === typeof node && null !== node)
|
|
6934
6955
|
) {
|
|
6935
6956
|
if ("function" === typeof node.then) {
|
|
6936
|
-
childIndex =
|
|
6957
|
+
childIndex =
|
|
6958
|
+
thrownValue === SuspenseException
|
|
6959
|
+
? getThenableStateAfterSuspending()
|
|
6960
|
+
: null;
|
|
6937
6961
|
request = spawnNewSuspendedReplayTask(
|
|
6938
6962
|
request,
|
|
6939
6963
|
task,
|
|
@@ -6951,7 +6975,10 @@
|
|
|
6951
6975
|
return;
|
|
6952
6976
|
}
|
|
6953
6977
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
6954
|
-
node =
|
|
6978
|
+
node =
|
|
6979
|
+
thrownValue === SuspenseException
|
|
6980
|
+
? getThenableStateAfterSuspending()
|
|
6981
|
+
: null;
|
|
6955
6982
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
6956
6983
|
request.pingedTasks.push(node);
|
|
6957
6984
|
task.formatContext = previousFormatContext;
|
|
@@ -6984,7 +7011,10 @@
|
|
|
6984
7011
|
) {
|
|
6985
7012
|
if ("function" === typeof node.then) {
|
|
6986
7013
|
segment = node;
|
|
6987
|
-
node =
|
|
7014
|
+
node =
|
|
7015
|
+
thrownValue$3 === SuspenseException
|
|
7016
|
+
? getThenableStateAfterSuspending()
|
|
7017
|
+
: null;
|
|
6988
7018
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
6989
7019
|
segment.then(request, request);
|
|
6990
7020
|
task.formatContext = previousFormatContext;
|
|
@@ -6997,7 +7027,10 @@
|
|
|
6997
7027
|
return;
|
|
6998
7028
|
}
|
|
6999
7029
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
7000
|
-
segment =
|
|
7030
|
+
segment =
|
|
7031
|
+
thrownValue$3 === SuspenseException
|
|
7032
|
+
? getThenableStateAfterSuspending()
|
|
7033
|
+
: null;
|
|
7001
7034
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
7002
7035
|
request.pingedTasks.push(segment);
|
|
7003
7036
|
task.formatContext = previousFormatContext;
|
|
@@ -7106,6 +7139,10 @@
|
|
|
7106
7139
|
segment.status = ABORTED;
|
|
7107
7140
|
}
|
|
7108
7141
|
segment = getThrownInfo(task.componentStack);
|
|
7142
|
+
var node = task.node;
|
|
7143
|
+
null !== node &&
|
|
7144
|
+
"object" === typeof node &&
|
|
7145
|
+
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
|
|
7109
7146
|
if (null === boundary) {
|
|
7110
7147
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
7111
7148
|
boundary = task.replay;
|
|
@@ -7115,38 +7152,28 @@
|
|
|
7115
7152
|
return;
|
|
7116
7153
|
}
|
|
7117
7154
|
boundary.pendingTasks--;
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
error,
|
|
7122
|
-
segment,
|
|
7123
|
-
null
|
|
7124
|
-
);
|
|
7155
|
+
0 === boundary.pendingTasks &&
|
|
7156
|
+
0 < boundary.nodes.length &&
|
|
7157
|
+
((node = logRecoverableError(request, error, segment, null)),
|
|
7125
7158
|
abortRemainingReplayNodes(
|
|
7126
7159
|
request,
|
|
7127
7160
|
null,
|
|
7128
7161
|
boundary.nodes,
|
|
7129
7162
|
boundary.slots,
|
|
7130
7163
|
error,
|
|
7131
|
-
|
|
7164
|
+
node,
|
|
7132
7165
|
segment,
|
|
7133
7166
|
!0
|
|
7134
|
-
);
|
|
7135
|
-
}
|
|
7167
|
+
));
|
|
7136
7168
|
request.pendingRootTasks--;
|
|
7137
7169
|
0 === request.pendingRootTasks && completeShell(request);
|
|
7138
7170
|
}
|
|
7139
7171
|
} else
|
|
7140
7172
|
boundary.status !== CLIENT_RENDERED &&
|
|
7141
7173
|
((boundary.status = CLIENT_RENDERED),
|
|
7142
|
-
(
|
|
7143
|
-
request,
|
|
7144
|
-
error,
|
|
7145
|
-
segment,
|
|
7146
|
-
task.debugTask
|
|
7147
|
-
)),
|
|
7174
|
+
(node = logRecoverableError(request, error, segment, task.debugTask)),
|
|
7148
7175
|
(boundary.status = CLIENT_RENDERED),
|
|
7149
|
-
encodeErrorForBoundary(boundary,
|
|
7176
|
+
encodeErrorForBoundary(boundary, node, error, segment, !0),
|
|
7150
7177
|
untrackBoundary(request, boundary),
|
|
7151
7178
|
boundary.parentFlushed &&
|
|
7152
7179
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -7469,7 +7496,10 @@
|
|
|
7469
7496
|
) {
|
|
7470
7497
|
var ping = request.ping;
|
|
7471
7498
|
x.then(ping, ping);
|
|
7472
|
-
request.thenableState =
|
|
7499
|
+
request.thenableState =
|
|
7500
|
+
thrownValue === SuspenseException
|
|
7501
|
+
? getThenableStateAfterSuspending()
|
|
7502
|
+
: null;
|
|
7473
7503
|
} else {
|
|
7474
7504
|
request.replay.pendingTasks--;
|
|
7475
7505
|
request.abortSet.delete(request);
|
|
@@ -7557,7 +7587,10 @@
|
|
|
7557
7587
|
"function" === typeof x$jscomp$0.then
|
|
7558
7588
|
) {
|
|
7559
7589
|
request$jscomp$1.status = PENDING;
|
|
7560
|
-
errorDigest.thenableState =
|
|
7590
|
+
errorDigest.thenableState =
|
|
7591
|
+
thrownValue === SuspenseException
|
|
7592
|
+
? getThenableStateAfterSuspending()
|
|
7593
|
+
: null;
|
|
7561
7594
|
var ping$jscomp$0 = errorDigest.ping;
|
|
7562
7595
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
7563
7596
|
} else {
|
|
@@ -8448,11 +8481,11 @@
|
|
|
8448
8481
|
}
|
|
8449
8482
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8450
8483
|
var isomorphicReactPackageVersion = React.version;
|
|
8451
|
-
if ("19.2.0-canary-
|
|
8484
|
+
if ("19.2.0-canary-eaee5308-20250728" !== isomorphicReactPackageVersion)
|
|
8452
8485
|
throw Error(
|
|
8453
8486
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8454
8487
|
(isomorphicReactPackageVersion +
|
|
8455
|
-
"\n - react-dom: 19.2.0-canary-
|
|
8488
|
+
"\n - react-dom: 19.2.0-canary-eaee5308-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8456
8489
|
);
|
|
8457
8490
|
}
|
|
8458
8491
|
var React = require("react"),
|
|
@@ -10142,5 +10175,5 @@
|
|
|
10142
10175
|
startWork(request);
|
|
10143
10176
|
});
|
|
10144
10177
|
};
|
|
10145
|
-
exports.version = "19.2.0-canary-
|
|
10178
|
+
exports.version = "19.2.0-canary-eaee5308-20250728";
|
|
10146
10179
|
})();
|
|
@@ -5621,7 +5621,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5621
5621
|
"object" === typeof node && null !== node)
|
|
5622
5622
|
) {
|
|
5623
5623
|
if ("function" === typeof node.then) {
|
|
5624
|
-
childIndex =
|
|
5624
|
+
childIndex =
|
|
5625
|
+
thrownValue === SuspenseException
|
|
5626
|
+
? getThenableStateAfterSuspending()
|
|
5627
|
+
: null;
|
|
5625
5628
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
|
5626
5629
|
node.then(request, request);
|
|
5627
5630
|
task.formatContext = previousFormatContext;
|
|
@@ -5634,7 +5637,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5634
5637
|
return;
|
|
5635
5638
|
}
|
|
5636
5639
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5637
|
-
node =
|
|
5640
|
+
node =
|
|
5641
|
+
thrownValue === SuspenseException
|
|
5642
|
+
? getThenableStateAfterSuspending()
|
|
5643
|
+
: null;
|
|
5638
5644
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
5639
5645
|
request.pingedTasks.push(node);
|
|
5640
5646
|
task.formatContext = previousFormatContext;
|
|
@@ -5666,7 +5672,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5666
5672
|
) {
|
|
5667
5673
|
if ("function" === typeof node.then) {
|
|
5668
5674
|
segment = node;
|
|
5669
|
-
node =
|
|
5675
|
+
node =
|
|
5676
|
+
thrownValue$60 === SuspenseException
|
|
5677
|
+
? getThenableStateAfterSuspending()
|
|
5678
|
+
: null;
|
|
5670
5679
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5671
5680
|
segment.then(request, request);
|
|
5672
5681
|
task.formatContext = previousFormatContext;
|
|
@@ -5678,7 +5687,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5678
5687
|
return;
|
|
5679
5688
|
}
|
|
5680
5689
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5681
|
-
segment =
|
|
5690
|
+
segment =
|
|
5691
|
+
thrownValue$60 === SuspenseException
|
|
5692
|
+
? getThenableStateAfterSuspending()
|
|
5693
|
+
: null;
|
|
5682
5694
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5683
5695
|
request.pingedTasks.push(segment);
|
|
5684
5696
|
task.formatContext = previousFormatContext;
|
|
@@ -6084,7 +6096,10 @@ function performWork(request$jscomp$2) {
|
|
|
6084
6096
|
) {
|
|
6085
6097
|
var ping = task.ping;
|
|
6086
6098
|
x.then(ping, ping);
|
|
6087
|
-
task.thenableState =
|
|
6099
|
+
task.thenableState =
|
|
6100
|
+
thrownValue === SuspenseException
|
|
6101
|
+
? getThenableStateAfterSuspending()
|
|
6102
|
+
: null;
|
|
6088
6103
|
} else {
|
|
6089
6104
|
task.replay.pendingTasks--;
|
|
6090
6105
|
task.abortSet.delete(task);
|
|
@@ -6160,7 +6175,10 @@ function performWork(request$jscomp$2) {
|
|
|
6160
6175
|
"function" === typeof x$jscomp$0.then
|
|
6161
6176
|
) {
|
|
6162
6177
|
request$jscomp$1.status = 0;
|
|
6163
|
-
task.thenableState =
|
|
6178
|
+
task.thenableState =
|
|
6179
|
+
thrownValue === SuspenseException
|
|
6180
|
+
? getThenableStateAfterSuspending()
|
|
6181
|
+
: null;
|
|
6164
6182
|
var ping$jscomp$0 = task.ping;
|
|
6165
6183
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
6166
6184
|
} else {
|
|
@@ -6851,12 +6869,12 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6851
6869
|
}
|
|
6852
6870
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6853
6871
|
var isomorphicReactPackageVersion = React.version;
|
|
6854
|
-
if ("19.2.0-canary-
|
|
6872
|
+
if ("19.2.0-canary-eaee5308-20250728" !== isomorphicReactPackageVersion)
|
|
6855
6873
|
throw Error(
|
|
6856
6874
|
formatProdErrorMessage(
|
|
6857
6875
|
527,
|
|
6858
6876
|
isomorphicReactPackageVersion,
|
|
6859
|
-
"19.2.0-canary-
|
|
6877
|
+
"19.2.0-canary-eaee5308-20250728"
|
|
6860
6878
|
)
|
|
6861
6879
|
);
|
|
6862
6880
|
}
|
|
@@ -7003,4 +7021,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
7003
7021
|
startWork(request);
|
|
7004
7022
|
});
|
|
7005
7023
|
};
|
|
7006
|
-
exports.version = "19.2.0-canary-
|
|
7024
|
+
exports.version = "19.2.0-canary-eaee5308-20250728";
|