react-dom 19.2.0-canary-edac0dde-20250723 → 19.2.0-canary-19baee81-20250725
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 +33 -18
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +33 -18
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +35 -20
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +35 -15
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +35 -20
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +35 -20
- package/cjs/react-dom-server.node.production.js +3 -3
- 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
|
@@ -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++) {
|
|
@@ -6893,6 +6914,10 @@
|
|
|
6893
6914
|
segment.status = ABORTED;
|
|
6894
6915
|
}
|
|
6895
6916
|
segment = getThrownInfo(task.componentStack);
|
|
6917
|
+
var node = task.node;
|
|
6918
|
+
null !== node &&
|
|
6919
|
+
"object" === typeof node &&
|
|
6920
|
+
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
|
|
6896
6921
|
if (null === boundary) {
|
|
6897
6922
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
6898
6923
|
boundary = task.replay;
|
|
@@ -6902,38 +6927,28 @@
|
|
|
6902
6927
|
return;
|
|
6903
6928
|
}
|
|
6904
6929
|
boundary.pendingTasks--;
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
error,
|
|
6909
|
-
segment,
|
|
6910
|
-
null
|
|
6911
|
-
);
|
|
6930
|
+
0 === boundary.pendingTasks &&
|
|
6931
|
+
0 < boundary.nodes.length &&
|
|
6932
|
+
((node = logRecoverableError(request, error, segment, null)),
|
|
6912
6933
|
abortRemainingReplayNodes(
|
|
6913
6934
|
request,
|
|
6914
6935
|
null,
|
|
6915
6936
|
boundary.nodes,
|
|
6916
6937
|
boundary.slots,
|
|
6917
6938
|
error,
|
|
6918
|
-
|
|
6939
|
+
node,
|
|
6919
6940
|
segment,
|
|
6920
6941
|
!0
|
|
6921
|
-
);
|
|
6922
|
-
}
|
|
6942
|
+
));
|
|
6923
6943
|
request.pendingRootTasks--;
|
|
6924
6944
|
0 === request.pendingRootTasks && completeShell(request);
|
|
6925
6945
|
}
|
|
6926
6946
|
} else
|
|
6927
6947
|
boundary.status !== CLIENT_RENDERED &&
|
|
6928
6948
|
((boundary.status = CLIENT_RENDERED),
|
|
6929
|
-
(
|
|
6930
|
-
request,
|
|
6931
|
-
error,
|
|
6932
|
-
segment,
|
|
6933
|
-
task.debugTask
|
|
6934
|
-
)),
|
|
6949
|
+
(node = logRecoverableError(request, error, segment, task.debugTask)),
|
|
6935
6950
|
(boundary.status = CLIENT_RENDERED),
|
|
6936
|
-
encodeErrorForBoundary(boundary,
|
|
6951
|
+
encodeErrorForBoundary(boundary, node, error, segment, !0),
|
|
6937
6952
|
untrackBoundary(request, boundary),
|
|
6938
6953
|
boundary.parentFlushed &&
|
|
6939
6954
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -9701,5 +9716,5 @@
|
|
|
9701
9716
|
'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
9717
|
);
|
|
9703
9718
|
};
|
|
9704
|
-
exports.version = "19.2.0-canary-
|
|
9719
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
9705
9720
|
})();
|
|
@@ -6550,4 +6550,4 @@ exports.renderToString = function (children, options) {
|
|
|
6550
6550
|
'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
6551
|
);
|
|
6552
6552
|
};
|
|
6553
|
-
exports.version = "19.2.0-canary-
|
|
6553
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
@@ -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++) {
|
|
@@ -7106,6 +7127,10 @@
|
|
|
7106
7127
|
segment.status = ABORTED;
|
|
7107
7128
|
}
|
|
7108
7129
|
segment = getThrownInfo(task.componentStack);
|
|
7130
|
+
var node = task.node;
|
|
7131
|
+
null !== node &&
|
|
7132
|
+
"object" === typeof node &&
|
|
7133
|
+
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
|
|
7109
7134
|
if (null === boundary) {
|
|
7110
7135
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
7111
7136
|
boundary = task.replay;
|
|
@@ -7115,38 +7140,28 @@
|
|
|
7115
7140
|
return;
|
|
7116
7141
|
}
|
|
7117
7142
|
boundary.pendingTasks--;
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
error,
|
|
7122
|
-
segment,
|
|
7123
|
-
null
|
|
7124
|
-
);
|
|
7143
|
+
0 === boundary.pendingTasks &&
|
|
7144
|
+
0 < boundary.nodes.length &&
|
|
7145
|
+
((node = logRecoverableError(request, error, segment, null)),
|
|
7125
7146
|
abortRemainingReplayNodes(
|
|
7126
7147
|
request,
|
|
7127
7148
|
null,
|
|
7128
7149
|
boundary.nodes,
|
|
7129
7150
|
boundary.slots,
|
|
7130
7151
|
error,
|
|
7131
|
-
|
|
7152
|
+
node,
|
|
7132
7153
|
segment,
|
|
7133
7154
|
!0
|
|
7134
|
-
);
|
|
7135
|
-
}
|
|
7155
|
+
));
|
|
7136
7156
|
request.pendingRootTasks--;
|
|
7137
7157
|
0 === request.pendingRootTasks && completeShell(request);
|
|
7138
7158
|
}
|
|
7139
7159
|
} else
|
|
7140
7160
|
boundary.status !== CLIENT_RENDERED &&
|
|
7141
7161
|
((boundary.status = CLIENT_RENDERED),
|
|
7142
|
-
(
|
|
7143
|
-
request,
|
|
7144
|
-
error,
|
|
7145
|
-
segment,
|
|
7146
|
-
task.debugTask
|
|
7147
|
-
)),
|
|
7162
|
+
(node = logRecoverableError(request, error, segment, task.debugTask)),
|
|
7148
7163
|
(boundary.status = CLIENT_RENDERED),
|
|
7149
|
-
encodeErrorForBoundary(boundary,
|
|
7164
|
+
encodeErrorForBoundary(boundary, node, error, segment, !0),
|
|
7150
7165
|
untrackBoundary(request, boundary),
|
|
7151
7166
|
boundary.parentFlushed &&
|
|
7152
7167
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -8448,11 +8463,11 @@
|
|
|
8448
8463
|
}
|
|
8449
8464
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8450
8465
|
var isomorphicReactPackageVersion = React.version;
|
|
8451
|
-
if ("19.2.0-canary-
|
|
8466
|
+
if ("19.2.0-canary-19baee81-20250725" !== isomorphicReactPackageVersion)
|
|
8452
8467
|
throw Error(
|
|
8453
8468
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8454
8469
|
(isomorphicReactPackageVersion +
|
|
8455
|
-
"\n - react-dom: 19.2.0-canary-
|
|
8470
|
+
"\n - react-dom: 19.2.0-canary-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8456
8471
|
);
|
|
8457
8472
|
}
|
|
8458
8473
|
var React = require("react"),
|
|
@@ -10142,5 +10157,5 @@
|
|
|
10142
10157
|
startWork(request);
|
|
10143
10158
|
});
|
|
10144
10159
|
};
|
|
10145
|
-
exports.version = "19.2.0-canary-
|
|
10160
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
10146
10161
|
})();
|
|
@@ -6851,12 +6851,12 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6851
6851
|
}
|
|
6852
6852
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6853
6853
|
var isomorphicReactPackageVersion = React.version;
|
|
6854
|
-
if ("19.2.0-canary-
|
|
6854
|
+
if ("19.2.0-canary-19baee81-20250725" !== isomorphicReactPackageVersion)
|
|
6855
6855
|
throw Error(
|
|
6856
6856
|
formatProdErrorMessage(
|
|
6857
6857
|
527,
|
|
6858
6858
|
isomorphicReactPackageVersion,
|
|
6859
|
-
"19.2.0-canary-
|
|
6859
|
+
"19.2.0-canary-19baee81-20250725"
|
|
6860
6860
|
)
|
|
6861
6861
|
);
|
|
6862
6862
|
}
|
|
@@ -7003,4 +7003,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
7003
7003
|
startWork(request);
|
|
7004
7004
|
});
|
|
7005
7005
|
};
|
|
7006
|
-
exports.version = "19.2.0-canary-
|
|
7006
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
@@ -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++) {
|
|
@@ -8119,6 +8140,10 @@ function abortTask(task, request, error) {
|
|
|
8119
8140
|
segment.status = ABORTED;
|
|
8120
8141
|
}
|
|
8121
8142
|
segment = getThrownInfo(task.componentStack);
|
|
8143
|
+
var node = task.node;
|
|
8144
|
+
null !== node &&
|
|
8145
|
+
"object" === typeof node &&
|
|
8146
|
+
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
|
|
8122
8147
|
if (null === boundary) {
|
|
8123
8148
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
8124
8149
|
boundary = task.replay;
|
|
@@ -8128,33 +8153,28 @@ function abortTask(task, request, error) {
|
|
|
8128
8153
|
return;
|
|
8129
8154
|
}
|
|
8130
8155
|
boundary.pendingTasks--;
|
|
8131
|
-
|
|
8132
|
-
|
|
8156
|
+
0 === boundary.pendingTasks &&
|
|
8157
|
+
0 < boundary.nodes.length &&
|
|
8158
|
+
((node = logRecoverableError(request, error, segment, null)),
|
|
8133
8159
|
abortRemainingReplayNodes(
|
|
8134
8160
|
request,
|
|
8135
8161
|
null,
|
|
8136
8162
|
boundary.nodes,
|
|
8137
8163
|
boundary.slots,
|
|
8138
8164
|
error,
|
|
8139
|
-
|
|
8165
|
+
node,
|
|
8140
8166
|
segment,
|
|
8141
8167
|
!0
|
|
8142
|
-
);
|
|
8143
|
-
}
|
|
8168
|
+
));
|
|
8144
8169
|
request.pendingRootTasks--;
|
|
8145
8170
|
0 === request.pendingRootTasks && completeShell(request);
|
|
8146
8171
|
}
|
|
8147
8172
|
} else
|
|
8148
8173
|
boundary.status !== CLIENT_RENDERED &&
|
|
8149
8174
|
((boundary.status = CLIENT_RENDERED),
|
|
8150
|
-
(
|
|
8151
|
-
request,
|
|
8152
|
-
error,
|
|
8153
|
-
segment,
|
|
8154
|
-
task.debugTask
|
|
8155
|
-
)),
|
|
8175
|
+
(node = logRecoverableError(request, error, segment, task.debugTask)),
|
|
8156
8176
|
(boundary.status = CLIENT_RENDERED),
|
|
8157
|
-
encodeErrorForBoundary(boundary,
|
|
8177
|
+
encodeErrorForBoundary(boundary, node, error, segment, !0),
|
|
8158
8178
|
untrackBoundary(request, boundary),
|
|
8159
8179
|
boundary.parentFlushed &&
|
|
8160
8180
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -9325,13 +9345,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
9325
9345
|
}
|
|
9326
9346
|
var isomorphicReactPackageVersion$jscomp$inline_764 = React.version;
|
|
9327
9347
|
if (
|
|
9328
|
-
"19.2.0-canary-
|
|
9348
|
+
"19.2.0-canary-19baee81-20250725" !==
|
|
9329
9349
|
isomorphicReactPackageVersion$jscomp$inline_764
|
|
9330
9350
|
)
|
|
9331
9351
|
throw Error(
|
|
9332
9352
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
9333
9353
|
(isomorphicReactPackageVersion$jscomp$inline_764 +
|
|
9334
|
-
"\n - react-dom: 19.2.0-canary-
|
|
9354
|
+
"\n - react-dom: 19.2.0-canary-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
9335
9355
|
);
|
|
9336
9356
|
exports.renderToReadableStream = function (children, options) {
|
|
9337
9357
|
return new Promise(function (resolve, reject) {
|
|
@@ -9424,4 +9444,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
9424
9444
|
startWork(request$jscomp$0);
|
|
9425
9445
|
});
|
|
9426
9446
|
};
|
|
9427
|
-
exports.version = "19.2.0-canary-
|
|
9447
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
@@ -6499,13 +6499,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6499
6499
|
}
|
|
6500
6500
|
var isomorphicReactPackageVersion$jscomp$inline_816 = React.version;
|
|
6501
6501
|
if (
|
|
6502
|
-
"19.2.0-canary-
|
|
6502
|
+
"19.2.0-canary-19baee81-20250725" !==
|
|
6503
6503
|
isomorphicReactPackageVersion$jscomp$inline_816
|
|
6504
6504
|
)
|
|
6505
6505
|
throw Error(
|
|
6506
6506
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6507
6507
|
(isomorphicReactPackageVersion$jscomp$inline_816 +
|
|
6508
|
-
"\n - react-dom: 19.2.0-canary-
|
|
6508
|
+
"\n - react-dom: 19.2.0-canary-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6509
6509
|
);
|
|
6510
6510
|
exports.renderToReadableStream = function (children, options) {
|
|
6511
6511
|
return new Promise(function (resolve, reject) {
|
|
@@ -6596,4 +6596,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
6596
6596
|
startWork(request);
|
|
6597
6597
|
});
|
|
6598
6598
|
};
|
|
6599
|
-
exports.version = "19.2.0-canary-
|
|
6599
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
@@ -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++) {
|
|
@@ -7116,6 +7137,10 @@
|
|
|
7116
7137
|
segment.status = ABORTED;
|
|
7117
7138
|
}
|
|
7118
7139
|
segment = getThrownInfo(task.componentStack);
|
|
7140
|
+
var node = task.node;
|
|
7141
|
+
null !== node &&
|
|
7142
|
+
"object" === typeof node &&
|
|
7143
|
+
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
|
|
7119
7144
|
if (null === boundary) {
|
|
7120
7145
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
7121
7146
|
boundary = task.replay;
|
|
@@ -7125,38 +7150,28 @@
|
|
|
7125
7150
|
return;
|
|
7126
7151
|
}
|
|
7127
7152
|
boundary.pendingTasks--;
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
error,
|
|
7132
|
-
segment,
|
|
7133
|
-
null
|
|
7134
|
-
);
|
|
7153
|
+
0 === boundary.pendingTasks &&
|
|
7154
|
+
0 < boundary.nodes.length &&
|
|
7155
|
+
((node = logRecoverableError(request, error, segment, null)),
|
|
7135
7156
|
abortRemainingReplayNodes(
|
|
7136
7157
|
request,
|
|
7137
7158
|
null,
|
|
7138
7159
|
boundary.nodes,
|
|
7139
7160
|
boundary.slots,
|
|
7140
7161
|
error,
|
|
7141
|
-
|
|
7162
|
+
node,
|
|
7142
7163
|
segment,
|
|
7143
7164
|
!0
|
|
7144
|
-
);
|
|
7145
|
-
}
|
|
7165
|
+
));
|
|
7146
7166
|
request.pendingRootTasks--;
|
|
7147
7167
|
0 === request.pendingRootTasks && completeShell(request);
|
|
7148
7168
|
}
|
|
7149
7169
|
} else
|
|
7150
7170
|
boundary.status !== CLIENT_RENDERED &&
|
|
7151
7171
|
((boundary.status = CLIENT_RENDERED),
|
|
7152
|
-
(
|
|
7153
|
-
request,
|
|
7154
|
-
error,
|
|
7155
|
-
segment,
|
|
7156
|
-
task.debugTask
|
|
7157
|
-
)),
|
|
7172
|
+
(node = logRecoverableError(request, error, segment, task.debugTask)),
|
|
7158
7173
|
(boundary.status = CLIENT_RENDERED),
|
|
7159
|
-
encodeErrorForBoundary(boundary,
|
|
7174
|
+
encodeErrorForBoundary(boundary, node, error, segment, !0),
|
|
7160
7175
|
untrackBoundary(request, boundary),
|
|
7161
7176
|
boundary.parentFlushed &&
|
|
7162
7177
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -8471,11 +8486,11 @@
|
|
|
8471
8486
|
}
|
|
8472
8487
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8473
8488
|
var isomorphicReactPackageVersion = React.version;
|
|
8474
|
-
if ("19.2.0-canary-
|
|
8489
|
+
if ("19.2.0-canary-19baee81-20250725" !== isomorphicReactPackageVersion)
|
|
8475
8490
|
throw Error(
|
|
8476
8491
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8477
8492
|
(isomorphicReactPackageVersion +
|
|
8478
|
-
"\n - react-dom: 19.2.0-canary-
|
|
8493
|
+
"\n - react-dom: 19.2.0-canary-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8479
8494
|
);
|
|
8480
8495
|
}
|
|
8481
8496
|
var React = require("react"),
|
|
@@ -10161,5 +10176,5 @@
|
|
|
10161
10176
|
startWork(request);
|
|
10162
10177
|
});
|
|
10163
10178
|
};
|
|
10164
|
-
exports.version = "19.2.0-canary-
|
|
10179
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
10165
10180
|
})();
|
|
@@ -6949,11 +6949,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6949
6949
|
}
|
|
6950
6950
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6951
6951
|
var isomorphicReactPackageVersion = React.version;
|
|
6952
|
-
if ("19.2.0-canary-
|
|
6952
|
+
if ("19.2.0-canary-19baee81-20250725" !== isomorphicReactPackageVersion)
|
|
6953
6953
|
throw Error(
|
|
6954
6954
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6955
6955
|
(isomorphicReactPackageVersion +
|
|
6956
|
-
"\n - react-dom: 19.2.0-canary-
|
|
6956
|
+
"\n - react-dom: 19.2.0-canary-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6957
6957
|
);
|
|
6958
6958
|
}
|
|
6959
6959
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -7099,4 +7099,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
7099
7099
|
startWork(request);
|
|
7100
7100
|
});
|
|
7101
7101
|
};
|
|
7102
|
-
exports.version = "19.2.0-canary-
|
|
7102
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
@@ -4800,6 +4800,27 @@
|
|
|
4800
4800
|
}
|
|
4801
4801
|
return JSCompiler_inline_result$jscomp$0;
|
|
4802
4802
|
}
|
|
4803
|
+
function pushHaltedAwaitOnComponentStack(task, debugInfo) {
|
|
4804
|
+
if (null != debugInfo)
|
|
4805
|
+
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
|
4806
|
+
var info = debugInfo[i];
|
|
4807
|
+
if ("string" === typeof info.name) break;
|
|
4808
|
+
if ("number" === typeof info.time) break;
|
|
4809
|
+
if (null != info.awaited) {
|
|
4810
|
+
var bestStack = null == info.debugStack ? info.awaited : info;
|
|
4811
|
+
if (void 0 !== bestStack.debugStack) {
|
|
4812
|
+
task.componentStack = {
|
|
4813
|
+
parent: task.componentStack,
|
|
4814
|
+
type: info,
|
|
4815
|
+
owner: bestStack.owner,
|
|
4816
|
+
stack: bestStack.debugStack
|
|
4817
|
+
};
|
|
4818
|
+
task.debugTask = bestStack.debugTask;
|
|
4819
|
+
break;
|
|
4820
|
+
}
|
|
4821
|
+
}
|
|
4822
|
+
}
|
|
4823
|
+
}
|
|
4803
4824
|
function pushServerComponentStack(task, debugInfo) {
|
|
4804
4825
|
if (null != debugInfo)
|
|
4805
4826
|
for (var i = 0; i < debugInfo.length; i++) {
|
|
@@ -7015,6 +7036,10 @@
|
|
|
7015
7036
|
segment.status = ABORTED;
|
|
7016
7037
|
}
|
|
7017
7038
|
segment = getThrownInfo(task.componentStack);
|
|
7039
|
+
var node = task.node;
|
|
7040
|
+
null !== node &&
|
|
7041
|
+
"object" === typeof node &&
|
|
7042
|
+
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
|
|
7018
7043
|
if (null === boundary) {
|
|
7019
7044
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
7020
7045
|
boundary = task.replay;
|
|
@@ -7024,38 +7049,28 @@
|
|
|
7024
7049
|
return;
|
|
7025
7050
|
}
|
|
7026
7051
|
boundary.pendingTasks--;
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
error,
|
|
7031
|
-
segment,
|
|
7032
|
-
null
|
|
7033
|
-
);
|
|
7052
|
+
0 === boundary.pendingTasks &&
|
|
7053
|
+
0 < boundary.nodes.length &&
|
|
7054
|
+
((node = logRecoverableError(request, error, segment, null)),
|
|
7034
7055
|
abortRemainingReplayNodes(
|
|
7035
7056
|
request,
|
|
7036
7057
|
null,
|
|
7037
7058
|
boundary.nodes,
|
|
7038
7059
|
boundary.slots,
|
|
7039
7060
|
error,
|
|
7040
|
-
|
|
7061
|
+
node,
|
|
7041
7062
|
segment,
|
|
7042
7063
|
!0
|
|
7043
|
-
);
|
|
7044
|
-
}
|
|
7064
|
+
));
|
|
7045
7065
|
request.pendingRootTasks--;
|
|
7046
7066
|
0 === request.pendingRootTasks && completeShell(request);
|
|
7047
7067
|
}
|
|
7048
7068
|
} else
|
|
7049
7069
|
boundary.status !== CLIENT_RENDERED &&
|
|
7050
7070
|
((boundary.status = CLIENT_RENDERED),
|
|
7051
|
-
(
|
|
7052
|
-
request,
|
|
7053
|
-
error,
|
|
7054
|
-
segment,
|
|
7055
|
-
task.debugTask
|
|
7056
|
-
)),
|
|
7071
|
+
(node = logRecoverableError(request, error, segment, task.debugTask)),
|
|
7057
7072
|
(boundary.status = CLIENT_RENDERED),
|
|
7058
|
-
encodeErrorForBoundary(boundary,
|
|
7073
|
+
encodeErrorForBoundary(boundary, node, error, segment, !0),
|
|
7059
7074
|
untrackBoundary(request, boundary),
|
|
7060
7075
|
boundary.parentFlushed &&
|
|
7061
7076
|
request.clientRenderedBoundaries.push(boundary)),
|
|
@@ -8346,11 +8361,11 @@
|
|
|
8346
8361
|
}
|
|
8347
8362
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8348
8363
|
var isomorphicReactPackageVersion = React.version;
|
|
8349
|
-
if ("19.2.0-canary-
|
|
8364
|
+
if ("19.2.0-canary-19baee81-20250725" !== isomorphicReactPackageVersion)
|
|
8350
8365
|
throw Error(
|
|
8351
8366
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8352
8367
|
(isomorphicReactPackageVersion +
|
|
8353
|
-
"\n - react-dom: 19.2.0-canary-
|
|
8368
|
+
"\n - react-dom: 19.2.0-canary-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8354
8369
|
);
|
|
8355
8370
|
}
|
|
8356
8371
|
function createDrainHandler(destination, request) {
|
|
@@ -10221,5 +10236,5 @@
|
|
|
10221
10236
|
startWork(request);
|
|
10222
10237
|
});
|
|
10223
10238
|
};
|
|
10224
|
-
exports.version = "19.2.0-canary-
|
|
10239
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
10225
10240
|
})();
|
|
@@ -6841,11 +6841,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6841
6841
|
}
|
|
6842
6842
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6843
6843
|
var isomorphicReactPackageVersion = React.version;
|
|
6844
|
-
if ("19.2.0-canary-
|
|
6844
|
+
if ("19.2.0-canary-19baee81-20250725" !== isomorphicReactPackageVersion)
|
|
6845
6845
|
throw Error(
|
|
6846
6846
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6847
6847
|
(isomorphicReactPackageVersion +
|
|
6848
|
-
"\n - react-dom: 19.2.0-canary-
|
|
6848
|
+
"\n - react-dom: 19.2.0-canary-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6849
6849
|
);
|
|
6850
6850
|
}
|
|
6851
6851
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -7183,4 +7183,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
7183
7183
|
startWork(request);
|
|
7184
7184
|
});
|
|
7185
7185
|
};
|
|
7186
|
-
exports.version = "19.2.0-canary-
|
|
7186
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
exports.useFormStatus = function () {
|
|
417
417
|
return resolveDispatcher().useHostTransitionStatus();
|
|
418
418
|
};
|
|
419
|
-
exports.version = "19.2.0-canary-
|
|
419
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
|
420
420
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
421
421
|
"function" ===
|
|
422
422
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
|
207
207
|
exports.useFormStatus = function () {
|
|
208
208
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
|
209
209
|
};
|
|
210
|
-
exports.version = "19.2.0-canary-
|
|
210
|
+
exports.version = "19.2.0-canary-19baee81-20250725";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dom",
|
|
3
|
-
"version": "19.2.0-canary-
|
|
3
|
+
"version": "19.2.0-canary-19baee81-20250725",
|
|
4
4
|
"description": "React package for working with the DOM.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://react.dev/",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"scheduler": "0.27.0-canary-
|
|
20
|
+
"scheduler": "0.27.0-canary-19baee81-20250725"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"react": "19.2.0-canary-
|
|
23
|
+
"react": "19.2.0-canary-19baee81-20250725"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"LICENSE",
|