react-dom 19.3.0-canary-c9ddee7e-20251031 → 19.3.0-canary-561ee24d-20251101
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 +200 -178
- package/cjs/react-dom-client.production.js +260 -225
- package/cjs/react-dom-profiling.development.js +200 -178
- package/cjs/react-dom-profiling.profiling.js +293 -258
- package/cjs/react-dom-server-legacy.browser.development.js +52 -31
- package/cjs/react-dom-server-legacy.browser.production.js +82 -81
- package/cjs/react-dom-server-legacy.node.development.js +52 -31
- package/cjs/react-dom-server-legacy.node.production.js +82 -81
- package/cjs/react-dom-server.browser.development.js +55 -34
- package/cjs/react-dom-server.browser.production.js +65 -64
- package/cjs/react-dom-server.bun.development.js +54 -34
- package/cjs/react-dom-server.bun.production.js +65 -64
- package/cjs/react-dom-server.edge.development.js +55 -34
- package/cjs/react-dom-server.edge.production.js +65 -64
- package/cjs/react-dom-server.node.development.js +55 -34
- package/cjs/react-dom-server.node.production.js +65 -64
- 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
|
@@ -4786,8 +4786,6 @@
|
|
|
4786
4786
|
if (null != debugInfo)
|
|
4787
4787
|
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
|
4788
4788
|
var info = debugInfo[i];
|
|
4789
|
-
if ("string" === typeof info.name) break;
|
|
4790
|
-
if ("number" === typeof info.time) break;
|
|
4791
4789
|
if (null != info.awaited) {
|
|
4792
4790
|
var bestStack = null == info.debugStack ? info.awaited : info;
|
|
4793
4791
|
if (void 0 !== bestStack.debugStack) {
|
|
@@ -5063,47 +5061,54 @@
|
|
|
5063
5061
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
5064
5062
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
5065
5063
|
else {
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
for (
|
|
5070
|
-
|
|
5064
|
+
resumeSlots = task.blockedSegment;
|
|
5065
|
+
n = resumeSlots.children.length;
|
|
5066
|
+
i = resumeSlots.chunks.length;
|
|
5067
|
+
for (node = 0; node < keyPath; node++) {
|
|
5068
|
+
resumeSegmentID =
|
|
5069
|
+
"unstable_legacy-backwards" === revealOrder
|
|
5070
|
+
? keyPath - 1 - node
|
|
5071
|
+
: node;
|
|
5072
|
+
var _node3 = rows[resumeSegmentID];
|
|
5071
5073
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
5072
5074
|
previousSuspenseListRow
|
|
5073
5075
|
);
|
|
5074
|
-
task.treeContext = pushTreeContext(
|
|
5075
|
-
|
|
5076
|
+
task.treeContext = pushTreeContext(
|
|
5077
|
+
prevTreeContext,
|
|
5078
|
+
keyPath,
|
|
5079
|
+
resumeSegmentID
|
|
5080
|
+
);
|
|
5081
|
+
var newSegment = createPendingSegment(
|
|
5076
5082
|
request,
|
|
5077
|
-
|
|
5083
|
+
i,
|
|
5078
5084
|
null,
|
|
5079
5085
|
task.formatContext,
|
|
5080
|
-
0 ===
|
|
5086
|
+
0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
|
|
5081
5087
|
!0
|
|
5082
5088
|
);
|
|
5083
|
-
|
|
5084
|
-
task.blockedSegment =
|
|
5085
|
-
warnForMissingKey(request, task,
|
|
5089
|
+
resumeSlots.children.splice(n, 0, newSegment);
|
|
5090
|
+
task.blockedSegment = newSegment;
|
|
5091
|
+
warnForMissingKey(request, task, _node3);
|
|
5086
5092
|
try {
|
|
5087
|
-
renderNode(request, task,
|
|
5093
|
+
renderNode(request, task, _node3, resumeSegmentID),
|
|
5088
5094
|
pushSegmentFinale(
|
|
5089
|
-
|
|
5095
|
+
newSegment.chunks,
|
|
5090
5096
|
request.renderState,
|
|
5091
|
-
|
|
5092
|
-
|
|
5097
|
+
newSegment.lastPushedText,
|
|
5098
|
+
newSegment.textEmbedded
|
|
5093
5099
|
),
|
|
5094
|
-
(
|
|
5100
|
+
(newSegment.status = COMPLETED),
|
|
5095
5101
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
5096
5102
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
5097
5103
|
} catch (thrownValue) {
|
|
5098
5104
|
throw (
|
|
5099
|
-
((
|
|
5100
|
-
12 === request.status ? ABORTED : ERRORED),
|
|
5105
|
+
((newSegment.status = 12 === request.status ? ABORTED : ERRORED),
|
|
5101
5106
|
thrownValue)
|
|
5102
5107
|
);
|
|
5103
5108
|
}
|
|
5104
5109
|
}
|
|
5105
|
-
task.blockedSegment =
|
|
5106
|
-
|
|
5110
|
+
task.blockedSegment = resumeSlots;
|
|
5111
|
+
resumeSlots.lastPushedText = !1;
|
|
5107
5112
|
}
|
|
5108
5113
|
null !== prevRow &&
|
|
5109
5114
|
null !== previousSuspenseListRow &&
|
|
@@ -5774,11 +5779,7 @@
|
|
|
5774
5779
|
a: {
|
|
5775
5780
|
var children$jscomp$0 = props.children,
|
|
5776
5781
|
revealOrder = props.revealOrder;
|
|
5777
|
-
if (
|
|
5778
|
-
"forwards" === revealOrder ||
|
|
5779
|
-
"backwards" === revealOrder ||
|
|
5780
|
-
"unstable_legacy-backwards" === revealOrder
|
|
5781
|
-
) {
|
|
5782
|
+
if ("independent" !== revealOrder && "together" !== revealOrder) {
|
|
5782
5783
|
if (isArrayImpl(children$jscomp$0)) {
|
|
5783
5784
|
renderSuspenseListRows(
|
|
5784
5785
|
request,
|
|
@@ -7141,9 +7142,28 @@
|
|
|
7141
7142
|
}
|
|
7142
7143
|
var errorInfo = getThrownInfo(task.componentStack),
|
|
7143
7144
|
node = task.node;
|
|
7144
|
-
null !== node &&
|
|
7145
|
+
if (null !== node && "object" === typeof node) {
|
|
7146
|
+
for (
|
|
7147
|
+
var debugInfo = node._debugInfo;
|
|
7148
|
+
"object" === typeof node &&
|
|
7149
|
+
null !== node &&
|
|
7150
|
+
node.$$typeof === REACT_LAZY_TYPE;
|
|
7151
|
+
|
|
7152
|
+
) {
|
|
7153
|
+
var payload = node._payload;
|
|
7154
|
+
if ("fulfilled" === payload.status) node = payload.value;
|
|
7155
|
+
else break;
|
|
7156
|
+
}
|
|
7145
7157
|
"object" === typeof node &&
|
|
7146
|
-
|
|
7158
|
+
null !== node &&
|
|
7159
|
+
(isArrayImpl(node) ||
|
|
7160
|
+
"function" === typeof node[ASYNC_ITERATOR] ||
|
|
7161
|
+
node.$$typeof === REACT_ELEMENT_TYPE ||
|
|
7162
|
+
node.$$typeof === REACT_LAZY_TYPE) &&
|
|
7163
|
+
isArrayImpl(node._debugInfo) &&
|
|
7164
|
+
(debugInfo = node._debugInfo);
|
|
7165
|
+
pushHaltedAwaitOnComponentStack(task, debugInfo);
|
|
7166
|
+
}
|
|
7147
7167
|
if (null === boundary) {
|
|
7148
7168
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
7149
7169
|
boundary = task.replay;
|
|
@@ -8530,6 +8550,7 @@
|
|
|
8530
8550
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
8531
8551
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
8532
8552
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
8553
|
+
ASYNC_ITERATOR = Symbol.asyncIterator,
|
|
8533
8554
|
isArrayImpl = Array.isArray,
|
|
8534
8555
|
jsxPropsParents = new WeakMap(),
|
|
8535
8556
|
jsxChildrenParents = new WeakMap(),
|
|
@@ -9985,5 +10006,5 @@
|
|
|
9985
10006
|
'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'
|
|
9986
10007
|
);
|
|
9987
10008
|
};
|
|
9988
|
-
exports.version = "19.3.0-canary-
|
|
10009
|
+
exports.version = "19.3.0-canary-561ee24d-20251101";
|
|
9989
10010
|
})();
|
|
@@ -2794,16 +2794,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2794
2794
|
"\x3c/script>"
|
|
2795
2795
|
));
|
|
2796
2796
|
bootstrapScriptContent = idPrefix + "P:";
|
|
2797
|
-
var
|
|
2797
|
+
var JSCompiler_object_inline_segmentPrefix_1689 = idPrefix + "S:";
|
|
2798
2798
|
idPrefix += "B:";
|
|
2799
|
-
var
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2799
|
+
var JSCompiler_object_inline_preconnects_1703 = new Set(),
|
|
2800
|
+
JSCompiler_object_inline_fontPreloads_1704 = new Set(),
|
|
2801
|
+
JSCompiler_object_inline_highImagePreloads_1705 = new Set(),
|
|
2802
|
+
JSCompiler_object_inline_styles_1706 = new Map(),
|
|
2803
|
+
JSCompiler_object_inline_bootstrapScripts_1707 = new Set(),
|
|
2804
|
+
JSCompiler_object_inline_scripts_1708 = new Set(),
|
|
2805
|
+
JSCompiler_object_inline_bulkPreloads_1709 = new Set(),
|
|
2806
|
+
JSCompiler_object_inline_preloads_1710 = {
|
|
2807
2807
|
images: new Map(),
|
|
2808
2808
|
stylesheets: new Map(),
|
|
2809
2809
|
scripts: new Map(),
|
|
@@ -2840,7 +2840,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2840
2840
|
scriptConfig.moduleScriptResources[href] = null;
|
|
2841
2841
|
scriptConfig = [];
|
|
2842
2842
|
pushLinkImpl(scriptConfig, props);
|
|
2843
|
-
|
|
2843
|
+
JSCompiler_object_inline_bootstrapScripts_1707.add(scriptConfig);
|
|
2844
2844
|
bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
|
|
2845
2845
|
"string" === typeof integrity &&
|
|
2846
2846
|
bootstrapChunks.push(
|
|
@@ -2887,7 +2887,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2887
2887
|
(props.moduleScriptResources[scriptConfig] = null),
|
|
2888
2888
|
(props = []),
|
|
2889
2889
|
pushLinkImpl(props, integrity),
|
|
2890
|
-
|
|
2890
|
+
JSCompiler_object_inline_bootstrapScripts_1707.add(props),
|
|
2891
2891
|
bootstrapChunks.push(
|
|
2892
2892
|
'<script type="module" src="',
|
|
2893
2893
|
escapeTextForBrowser(i),
|
|
@@ -2909,7 +2909,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2909
2909
|
bootstrapChunks.push(' async="">\x3c/script>');
|
|
2910
2910
|
return {
|
|
2911
2911
|
placeholderPrefix: bootstrapScriptContent,
|
|
2912
|
-
segmentPrefix:
|
|
2912
|
+
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1689,
|
|
2913
2913
|
boundaryPrefix: idPrefix,
|
|
2914
2914
|
startInlineScript: "<script",
|
|
2915
2915
|
startInlineStyle: "<style",
|
|
@@ -2929,14 +2929,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2929
2929
|
charsetChunks: [],
|
|
2930
2930
|
viewportChunks: [],
|
|
2931
2931
|
hoistableChunks: [],
|
|
2932
|
-
preconnects:
|
|
2933
|
-
fontPreloads:
|
|
2934
|
-
highImagePreloads:
|
|
2935
|
-
styles:
|
|
2936
|
-
bootstrapScripts:
|
|
2937
|
-
scripts:
|
|
2938
|
-
bulkPreloads:
|
|
2939
|
-
preloads:
|
|
2932
|
+
preconnects: JSCompiler_object_inline_preconnects_1703,
|
|
2933
|
+
fontPreloads: JSCompiler_object_inline_fontPreloads_1704,
|
|
2934
|
+
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1705,
|
|
2935
|
+
styles: JSCompiler_object_inline_styles_1706,
|
|
2936
|
+
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1707,
|
|
2937
|
+
scripts: JSCompiler_object_inline_scripts_1708,
|
|
2938
|
+
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1709,
|
|
2939
|
+
preloads: JSCompiler_object_inline_preloads_1710,
|
|
2940
2940
|
nonce: { script: void 0, style: void 0 },
|
|
2941
2941
|
stylesToHoist: !1,
|
|
2942
2942
|
generateStaticMarkup: generateStaticMarkup
|
|
@@ -4145,45 +4145,50 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
4145
4145
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
4146
4146
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
4147
4147
|
else {
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
for (
|
|
4152
|
-
|
|
4148
|
+
resumeSlots = task.blockedSegment;
|
|
4149
|
+
n = resumeSlots.children.length;
|
|
4150
|
+
i = resumeSlots.chunks.length;
|
|
4151
|
+
for (node = 0; node < keyPath; node++) {
|
|
4152
|
+
resumeSegmentID =
|
|
4153
|
+
"unstable_legacy-backwards" === revealOrder ? keyPath - 1 - node : node;
|
|
4154
|
+
var node$39 = rows[resumeSegmentID];
|
|
4153
4155
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
4154
4156
|
previousSuspenseListRow
|
|
4155
4157
|
);
|
|
4156
|
-
task.treeContext = pushTreeContext(
|
|
4157
|
-
|
|
4158
|
+
task.treeContext = pushTreeContext(
|
|
4159
|
+
prevTreeContext,
|
|
4160
|
+
keyPath,
|
|
4161
|
+
resumeSegmentID
|
|
4162
|
+
);
|
|
4163
|
+
var newSegment = createPendingSegment(
|
|
4158
4164
|
request,
|
|
4159
|
-
|
|
4165
|
+
i,
|
|
4160
4166
|
null,
|
|
4161
4167
|
task.formatContext,
|
|
4162
|
-
0 ===
|
|
4168
|
+
0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
|
|
4163
4169
|
!0
|
|
4164
4170
|
);
|
|
4165
|
-
|
|
4166
|
-
task.blockedSegment =
|
|
4171
|
+
resumeSlots.children.splice(n, 0, newSegment);
|
|
4172
|
+
task.blockedSegment = newSegment;
|
|
4167
4173
|
try {
|
|
4168
|
-
renderNode(request, task, node,
|
|
4174
|
+
renderNode(request, task, node$39, resumeSegmentID),
|
|
4169
4175
|
pushSegmentFinale(
|
|
4170
|
-
|
|
4176
|
+
newSegment.chunks,
|
|
4171
4177
|
request.renderState,
|
|
4172
|
-
|
|
4173
|
-
|
|
4178
|
+
newSegment.lastPushedText,
|
|
4179
|
+
newSegment.textEmbedded
|
|
4174
4180
|
),
|
|
4175
|
-
(
|
|
4181
|
+
(newSegment.status = 1),
|
|
4176
4182
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
4177
4183
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
4178
4184
|
} catch (thrownValue) {
|
|
4179
4185
|
throw (
|
|
4180
|
-
((
|
|
4181
|
-
thrownValue)
|
|
4186
|
+
((newSegment.status = 12 === request.status ? 3 : 4), thrownValue)
|
|
4182
4187
|
);
|
|
4183
4188
|
}
|
|
4184
4189
|
}
|
|
4185
|
-
task.blockedSegment =
|
|
4186
|
-
|
|
4190
|
+
task.blockedSegment = resumeSlots;
|
|
4191
|
+
resumeSlots.lastPushedText = !1;
|
|
4187
4192
|
}
|
|
4188
4193
|
null !== prevRow &&
|
|
4189
4194
|
null !== previousSuspenseListRow &&
|
|
@@ -4260,9 +4265,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4260
4265
|
var defaultProps = type.defaultProps;
|
|
4261
4266
|
if (defaultProps) {
|
|
4262
4267
|
newProps === props && (newProps = assign({}, newProps, props));
|
|
4263
|
-
for (var propName$
|
|
4264
|
-
void 0 === newProps[propName$
|
|
4265
|
-
(newProps[propName$
|
|
4268
|
+
for (var propName$44 in defaultProps)
|
|
4269
|
+
void 0 === newProps[propName$44] &&
|
|
4270
|
+
(newProps[propName$44] = defaultProps[propName$44]);
|
|
4266
4271
|
}
|
|
4267
4272
|
var JSCompiler_inline_result = newProps;
|
|
4268
4273
|
var context = emptyContextObject,
|
|
@@ -4395,7 +4400,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4395
4400
|
task.formatContext = prevContext;
|
|
4396
4401
|
task.keyPath = prevKeyPath$jscomp$0;
|
|
4397
4402
|
} else {
|
|
4398
|
-
var children$
|
|
4403
|
+
var children$41 = pushStartInstance(
|
|
4399
4404
|
segment.chunks,
|
|
4400
4405
|
type,
|
|
4401
4406
|
props,
|
|
@@ -4407,13 +4412,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4407
4412
|
segment.lastPushedText
|
|
4408
4413
|
);
|
|
4409
4414
|
segment.lastPushedText = !1;
|
|
4410
|
-
var prevContext$
|
|
4411
|
-
prevKeyPath$
|
|
4415
|
+
var prevContext$42 = task.formatContext,
|
|
4416
|
+
prevKeyPath$43 = task.keyPath;
|
|
4412
4417
|
task.keyPath = keyPath;
|
|
4413
4418
|
if (
|
|
4414
4419
|
3 ===
|
|
4415
4420
|
(task.formatContext = getChildFormatContext(
|
|
4416
|
-
prevContext$
|
|
4421
|
+
prevContext$42,
|
|
4417
4422
|
type,
|
|
4418
4423
|
props
|
|
4419
4424
|
)).insertionMode
|
|
@@ -4430,7 +4435,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4430
4435
|
task.blockedSegment = preambleSegment;
|
|
4431
4436
|
try {
|
|
4432
4437
|
(preambleSegment.status = 6),
|
|
4433
|
-
renderNode(request, task, children$
|
|
4438
|
+
renderNode(request, task, children$41, -1),
|
|
4434
4439
|
pushSegmentFinale(
|
|
4435
4440
|
preambleSegment.chunks,
|
|
4436
4441
|
request.renderState,
|
|
@@ -4441,9 +4446,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4441
4446
|
} finally {
|
|
4442
4447
|
task.blockedSegment = segment;
|
|
4443
4448
|
}
|
|
4444
|
-
} else renderNode(request, task, children$
|
|
4445
|
-
task.formatContext = prevContext$
|
|
4446
|
-
task.keyPath = prevKeyPath$
|
|
4449
|
+
} else renderNode(request, task, children$41, -1);
|
|
4450
|
+
task.formatContext = prevContext$42;
|
|
4451
|
+
task.keyPath = prevKeyPath$43;
|
|
4447
4452
|
a: {
|
|
4448
4453
|
var target = segment.chunks,
|
|
4449
4454
|
resumableState = request.resumableState;
|
|
@@ -4468,19 +4473,19 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4468
4473
|
case "wbr":
|
|
4469
4474
|
break a;
|
|
4470
4475
|
case "body":
|
|
4471
|
-
if (1 >= prevContext$
|
|
4476
|
+
if (1 >= prevContext$42.insertionMode) {
|
|
4472
4477
|
resumableState.hasBody = !0;
|
|
4473
4478
|
break a;
|
|
4474
4479
|
}
|
|
4475
4480
|
break;
|
|
4476
4481
|
case "html":
|
|
4477
|
-
if (0 === prevContext$
|
|
4482
|
+
if (0 === prevContext$42.insertionMode) {
|
|
4478
4483
|
resumableState.hasHtml = !0;
|
|
4479
4484
|
break a;
|
|
4480
4485
|
}
|
|
4481
4486
|
break;
|
|
4482
4487
|
case "head":
|
|
4483
|
-
if (1 >= prevContext$
|
|
4488
|
+
if (1 >= prevContext$42.insertionMode) break a;
|
|
4484
4489
|
}
|
|
4485
4490
|
target.push(endChunkForTag(type));
|
|
4486
4491
|
}
|
|
@@ -4510,10 +4515,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4510
4515
|
request.renderState.generateStaticMarkup ||
|
|
4511
4516
|
segment$jscomp$0.chunks.push("\x3c!--&--\x3e");
|
|
4512
4517
|
segment$jscomp$0.lastPushedText = !1;
|
|
4513
|
-
var prevKeyPath$
|
|
4518
|
+
var prevKeyPath$46 = task.keyPath;
|
|
4514
4519
|
task.keyPath = keyPath;
|
|
4515
4520
|
renderNode(request, task, props.children, -1);
|
|
4516
|
-
task.keyPath = prevKeyPath$
|
|
4521
|
+
task.keyPath = prevKeyPath$46;
|
|
4517
4522
|
request.renderState.generateStaticMarkup ||
|
|
4518
4523
|
segment$jscomp$0.chunks.push("\x3c!--/&--\x3e");
|
|
4519
4524
|
segment$jscomp$0.lastPushedText = !1;
|
|
@@ -4523,11 +4528,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4523
4528
|
a: {
|
|
4524
4529
|
var children$jscomp$0 = props.children,
|
|
4525
4530
|
revealOrder = props.revealOrder;
|
|
4526
|
-
if (
|
|
4527
|
-
"forwards" === revealOrder ||
|
|
4528
|
-
"backwards" === revealOrder ||
|
|
4529
|
-
"unstable_legacy-backwards" === revealOrder
|
|
4530
|
-
) {
|
|
4531
|
+
if ("independent" !== revealOrder && "together" !== revealOrder) {
|
|
4531
4532
|
if (isArrayImpl(children$jscomp$0)) {
|
|
4532
4533
|
renderSuspenseListRows(
|
|
4533
4534
|
request,
|
|
@@ -4559,7 +4560,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4559
4560
|
}
|
|
4560
4561
|
}
|
|
4561
4562
|
if ("together" === revealOrder) {
|
|
4562
|
-
var prevKeyPath$
|
|
4563
|
+
var prevKeyPath$40 = task.keyPath,
|
|
4563
4564
|
prevRow = task.row,
|
|
4564
4565
|
newRow = (task.row = createSuspenseListRow(null));
|
|
4565
4566
|
newRow.boundaries = [];
|
|
@@ -4568,7 +4569,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4568
4569
|
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
4569
4570
|
0 === --newRow.pendingTasks &&
|
|
4570
4571
|
finishSuspenseListRow(request, newRow);
|
|
4571
|
-
task.keyPath = prevKeyPath$
|
|
4572
|
+
task.keyPath = prevKeyPath$40;
|
|
4572
4573
|
task.row = prevRow;
|
|
4573
4574
|
null !== prevRow &&
|
|
4574
4575
|
0 < newRow.pendingTasks &&
|
|
@@ -5470,21 +5471,21 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5470
5471
|
chunkLength = segment.chunks.length;
|
|
5471
5472
|
try {
|
|
5472
5473
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5473
|
-
} catch (thrownValue$
|
|
5474
|
+
} catch (thrownValue$63) {
|
|
5474
5475
|
if (
|
|
5475
5476
|
(resetHooksState(),
|
|
5476
5477
|
(segment.children.length = childrenLength),
|
|
5477
5478
|
(segment.chunks.length = chunkLength),
|
|
5478
5479
|
(node =
|
|
5479
|
-
thrownValue$
|
|
5480
|
+
thrownValue$63 === SuspenseException
|
|
5480
5481
|
? getSuspendedThenable()
|
|
5481
|
-
: thrownValue$
|
|
5482
|
+
: thrownValue$63),
|
|
5482
5483
|
12 !== request.status && "object" === typeof node && null !== node)
|
|
5483
5484
|
) {
|
|
5484
5485
|
if ("function" === typeof node.then) {
|
|
5485
5486
|
segment = node;
|
|
5486
5487
|
node =
|
|
5487
|
-
thrownValue$
|
|
5488
|
+
thrownValue$63 === SuspenseException
|
|
5488
5489
|
? getThenableStateAfterSuspending()
|
|
5489
5490
|
: null;
|
|
5490
5491
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
@@ -5499,7 +5500,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5499
5500
|
}
|
|
5500
5501
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5501
5502
|
segment =
|
|
5502
|
-
thrownValue$
|
|
5503
|
+
thrownValue$63 === SuspenseException
|
|
5503
5504
|
? getThenableStateAfterSuspending()
|
|
5504
5505
|
: null;
|
|
5505
5506
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
@@ -5614,12 +5615,12 @@ function abortTask(task, request, error) {
|
|
|
5614
5615
|
0 === request.pendingRootTasks && completeShell(request);
|
|
5615
5616
|
}
|
|
5616
5617
|
} else {
|
|
5617
|
-
var trackedPostpones$
|
|
5618
|
+
var trackedPostpones$64 = request.trackedPostpones;
|
|
5618
5619
|
if (4 !== boundary.status) {
|
|
5619
|
-
if (null !== trackedPostpones$
|
|
5620
|
+
if (null !== trackedPostpones$64 && null !== segment)
|
|
5620
5621
|
return (
|
|
5621
5622
|
logRecoverableError(request, error, errorInfo),
|
|
5622
|
-
trackPostpone(request, trackedPostpones$
|
|
5623
|
+
trackPostpone(request, trackedPostpones$64, task, segment),
|
|
5623
5624
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
5624
5625
|
return abortTask(fallbackTask, request, error);
|
|
5625
5626
|
}),
|
|
@@ -6552,12 +6553,12 @@ function flushCompletedQueues(request, destination) {
|
|
|
6552
6553
|
flushingPartialBoundaries = !0;
|
|
6553
6554
|
var partialBoundaries = request.partialBoundaries;
|
|
6554
6555
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
6555
|
-
var boundary$
|
|
6556
|
+
var boundary$70 = partialBoundaries[i];
|
|
6556
6557
|
a: {
|
|
6557
6558
|
clientRenderedBoundaries = request;
|
|
6558
6559
|
boundary = destination;
|
|
6559
|
-
flushedByteSize = boundary$
|
|
6560
|
-
var completedSegments = boundary$
|
|
6560
|
+
flushedByteSize = boundary$70.byteSize;
|
|
6561
|
+
var completedSegments = boundary$70.completedSegments;
|
|
6561
6562
|
for (
|
|
6562
6563
|
JSCompiler_inline_result = 0;
|
|
6563
6564
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -6567,7 +6568,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6567
6568
|
!flushPartiallyCompletedSegment(
|
|
6568
6569
|
clientRenderedBoundaries,
|
|
6569
6570
|
boundary,
|
|
6570
|
-
boundary$
|
|
6571
|
+
boundary$70,
|
|
6571
6572
|
completedSegments[JSCompiler_inline_result]
|
|
6572
6573
|
)
|
|
6573
6574
|
) {
|
|
@@ -6577,10 +6578,10 @@ function flushCompletedQueues(request, destination) {
|
|
|
6577
6578
|
break a;
|
|
6578
6579
|
}
|
|
6579
6580
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
6580
|
-
var row = boundary$
|
|
6581
|
+
var row = boundary$70.row;
|
|
6581
6582
|
null !== row &&
|
|
6582
6583
|
row.together &&
|
|
6583
|
-
1 === boundary$
|
|
6584
|
+
1 === boundary$70.pendingTasks &&
|
|
6584
6585
|
(1 === row.pendingTasks
|
|
6585
6586
|
? unblockSuspenseListRow(
|
|
6586
6587
|
clientRenderedBoundaries,
|
|
@@ -6590,7 +6591,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6590
6591
|
: row.pendingTasks--);
|
|
6591
6592
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
6592
6593
|
boundary,
|
|
6593
|
-
boundary$
|
|
6594
|
+
boundary$70.contentState,
|
|
6594
6595
|
clientRenderedBoundaries.renderState
|
|
6595
6596
|
);
|
|
6596
6597
|
}
|
|
@@ -6675,8 +6676,8 @@ function abort(request, reason) {
|
|
|
6675
6676
|
}
|
|
6676
6677
|
null !== request.destination &&
|
|
6677
6678
|
flushCompletedQueues(request, request.destination);
|
|
6678
|
-
} catch (error$
|
|
6679
|
-
logRecoverableError(request, error$
|
|
6679
|
+
} catch (error$72) {
|
|
6680
|
+
logRecoverableError(request, error$72, {}), fatalError(request, error$72);
|
|
6680
6681
|
}
|
|
6681
6682
|
}
|
|
6682
6683
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -6754,4 +6755,4 @@ exports.renderToString = function (children, options) {
|
|
|
6754
6755
|
'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'
|
|
6755
6756
|
);
|
|
6756
6757
|
};
|
|
6757
|
-
exports.version = "19.3.0-canary-
|
|
6758
|
+
exports.version = "19.3.0-canary-561ee24d-20251101";
|
|
@@ -4786,8 +4786,6 @@
|
|
|
4786
4786
|
if (null != debugInfo)
|
|
4787
4787
|
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
|
4788
4788
|
var info = debugInfo[i];
|
|
4789
|
-
if ("string" === typeof info.name) break;
|
|
4790
|
-
if ("number" === typeof info.time) break;
|
|
4791
4789
|
if (null != info.awaited) {
|
|
4792
4790
|
var bestStack = null == info.debugStack ? info.awaited : info;
|
|
4793
4791
|
if (void 0 !== bestStack.debugStack) {
|
|
@@ -5063,47 +5061,54 @@
|
|
|
5063
5061
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
5064
5062
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
5065
5063
|
else {
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
for (
|
|
5070
|
-
|
|
5064
|
+
resumeSlots = task.blockedSegment;
|
|
5065
|
+
n = resumeSlots.children.length;
|
|
5066
|
+
i = resumeSlots.chunks.length;
|
|
5067
|
+
for (node = 0; node < keyPath; node++) {
|
|
5068
|
+
resumeSegmentID =
|
|
5069
|
+
"unstable_legacy-backwards" === revealOrder
|
|
5070
|
+
? keyPath - 1 - node
|
|
5071
|
+
: node;
|
|
5072
|
+
var _node3 = rows[resumeSegmentID];
|
|
5071
5073
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
5072
5074
|
previousSuspenseListRow
|
|
5073
5075
|
);
|
|
5074
|
-
task.treeContext = pushTreeContext(
|
|
5075
|
-
|
|
5076
|
+
task.treeContext = pushTreeContext(
|
|
5077
|
+
prevTreeContext,
|
|
5078
|
+
keyPath,
|
|
5079
|
+
resumeSegmentID
|
|
5080
|
+
);
|
|
5081
|
+
var newSegment = createPendingSegment(
|
|
5076
5082
|
request,
|
|
5077
|
-
|
|
5083
|
+
i,
|
|
5078
5084
|
null,
|
|
5079
5085
|
task.formatContext,
|
|
5080
|
-
0 ===
|
|
5086
|
+
0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
|
|
5081
5087
|
!0
|
|
5082
5088
|
);
|
|
5083
|
-
|
|
5084
|
-
task.blockedSegment =
|
|
5085
|
-
warnForMissingKey(request, task,
|
|
5089
|
+
resumeSlots.children.splice(n, 0, newSegment);
|
|
5090
|
+
task.blockedSegment = newSegment;
|
|
5091
|
+
warnForMissingKey(request, task, _node3);
|
|
5086
5092
|
try {
|
|
5087
|
-
renderNode(request, task,
|
|
5093
|
+
renderNode(request, task, _node3, resumeSegmentID),
|
|
5088
5094
|
pushSegmentFinale(
|
|
5089
|
-
|
|
5095
|
+
newSegment.chunks,
|
|
5090
5096
|
request.renderState,
|
|
5091
|
-
|
|
5092
|
-
|
|
5097
|
+
newSegment.lastPushedText,
|
|
5098
|
+
newSegment.textEmbedded
|
|
5093
5099
|
),
|
|
5094
|
-
(
|
|
5100
|
+
(newSegment.status = COMPLETED),
|
|
5095
5101
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
5096
5102
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
5097
5103
|
} catch (thrownValue) {
|
|
5098
5104
|
throw (
|
|
5099
|
-
((
|
|
5100
|
-
12 === request.status ? ABORTED : ERRORED),
|
|
5105
|
+
((newSegment.status = 12 === request.status ? ABORTED : ERRORED),
|
|
5101
5106
|
thrownValue)
|
|
5102
5107
|
);
|
|
5103
5108
|
}
|
|
5104
5109
|
}
|
|
5105
|
-
task.blockedSegment =
|
|
5106
|
-
|
|
5110
|
+
task.blockedSegment = resumeSlots;
|
|
5111
|
+
resumeSlots.lastPushedText = !1;
|
|
5107
5112
|
}
|
|
5108
5113
|
null !== prevRow &&
|
|
5109
5114
|
null !== previousSuspenseListRow &&
|
|
@@ -5774,11 +5779,7 @@
|
|
|
5774
5779
|
a: {
|
|
5775
5780
|
var children$jscomp$0 = props.children,
|
|
5776
5781
|
revealOrder = props.revealOrder;
|
|
5777
|
-
if (
|
|
5778
|
-
"forwards" === revealOrder ||
|
|
5779
|
-
"backwards" === revealOrder ||
|
|
5780
|
-
"unstable_legacy-backwards" === revealOrder
|
|
5781
|
-
) {
|
|
5782
|
+
if ("independent" !== revealOrder && "together" !== revealOrder) {
|
|
5782
5783
|
if (isArrayImpl(children$jscomp$0)) {
|
|
5783
5784
|
renderSuspenseListRows(
|
|
5784
5785
|
request,
|
|
@@ -7141,9 +7142,28 @@
|
|
|
7141
7142
|
}
|
|
7142
7143
|
var errorInfo = getThrownInfo(task.componentStack),
|
|
7143
7144
|
node = task.node;
|
|
7144
|
-
null !== node &&
|
|
7145
|
+
if (null !== node && "object" === typeof node) {
|
|
7146
|
+
for (
|
|
7147
|
+
var debugInfo = node._debugInfo;
|
|
7148
|
+
"object" === typeof node &&
|
|
7149
|
+
null !== node &&
|
|
7150
|
+
node.$$typeof === REACT_LAZY_TYPE;
|
|
7151
|
+
|
|
7152
|
+
) {
|
|
7153
|
+
var payload = node._payload;
|
|
7154
|
+
if ("fulfilled" === payload.status) node = payload.value;
|
|
7155
|
+
else break;
|
|
7156
|
+
}
|
|
7145
7157
|
"object" === typeof node &&
|
|
7146
|
-
|
|
7158
|
+
null !== node &&
|
|
7159
|
+
(isArrayImpl(node) ||
|
|
7160
|
+
"function" === typeof node[ASYNC_ITERATOR] ||
|
|
7161
|
+
node.$$typeof === REACT_ELEMENT_TYPE ||
|
|
7162
|
+
node.$$typeof === REACT_LAZY_TYPE) &&
|
|
7163
|
+
isArrayImpl(node._debugInfo) &&
|
|
7164
|
+
(debugInfo = node._debugInfo);
|
|
7165
|
+
pushHaltedAwaitOnComponentStack(task, debugInfo);
|
|
7166
|
+
}
|
|
7147
7167
|
if (null === boundary) {
|
|
7148
7168
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
7149
7169
|
boundary = task.replay;
|
|
@@ -8530,6 +8550,7 @@
|
|
|
8530
8550
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
8531
8551
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
8532
8552
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
8553
|
+
ASYNC_ITERATOR = Symbol.asyncIterator,
|
|
8533
8554
|
isArrayImpl = Array.isArray,
|
|
8534
8555
|
jsxPropsParents = new WeakMap(),
|
|
8535
8556
|
jsxChildrenParents = new WeakMap(),
|
|
@@ -9985,5 +10006,5 @@
|
|
|
9985
10006
|
'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'
|
|
9986
10007
|
);
|
|
9987
10008
|
};
|
|
9988
|
-
exports.version = "19.3.0-canary-
|
|
10009
|
+
exports.version = "19.3.0-canary-561ee24d-20251101";
|
|
9989
10010
|
})();
|