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
|
@@ -5986,6 +5986,27 @@ function getCurrentStackInDEV() {
|
|
|
5986
5986
|
}
|
|
5987
5987
|
return JSCompiler_inline_result$jscomp$0;
|
|
5988
5988
|
}
|
|
5989
|
+
function pushHaltedAwaitOnComponentStack(task, debugInfo) {
|
|
5990
|
+
if (null != debugInfo)
|
|
5991
|
+
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
|
5992
|
+
var info = debugInfo[i];
|
|
5993
|
+
if ("string" === typeof info.name) break;
|
|
5994
|
+
if ("number" === typeof info.time) break;
|
|
5995
|
+
if (null != info.awaited) {
|
|
5996
|
+
var bestStack = null == info.debugStack ? info.awaited : info;
|
|
5997
|
+
if (void 0 !== bestStack.debugStack) {
|
|
5998
|
+
task.componentStack = {
|
|
5999
|
+
parent: task.componentStack,
|
|
6000
|
+
type: info,
|
|
6001
|
+
owner: bestStack.owner,
|
|
6002
|
+
stack: bestStack.debugStack
|
|
6003
|
+
};
|
|
6004
|
+
task.debugTask = bestStack.debugTask;
|
|
6005
|
+
break;
|
|
6006
|
+
}
|
|
6007
|
+
}
|
|
6008
|
+
}
|
|
6009
|
+
}
|
|
5989
6010
|
function pushServerComponentStack(task, debugInfo) {
|
|
5990
6011
|
if (null != debugInfo)
|
|
5991
6012
|
for (var i = 0; i < debugInfo.length; i++) {
|
|
@@ -7951,7 +7972,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7951
7972
|
"object" === typeof node && null !== node)
|
|
7952
7973
|
) {
|
|
7953
7974
|
if ("function" === typeof node.then) {
|
|
7954
|
-
childIndex =
|
|
7975
|
+
childIndex =
|
|
7976
|
+
thrownValue === SuspenseException
|
|
7977
|
+
? getThenableStateAfterSuspending()
|
|
7978
|
+
: null;
|
|
7955
7979
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
|
7956
7980
|
node.then(request, request);
|
|
7957
7981
|
task.formatContext = previousFormatContext;
|
|
@@ -7965,7 +7989,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7965
7989
|
return;
|
|
7966
7990
|
}
|
|
7967
7991
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
7968
|
-
node =
|
|
7992
|
+
node =
|
|
7993
|
+
thrownValue === SuspenseException
|
|
7994
|
+
? getThenableStateAfterSuspending()
|
|
7995
|
+
: null;
|
|
7969
7996
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
7970
7997
|
request.pingedTasks.push(node);
|
|
7971
7998
|
task.formatContext = previousFormatContext;
|
|
@@ -7998,7 +8025,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7998
8025
|
) {
|
|
7999
8026
|
if ("function" === typeof node.then) {
|
|
8000
8027
|
segment = node;
|
|
8001
|
-
node =
|
|
8028
|
+
node =
|
|
8029
|
+
thrownValue$3 === SuspenseException
|
|
8030
|
+
? getThenableStateAfterSuspending()
|
|
8031
|
+
: null;
|
|
8002
8032
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
8003
8033
|
segment.then(request, request);
|
|
8004
8034
|
task.formatContext = previousFormatContext;
|
|
@@ -8011,7 +8041,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
8011
8041
|
return;
|
|
8012
8042
|
}
|
|
8013
8043
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
8014
|
-
segment =
|
|
8044
|
+
segment =
|
|
8045
|
+
thrownValue$3 === SuspenseException
|
|
8046
|
+
? getThenableStateAfterSuspending()
|
|
8047
|
+
: null;
|
|
8015
8048
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
8016
8049
|
request.pingedTasks.push(segment);
|
|
8017
8050
|
task.formatContext = previousFormatContext;
|
|
@@ -8119,6 +8152,10 @@ function abortTask(task, request, error) {
|
|
|
8119
8152
|
segment.status = ABORTED;
|
|
8120
8153
|
}
|
|
8121
8154
|
segment = getThrownInfo(task.componentStack);
|
|
8155
|
+
var node = task.node;
|
|
8156
|
+
null !== node &&
|
|
8157
|
+
"object" === typeof node &&
|
|
8158
|
+
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
|
|
8122
8159
|
if (null === boundary) {
|
|
8123
8160
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
8124
8161
|
boundary = task.replay;
|
|
@@ -8128,33 +8165,28 @@ function abortTask(task, request, error) {
|
|
|
8128
8165
|
return;
|
|
8129
8166
|
}
|
|
8130
8167
|
boundary.pendingTasks--;
|
|
8131
|
-
|
|
8132
|
-
|
|
8168
|
+
0 === boundary.pendingTasks &&
|
|
8169
|
+
0 < boundary.nodes.length &&
|
|
8170
|
+
((node = logRecoverableError(request, error, segment, null)),
|
|
8133
8171
|
abortRemainingReplayNodes(
|
|
8134
8172
|
request,
|
|
8135
8173
|
null,
|
|
8136
8174
|
boundary.nodes,
|
|
8137
8175
|
boundary.slots,
|
|
8138
8176
|
error,
|
|
8139
|
-
|
|
8177
|
+
node,
|
|
8140
8178
|
segment,
|
|
8141
8179
|
!0
|
|
8142
|
-
);
|
|
8143
|
-
}
|
|
8180
|
+
));
|
|
8144
8181
|
request.pendingRootTasks--;
|
|
8145
8182
|
0 === request.pendingRootTasks && completeShell(request);
|
|
8146
8183
|
}
|
|
8147
8184
|
} else
|
|
8148
8185
|
boundary.status !== CLIENT_RENDERED &&
|
|
8149
8186
|
((boundary.status = CLIENT_RENDERED),
|
|
8150
|
-
(
|
|
8151
|
-
request,
|
|
8152
|
-
error,
|
|
8153
|
-
segment,
|
|
8154
|
-
task.debugTask
|
|
8155
|
-
)),
|
|
8187
|
+
(node = logRecoverableError(request, error, segment, task.debugTask)),
|
|
8156
8188
|
(boundary.status = CLIENT_RENDERED),
|
|
8157
|
-
encodeErrorForBoundary(boundary,
|
|
8189
|
+
encodeErrorForBoundary(boundary, node, error, segment, !0),
|
|
8158
8190
|
untrackBoundary(request, boundary),
|
|
8159
8191
|
boundary.parentFlushed &&
|
|
8160
8192
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -8460,7 +8492,10 @@ function performWork(request$jscomp$2) {
|
|
|
8460
8492
|
) {
|
|
8461
8493
|
var ping = request.ping;
|
|
8462
8494
|
x.then(ping, ping);
|
|
8463
|
-
request.thenableState =
|
|
8495
|
+
request.thenableState =
|
|
8496
|
+
thrownValue === SuspenseException
|
|
8497
|
+
? getThenableStateAfterSuspending()
|
|
8498
|
+
: null;
|
|
8464
8499
|
} else {
|
|
8465
8500
|
request.replay.pendingTasks--;
|
|
8466
8501
|
request.abortSet.delete(request);
|
|
@@ -8551,7 +8586,10 @@ function performWork(request$jscomp$2) {
|
|
|
8551
8586
|
"function" === typeof x$jscomp$0.then
|
|
8552
8587
|
) {
|
|
8553
8588
|
request$jscomp$1.status = PENDING;
|
|
8554
|
-
errorDigest.thenableState =
|
|
8589
|
+
errorDigest.thenableState =
|
|
8590
|
+
thrownValue === SuspenseException
|
|
8591
|
+
? getThenableStateAfterSuspending()
|
|
8592
|
+
: null;
|
|
8555
8593
|
var ping$jscomp$0 = errorDigest.ping;
|
|
8556
8594
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
8557
8595
|
} else {
|
|
@@ -9325,13 +9363,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
9325
9363
|
}
|
|
9326
9364
|
var isomorphicReactPackageVersion$jscomp$inline_764 = React.version;
|
|
9327
9365
|
if (
|
|
9328
|
-
"19.2.0-canary-
|
|
9366
|
+
"19.2.0-canary-eaee5308-20250728" !==
|
|
9329
9367
|
isomorphicReactPackageVersion$jscomp$inline_764
|
|
9330
9368
|
)
|
|
9331
9369
|
throw Error(
|
|
9332
9370
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
9333
9371
|
(isomorphicReactPackageVersion$jscomp$inline_764 +
|
|
9334
|
-
"\n - react-dom: 19.2.0-canary-
|
|
9372
|
+
"\n - react-dom: 19.2.0-canary-eaee5308-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
9335
9373
|
);
|
|
9336
9374
|
exports.renderToReadableStream = function (children, options) {
|
|
9337
9375
|
return new Promise(function (resolve, reject) {
|
|
@@ -9424,4 +9462,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
9424
9462
|
startWork(request$jscomp$0);
|
|
9425
9463
|
});
|
|
9426
9464
|
};
|
|
9427
|
-
exports.version = "19.2.0-canary-
|
|
9465
|
+
exports.version = "19.2.0-canary-eaee5308-20250728";
|
|
@@ -5256,7 +5256,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5256
5256
|
"object" === typeof node && null !== node)
|
|
5257
5257
|
) {
|
|
5258
5258
|
if ("function" === typeof node.then) {
|
|
5259
|
-
childIndex =
|
|
5259
|
+
childIndex =
|
|
5260
|
+
thrownValue === SuspenseException
|
|
5261
|
+
? getThenableStateAfterSuspending()
|
|
5262
|
+
: null;
|
|
5260
5263
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
|
5261
5264
|
node.then(request, request);
|
|
5262
5265
|
task.formatContext = previousFormatContext;
|
|
@@ -5269,7 +5272,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5269
5272
|
return;
|
|
5270
5273
|
}
|
|
5271
5274
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5272
|
-
node =
|
|
5275
|
+
node =
|
|
5276
|
+
thrownValue === SuspenseException
|
|
5277
|
+
? getThenableStateAfterSuspending()
|
|
5278
|
+
: null;
|
|
5273
5279
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
5274
5280
|
request.pingedTasks.push(node);
|
|
5275
5281
|
task.formatContext = previousFormatContext;
|
|
@@ -5301,7 +5307,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5301
5307
|
) {
|
|
5302
5308
|
if ("function" === typeof node.then) {
|
|
5303
5309
|
segment = node;
|
|
5304
|
-
node =
|
|
5310
|
+
node =
|
|
5311
|
+
thrownValue$60 === SuspenseException
|
|
5312
|
+
? getThenableStateAfterSuspending()
|
|
5313
|
+
: null;
|
|
5305
5314
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5306
5315
|
segment.then(request, request);
|
|
5307
5316
|
task.formatContext = previousFormatContext;
|
|
@@ -5313,7 +5322,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5313
5322
|
return;
|
|
5314
5323
|
}
|
|
5315
5324
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5316
|
-
segment =
|
|
5325
|
+
segment =
|
|
5326
|
+
thrownValue$60 === SuspenseException
|
|
5327
|
+
? getThenableStateAfterSuspending()
|
|
5328
|
+
: null;
|
|
5317
5329
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5318
5330
|
request.pingedTasks.push(segment);
|
|
5319
5331
|
task.formatContext = previousFormatContext;
|
|
@@ -5729,7 +5741,10 @@ function performWork(request$jscomp$2) {
|
|
|
5729
5741
|
) {
|
|
5730
5742
|
var ping = task.ping;
|
|
5731
5743
|
x.then(ping, ping);
|
|
5732
|
-
task.thenableState =
|
|
5744
|
+
task.thenableState =
|
|
5745
|
+
thrownValue === SuspenseException
|
|
5746
|
+
? getThenableStateAfterSuspending()
|
|
5747
|
+
: null;
|
|
5733
5748
|
} else {
|
|
5734
5749
|
task.replay.pendingTasks--;
|
|
5735
5750
|
task.abortSet.delete(task);
|
|
@@ -5808,7 +5823,10 @@ function performWork(request$jscomp$2) {
|
|
|
5808
5823
|
"function" === typeof x$jscomp$0.then
|
|
5809
5824
|
) {
|
|
5810
5825
|
request$jscomp$1.status = 0;
|
|
5811
|
-
task.thenableState =
|
|
5826
|
+
task.thenableState =
|
|
5827
|
+
thrownValue === SuspenseException
|
|
5828
|
+
? getThenableStateAfterSuspending()
|
|
5829
|
+
: null;
|
|
5812
5830
|
var ping$jscomp$0 = task.ping;
|
|
5813
5831
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
5814
5832
|
} else {
|
|
@@ -6499,13 +6517,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6499
6517
|
}
|
|
6500
6518
|
var isomorphicReactPackageVersion$jscomp$inline_816 = React.version;
|
|
6501
6519
|
if (
|
|
6502
|
-
"19.2.0-canary-
|
|
6520
|
+
"19.2.0-canary-eaee5308-20250728" !==
|
|
6503
6521
|
isomorphicReactPackageVersion$jscomp$inline_816
|
|
6504
6522
|
)
|
|
6505
6523
|
throw Error(
|
|
6506
6524
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6507
6525
|
(isomorphicReactPackageVersion$jscomp$inline_816 +
|
|
6508
|
-
"\n - react-dom: 19.2.0-canary-
|
|
6526
|
+
"\n - react-dom: 19.2.0-canary-eaee5308-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6509
6527
|
);
|
|
6510
6528
|
exports.renderToReadableStream = function (children, options) {
|
|
6511
6529
|
return new Promise(function (resolve, reject) {
|
|
@@ -6596,4 +6614,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
6596
6614
|
startWork(request);
|
|
6597
6615
|
});
|
|
6598
6616
|
};
|
|
6599
|
-
exports.version = "19.2.0-canary-
|
|
6617
|
+
exports.version = "19.2.0-canary-eaee5308-20250728";
|
|
@@ -4900,6 +4900,27 @@
|
|
|
4900
4900
|
}
|
|
4901
4901
|
return JSCompiler_inline_result$jscomp$0;
|
|
4902
4902
|
}
|
|
4903
|
+
function pushHaltedAwaitOnComponentStack(task, debugInfo) {
|
|
4904
|
+
if (null != debugInfo)
|
|
4905
|
+
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
|
4906
|
+
var info = debugInfo[i];
|
|
4907
|
+
if ("string" === typeof info.name) break;
|
|
4908
|
+
if ("number" === typeof info.time) break;
|
|
4909
|
+
if (null != info.awaited) {
|
|
4910
|
+
var bestStack = null == info.debugStack ? info.awaited : info;
|
|
4911
|
+
if (void 0 !== bestStack.debugStack) {
|
|
4912
|
+
task.componentStack = {
|
|
4913
|
+
parent: task.componentStack,
|
|
4914
|
+
type: info,
|
|
4915
|
+
owner: bestStack.owner,
|
|
4916
|
+
stack: bestStack.debugStack
|
|
4917
|
+
};
|
|
4918
|
+
task.debugTask = bestStack.debugTask;
|
|
4919
|
+
break;
|
|
4920
|
+
}
|
|
4921
|
+
}
|
|
4922
|
+
}
|
|
4923
|
+
}
|
|
4903
4924
|
function pushServerComponentStack(task, debugInfo) {
|
|
4904
4925
|
if (null != debugInfo)
|
|
4905
4926
|
for (var i = 0; i < debugInfo.length; i++) {
|
|
@@ -6943,7 +6964,10 @@
|
|
|
6943
6964
|
"object" === typeof node && null !== node)
|
|
6944
6965
|
) {
|
|
6945
6966
|
if ("function" === typeof node.then) {
|
|
6946
|
-
childIndex =
|
|
6967
|
+
childIndex =
|
|
6968
|
+
thrownValue === SuspenseException
|
|
6969
|
+
? getThenableStateAfterSuspending()
|
|
6970
|
+
: null;
|
|
6947
6971
|
request = spawnNewSuspendedReplayTask(
|
|
6948
6972
|
request,
|
|
6949
6973
|
task,
|
|
@@ -6961,7 +6985,10 @@
|
|
|
6961
6985
|
return;
|
|
6962
6986
|
}
|
|
6963
6987
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
6964
|
-
node =
|
|
6988
|
+
node =
|
|
6989
|
+
thrownValue === SuspenseException
|
|
6990
|
+
? getThenableStateAfterSuspending()
|
|
6991
|
+
: null;
|
|
6965
6992
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
6966
6993
|
request.pingedTasks.push(node);
|
|
6967
6994
|
task.formatContext = previousFormatContext;
|
|
@@ -6994,7 +7021,10 @@
|
|
|
6994
7021
|
) {
|
|
6995
7022
|
if ("function" === typeof node.then) {
|
|
6996
7023
|
segment = node;
|
|
6997
|
-
node =
|
|
7024
|
+
node =
|
|
7025
|
+
thrownValue$3 === SuspenseException
|
|
7026
|
+
? getThenableStateAfterSuspending()
|
|
7027
|
+
: null;
|
|
6998
7028
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
6999
7029
|
segment.then(request, request);
|
|
7000
7030
|
task.formatContext = previousFormatContext;
|
|
@@ -7007,7 +7037,10 @@
|
|
|
7007
7037
|
return;
|
|
7008
7038
|
}
|
|
7009
7039
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
7010
|
-
segment =
|
|
7040
|
+
segment =
|
|
7041
|
+
thrownValue$3 === SuspenseException
|
|
7042
|
+
? getThenableStateAfterSuspending()
|
|
7043
|
+
: null;
|
|
7011
7044
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
7012
7045
|
request.pingedTasks.push(segment);
|
|
7013
7046
|
task.formatContext = previousFormatContext;
|
|
@@ -7116,6 +7149,10 @@
|
|
|
7116
7149
|
segment.status = ABORTED;
|
|
7117
7150
|
}
|
|
7118
7151
|
segment = getThrownInfo(task.componentStack);
|
|
7152
|
+
var node = task.node;
|
|
7153
|
+
null !== node &&
|
|
7154
|
+
"object" === typeof node &&
|
|
7155
|
+
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
|
|
7119
7156
|
if (null === boundary) {
|
|
7120
7157
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
7121
7158
|
boundary = task.replay;
|
|
@@ -7125,38 +7162,28 @@
|
|
|
7125
7162
|
return;
|
|
7126
7163
|
}
|
|
7127
7164
|
boundary.pendingTasks--;
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
error,
|
|
7132
|
-
segment,
|
|
7133
|
-
null
|
|
7134
|
-
);
|
|
7165
|
+
0 === boundary.pendingTasks &&
|
|
7166
|
+
0 < boundary.nodes.length &&
|
|
7167
|
+
((node = logRecoverableError(request, error, segment, null)),
|
|
7135
7168
|
abortRemainingReplayNodes(
|
|
7136
7169
|
request,
|
|
7137
7170
|
null,
|
|
7138
7171
|
boundary.nodes,
|
|
7139
7172
|
boundary.slots,
|
|
7140
7173
|
error,
|
|
7141
|
-
|
|
7174
|
+
node,
|
|
7142
7175
|
segment,
|
|
7143
7176
|
!0
|
|
7144
|
-
);
|
|
7145
|
-
}
|
|
7177
|
+
));
|
|
7146
7178
|
request.pendingRootTasks--;
|
|
7147
7179
|
0 === request.pendingRootTasks && completeShell(request);
|
|
7148
7180
|
}
|
|
7149
7181
|
} else
|
|
7150
7182
|
boundary.status !== CLIENT_RENDERED &&
|
|
7151
7183
|
((boundary.status = CLIENT_RENDERED),
|
|
7152
|
-
(
|
|
7153
|
-
request,
|
|
7154
|
-
error,
|
|
7155
|
-
segment,
|
|
7156
|
-
task.debugTask
|
|
7157
|
-
)),
|
|
7184
|
+
(node = logRecoverableError(request, error, segment, task.debugTask)),
|
|
7158
7185
|
(boundary.status = CLIENT_RENDERED),
|
|
7159
|
-
encodeErrorForBoundary(boundary,
|
|
7186
|
+
encodeErrorForBoundary(boundary, node, error, segment, !0),
|
|
7160
7187
|
untrackBoundary(request, boundary),
|
|
7161
7188
|
boundary.parentFlushed &&
|
|
7162
7189
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -7479,7 +7506,10 @@
|
|
|
7479
7506
|
) {
|
|
7480
7507
|
var ping = request.ping;
|
|
7481
7508
|
x.then(ping, ping);
|
|
7482
|
-
request.thenableState =
|
|
7509
|
+
request.thenableState =
|
|
7510
|
+
thrownValue === SuspenseException
|
|
7511
|
+
? getThenableStateAfterSuspending()
|
|
7512
|
+
: null;
|
|
7483
7513
|
} else {
|
|
7484
7514
|
request.replay.pendingTasks--;
|
|
7485
7515
|
request.abortSet.delete(request);
|
|
@@ -7567,7 +7597,10 @@
|
|
|
7567
7597
|
"function" === typeof x$jscomp$0.then
|
|
7568
7598
|
) {
|
|
7569
7599
|
request$jscomp$1.status = PENDING;
|
|
7570
|
-
errorDigest.thenableState =
|
|
7600
|
+
errorDigest.thenableState =
|
|
7601
|
+
thrownValue === SuspenseException
|
|
7602
|
+
? getThenableStateAfterSuspending()
|
|
7603
|
+
: null;
|
|
7571
7604
|
var ping$jscomp$0 = errorDigest.ping;
|
|
7572
7605
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
7573
7606
|
} else {
|
|
@@ -8471,11 +8504,11 @@
|
|
|
8471
8504
|
}
|
|
8472
8505
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8473
8506
|
var isomorphicReactPackageVersion = React.version;
|
|
8474
|
-
if ("19.2.0-canary-
|
|
8507
|
+
if ("19.2.0-canary-eaee5308-20250728" !== isomorphicReactPackageVersion)
|
|
8475
8508
|
throw Error(
|
|
8476
8509
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8477
8510
|
(isomorphicReactPackageVersion +
|
|
8478
|
-
"\n - react-dom: 19.2.0-canary-
|
|
8511
|
+
"\n - react-dom: 19.2.0-canary-eaee5308-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8479
8512
|
);
|
|
8480
8513
|
}
|
|
8481
8514
|
var React = require("react"),
|
|
@@ -10161,5 +10194,5 @@
|
|
|
10161
10194
|
startWork(request);
|
|
10162
10195
|
});
|
|
10163
10196
|
};
|
|
10164
|
-
exports.version = "19.2.0-canary-
|
|
10197
|
+
exports.version = "19.2.0-canary-eaee5308-20250728";
|
|
10165
10198
|
})();
|
|
@@ -5686,7 +5686,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5686
5686
|
"object" === typeof node && null !== node)
|
|
5687
5687
|
) {
|
|
5688
5688
|
if ("function" === typeof node.then) {
|
|
5689
|
-
childIndex =
|
|
5689
|
+
childIndex =
|
|
5690
|
+
thrownValue === SuspenseException
|
|
5691
|
+
? getThenableStateAfterSuspending()
|
|
5692
|
+
: null;
|
|
5690
5693
|
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
|
|
5691
5694
|
node.then(request, request);
|
|
5692
5695
|
task.formatContext = previousFormatContext;
|
|
@@ -5699,7 +5702,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5699
5702
|
return;
|
|
5700
5703
|
}
|
|
5701
5704
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5702
|
-
node =
|
|
5705
|
+
node =
|
|
5706
|
+
thrownValue === SuspenseException
|
|
5707
|
+
? getThenableStateAfterSuspending()
|
|
5708
|
+
: null;
|
|
5703
5709
|
node = spawnNewSuspendedReplayTask(request, task, node);
|
|
5704
5710
|
request.pingedTasks.push(node);
|
|
5705
5711
|
task.formatContext = previousFormatContext;
|
|
@@ -5731,7 +5737,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5731
5737
|
) {
|
|
5732
5738
|
if ("function" === typeof node.then) {
|
|
5733
5739
|
segment = node;
|
|
5734
|
-
node =
|
|
5740
|
+
node =
|
|
5741
|
+
thrownValue$60 === SuspenseException
|
|
5742
|
+
? getThenableStateAfterSuspending()
|
|
5743
|
+
: null;
|
|
5735
5744
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5736
5745
|
segment.then(request, request);
|
|
5737
5746
|
task.formatContext = previousFormatContext;
|
|
@@ -5743,7 +5752,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5743
5752
|
return;
|
|
5744
5753
|
}
|
|
5745
5754
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5746
|
-
segment =
|
|
5755
|
+
segment =
|
|
5756
|
+
thrownValue$60 === SuspenseException
|
|
5757
|
+
? getThenableStateAfterSuspending()
|
|
5758
|
+
: null;
|
|
5747
5759
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5748
5760
|
request.pingedTasks.push(segment);
|
|
5749
5761
|
task.formatContext = previousFormatContext;
|
|
@@ -6159,7 +6171,10 @@ function performWork(request$jscomp$2) {
|
|
|
6159
6171
|
) {
|
|
6160
6172
|
var ping = task.ping;
|
|
6161
6173
|
x.then(ping, ping);
|
|
6162
|
-
task.thenableState =
|
|
6174
|
+
task.thenableState =
|
|
6175
|
+
thrownValue === SuspenseException
|
|
6176
|
+
? getThenableStateAfterSuspending()
|
|
6177
|
+
: null;
|
|
6163
6178
|
} else {
|
|
6164
6179
|
task.replay.pendingTasks--;
|
|
6165
6180
|
task.abortSet.delete(task);
|
|
@@ -6235,7 +6250,10 @@ function performWork(request$jscomp$2) {
|
|
|
6235
6250
|
"function" === typeof x$jscomp$0.then
|
|
6236
6251
|
) {
|
|
6237
6252
|
request$jscomp$1.status = 0;
|
|
6238
|
-
task.thenableState =
|
|
6253
|
+
task.thenableState =
|
|
6254
|
+
thrownValue === SuspenseException
|
|
6255
|
+
? getThenableStateAfterSuspending()
|
|
6256
|
+
: null;
|
|
6239
6257
|
var ping$jscomp$0 = task.ping;
|
|
6240
6258
|
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
|
|
6241
6259
|
} else {
|
|
@@ -6949,11 +6967,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6949
6967
|
}
|
|
6950
6968
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6951
6969
|
var isomorphicReactPackageVersion = React.version;
|
|
6952
|
-
if ("19.2.0-canary-
|
|
6970
|
+
if ("19.2.0-canary-eaee5308-20250728" !== isomorphicReactPackageVersion)
|
|
6953
6971
|
throw Error(
|
|
6954
6972
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6955
6973
|
(isomorphicReactPackageVersion +
|
|
6956
|
-
"\n - react-dom: 19.2.0-canary-
|
|
6974
|
+
"\n - react-dom: 19.2.0-canary-eaee5308-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6957
6975
|
);
|
|
6958
6976
|
}
|
|
6959
6977
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -7099,4 +7117,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
7099
7117
|
startWork(request);
|
|
7100
7118
|
});
|
|
7101
7119
|
};
|
|
7102
|
-
exports.version = "19.2.0-canary-
|
|
7120
|
+
exports.version = "19.2.0-canary-eaee5308-20250728";
|