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
|
@@ -2813,16 +2813,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2813
2813
|
"\x3c/script>"
|
|
2814
2814
|
));
|
|
2815
2815
|
bootstrapScriptContent = idPrefix + "P:";
|
|
2816
|
-
var
|
|
2816
|
+
var JSCompiler_object_inline_segmentPrefix_1689 = idPrefix + "S:";
|
|
2817
2817
|
idPrefix += "B:";
|
|
2818
|
-
var
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2818
|
+
var JSCompiler_object_inline_preconnects_1703 = new Set(),
|
|
2819
|
+
JSCompiler_object_inline_fontPreloads_1704 = new Set(),
|
|
2820
|
+
JSCompiler_object_inline_highImagePreloads_1705 = new Set(),
|
|
2821
|
+
JSCompiler_object_inline_styles_1706 = new Map(),
|
|
2822
|
+
JSCompiler_object_inline_bootstrapScripts_1707 = new Set(),
|
|
2823
|
+
JSCompiler_object_inline_scripts_1708 = new Set(),
|
|
2824
|
+
JSCompiler_object_inline_bulkPreloads_1709 = new Set(),
|
|
2825
|
+
JSCompiler_object_inline_preloads_1710 = {
|
|
2826
2826
|
images: new Map(),
|
|
2827
2827
|
stylesheets: new Map(),
|
|
2828
2828
|
scripts: new Map(),
|
|
@@ -2859,7 +2859,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2859
2859
|
scriptConfig.moduleScriptResources[href] = null;
|
|
2860
2860
|
scriptConfig = [];
|
|
2861
2861
|
pushLinkImpl(scriptConfig, props);
|
|
2862
|
-
|
|
2862
|
+
JSCompiler_object_inline_bootstrapScripts_1707.add(scriptConfig);
|
|
2863
2863
|
bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
|
|
2864
2864
|
"string" === typeof integrity &&
|
|
2865
2865
|
bootstrapChunks.push(
|
|
@@ -2906,7 +2906,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2906
2906
|
(props.moduleScriptResources[scriptConfig] = null),
|
|
2907
2907
|
(props = []),
|
|
2908
2908
|
pushLinkImpl(props, integrity),
|
|
2909
|
-
|
|
2909
|
+
JSCompiler_object_inline_bootstrapScripts_1707.add(props),
|
|
2910
2910
|
bootstrapChunks.push(
|
|
2911
2911
|
'<script type="module" src="',
|
|
2912
2912
|
escapeTextForBrowser(i),
|
|
@@ -2928,7 +2928,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2928
2928
|
bootstrapChunks.push(' async="">\x3c/script>');
|
|
2929
2929
|
return {
|
|
2930
2930
|
placeholderPrefix: bootstrapScriptContent,
|
|
2931
|
-
segmentPrefix:
|
|
2931
|
+
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1689,
|
|
2932
2932
|
boundaryPrefix: idPrefix,
|
|
2933
2933
|
startInlineScript: "<script",
|
|
2934
2934
|
startInlineStyle: "<style",
|
|
@@ -2948,14 +2948,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
|
2948
2948
|
charsetChunks: [],
|
|
2949
2949
|
viewportChunks: [],
|
|
2950
2950
|
hoistableChunks: [],
|
|
2951
|
-
preconnects:
|
|
2952
|
-
fontPreloads:
|
|
2953
|
-
highImagePreloads:
|
|
2954
|
-
styles:
|
|
2955
|
-
bootstrapScripts:
|
|
2956
|
-
scripts:
|
|
2957
|
-
bulkPreloads:
|
|
2958
|
-
preloads:
|
|
2951
|
+
preconnects: JSCompiler_object_inline_preconnects_1703,
|
|
2952
|
+
fontPreloads: JSCompiler_object_inline_fontPreloads_1704,
|
|
2953
|
+
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1705,
|
|
2954
|
+
styles: JSCompiler_object_inline_styles_1706,
|
|
2955
|
+
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1707,
|
|
2956
|
+
scripts: JSCompiler_object_inline_scripts_1708,
|
|
2957
|
+
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1709,
|
|
2958
|
+
preloads: JSCompiler_object_inline_preloads_1710,
|
|
2959
2959
|
nonce: { script: void 0, style: void 0 },
|
|
2960
2960
|
stylesToHoist: !1,
|
|
2961
2961
|
generateStaticMarkup: generateStaticMarkup
|
|
@@ -4194,45 +4194,50 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
4194
4194
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
4195
4195
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
4196
4196
|
else {
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
for (
|
|
4201
|
-
|
|
4197
|
+
resumeSlots = task.blockedSegment;
|
|
4198
|
+
n = resumeSlots.children.length;
|
|
4199
|
+
i = resumeSlots.chunks.length;
|
|
4200
|
+
for (node = 0; node < keyPath; node++) {
|
|
4201
|
+
resumeSegmentID =
|
|
4202
|
+
"unstable_legacy-backwards" === revealOrder ? keyPath - 1 - node : node;
|
|
4203
|
+
var node$39 = rows[resumeSegmentID];
|
|
4202
4204
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
4203
4205
|
previousSuspenseListRow
|
|
4204
4206
|
);
|
|
4205
|
-
task.treeContext = pushTreeContext(
|
|
4206
|
-
|
|
4207
|
+
task.treeContext = pushTreeContext(
|
|
4208
|
+
prevTreeContext,
|
|
4209
|
+
keyPath,
|
|
4210
|
+
resumeSegmentID
|
|
4211
|
+
);
|
|
4212
|
+
var newSegment = createPendingSegment(
|
|
4207
4213
|
request,
|
|
4208
|
-
|
|
4214
|
+
i,
|
|
4209
4215
|
null,
|
|
4210
4216
|
task.formatContext,
|
|
4211
|
-
0 ===
|
|
4217
|
+
0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
|
|
4212
4218
|
!0
|
|
4213
4219
|
);
|
|
4214
|
-
|
|
4215
|
-
task.blockedSegment =
|
|
4220
|
+
resumeSlots.children.splice(n, 0, newSegment);
|
|
4221
|
+
task.blockedSegment = newSegment;
|
|
4216
4222
|
try {
|
|
4217
|
-
renderNode(request, task, node,
|
|
4223
|
+
renderNode(request, task, node$39, resumeSegmentID),
|
|
4218
4224
|
pushSegmentFinale(
|
|
4219
|
-
|
|
4225
|
+
newSegment.chunks,
|
|
4220
4226
|
request.renderState,
|
|
4221
|
-
|
|
4222
|
-
|
|
4227
|
+
newSegment.lastPushedText,
|
|
4228
|
+
newSegment.textEmbedded
|
|
4223
4229
|
),
|
|
4224
|
-
(
|
|
4230
|
+
(newSegment.status = 1),
|
|
4225
4231
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
4226
4232
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
4227
4233
|
} catch (thrownValue) {
|
|
4228
4234
|
throw (
|
|
4229
|
-
((
|
|
4230
|
-
thrownValue)
|
|
4235
|
+
((newSegment.status = 12 === request.status ? 3 : 4), thrownValue)
|
|
4231
4236
|
);
|
|
4232
4237
|
}
|
|
4233
4238
|
}
|
|
4234
|
-
task.blockedSegment =
|
|
4235
|
-
|
|
4239
|
+
task.blockedSegment = resumeSlots;
|
|
4240
|
+
resumeSlots.lastPushedText = !1;
|
|
4236
4241
|
}
|
|
4237
4242
|
null !== prevRow &&
|
|
4238
4243
|
null !== previousSuspenseListRow &&
|
|
@@ -4309,9 +4314,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4309
4314
|
var defaultProps = type.defaultProps;
|
|
4310
4315
|
if (defaultProps) {
|
|
4311
4316
|
newProps === props && (newProps = assign({}, newProps, props));
|
|
4312
|
-
for (var propName$
|
|
4313
|
-
void 0 === newProps[propName$
|
|
4314
|
-
(newProps[propName$
|
|
4317
|
+
for (var propName$44 in defaultProps)
|
|
4318
|
+
void 0 === newProps[propName$44] &&
|
|
4319
|
+
(newProps[propName$44] = defaultProps[propName$44]);
|
|
4315
4320
|
}
|
|
4316
4321
|
var JSCompiler_inline_result = newProps;
|
|
4317
4322
|
var context = emptyContextObject,
|
|
@@ -4444,7 +4449,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4444
4449
|
task.formatContext = prevContext;
|
|
4445
4450
|
task.keyPath = prevKeyPath$jscomp$0;
|
|
4446
4451
|
} else {
|
|
4447
|
-
var children$
|
|
4452
|
+
var children$41 = pushStartInstance(
|
|
4448
4453
|
segment.chunks,
|
|
4449
4454
|
type,
|
|
4450
4455
|
props,
|
|
@@ -4456,13 +4461,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4456
4461
|
segment.lastPushedText
|
|
4457
4462
|
);
|
|
4458
4463
|
segment.lastPushedText = !1;
|
|
4459
|
-
var prevContext$
|
|
4460
|
-
prevKeyPath$
|
|
4464
|
+
var prevContext$42 = task.formatContext,
|
|
4465
|
+
prevKeyPath$43 = task.keyPath;
|
|
4461
4466
|
task.keyPath = keyPath;
|
|
4462
4467
|
if (
|
|
4463
4468
|
3 ===
|
|
4464
4469
|
(task.formatContext = getChildFormatContext(
|
|
4465
|
-
prevContext$
|
|
4470
|
+
prevContext$42,
|
|
4466
4471
|
type,
|
|
4467
4472
|
props
|
|
4468
4473
|
)).insertionMode
|
|
@@ -4479,7 +4484,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4479
4484
|
task.blockedSegment = preambleSegment;
|
|
4480
4485
|
try {
|
|
4481
4486
|
(preambleSegment.status = 6),
|
|
4482
|
-
renderNode(request, task, children$
|
|
4487
|
+
renderNode(request, task, children$41, -1),
|
|
4483
4488
|
pushSegmentFinale(
|
|
4484
4489
|
preambleSegment.chunks,
|
|
4485
4490
|
request.renderState,
|
|
@@ -4490,9 +4495,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4490
4495
|
} finally {
|
|
4491
4496
|
task.blockedSegment = segment;
|
|
4492
4497
|
}
|
|
4493
|
-
} else renderNode(request, task, children$
|
|
4494
|
-
task.formatContext = prevContext$
|
|
4495
|
-
task.keyPath = prevKeyPath$
|
|
4498
|
+
} else renderNode(request, task, children$41, -1);
|
|
4499
|
+
task.formatContext = prevContext$42;
|
|
4500
|
+
task.keyPath = prevKeyPath$43;
|
|
4496
4501
|
a: {
|
|
4497
4502
|
var target = segment.chunks,
|
|
4498
4503
|
resumableState = request.resumableState;
|
|
@@ -4517,19 +4522,19 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4517
4522
|
case "wbr":
|
|
4518
4523
|
break a;
|
|
4519
4524
|
case "body":
|
|
4520
|
-
if (1 >= prevContext$
|
|
4525
|
+
if (1 >= prevContext$42.insertionMode) {
|
|
4521
4526
|
resumableState.hasBody = !0;
|
|
4522
4527
|
break a;
|
|
4523
4528
|
}
|
|
4524
4529
|
break;
|
|
4525
4530
|
case "html":
|
|
4526
|
-
if (0 === prevContext$
|
|
4531
|
+
if (0 === prevContext$42.insertionMode) {
|
|
4527
4532
|
resumableState.hasHtml = !0;
|
|
4528
4533
|
break a;
|
|
4529
4534
|
}
|
|
4530
4535
|
break;
|
|
4531
4536
|
case "head":
|
|
4532
|
-
if (1 >= prevContext$
|
|
4537
|
+
if (1 >= prevContext$42.insertionMode) break a;
|
|
4533
4538
|
}
|
|
4534
4539
|
target.push(endChunkForTag(type));
|
|
4535
4540
|
}
|
|
@@ -4559,10 +4564,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4559
4564
|
request.renderState.generateStaticMarkup ||
|
|
4560
4565
|
segment$jscomp$0.chunks.push("\x3c!--&--\x3e");
|
|
4561
4566
|
segment$jscomp$0.lastPushedText = !1;
|
|
4562
|
-
var prevKeyPath$
|
|
4567
|
+
var prevKeyPath$46 = task.keyPath;
|
|
4563
4568
|
task.keyPath = keyPath;
|
|
4564
4569
|
renderNode(request, task, props.children, -1);
|
|
4565
|
-
task.keyPath = prevKeyPath$
|
|
4570
|
+
task.keyPath = prevKeyPath$46;
|
|
4566
4571
|
request.renderState.generateStaticMarkup ||
|
|
4567
4572
|
segment$jscomp$0.chunks.push("\x3c!--/&--\x3e");
|
|
4568
4573
|
segment$jscomp$0.lastPushedText = !1;
|
|
@@ -4572,11 +4577,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4572
4577
|
a: {
|
|
4573
4578
|
var children$jscomp$0 = props.children,
|
|
4574
4579
|
revealOrder = props.revealOrder;
|
|
4575
|
-
if (
|
|
4576
|
-
"forwards" === revealOrder ||
|
|
4577
|
-
"backwards" === revealOrder ||
|
|
4578
|
-
"unstable_legacy-backwards" === revealOrder
|
|
4579
|
-
) {
|
|
4580
|
+
if ("independent" !== revealOrder && "together" !== revealOrder) {
|
|
4580
4581
|
if (isArrayImpl(children$jscomp$0)) {
|
|
4581
4582
|
renderSuspenseListRows(
|
|
4582
4583
|
request,
|
|
@@ -4608,7 +4609,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4608
4609
|
}
|
|
4609
4610
|
}
|
|
4610
4611
|
if ("together" === revealOrder) {
|
|
4611
|
-
var prevKeyPath$
|
|
4612
|
+
var prevKeyPath$40 = task.keyPath,
|
|
4612
4613
|
prevRow = task.row,
|
|
4613
4614
|
newRow = (task.row = createSuspenseListRow(null));
|
|
4614
4615
|
newRow.boundaries = [];
|
|
@@ -4617,7 +4618,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4617
4618
|
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
4618
4619
|
0 === --newRow.pendingTasks &&
|
|
4619
4620
|
finishSuspenseListRow(request, newRow);
|
|
4620
|
-
task.keyPath = prevKeyPath$
|
|
4621
|
+
task.keyPath = prevKeyPath$40;
|
|
4621
4622
|
task.row = prevRow;
|
|
4622
4623
|
null !== prevRow &&
|
|
4623
4624
|
0 < newRow.pendingTasks &&
|
|
@@ -5539,21 +5540,21 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5539
5540
|
chunkLength = segment.chunks.length;
|
|
5540
5541
|
try {
|
|
5541
5542
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5542
|
-
} catch (thrownValue$
|
|
5543
|
+
} catch (thrownValue$63) {
|
|
5543
5544
|
if (
|
|
5544
5545
|
(resetHooksState(),
|
|
5545
5546
|
(segment.children.length = childrenLength),
|
|
5546
5547
|
(segment.chunks.length = chunkLength),
|
|
5547
5548
|
(node =
|
|
5548
|
-
thrownValue$
|
|
5549
|
+
thrownValue$63 === SuspenseException
|
|
5549
5550
|
? getSuspendedThenable()
|
|
5550
|
-
: thrownValue$
|
|
5551
|
+
: thrownValue$63),
|
|
5551
5552
|
12 !== request.status && "object" === typeof node && null !== node)
|
|
5552
5553
|
) {
|
|
5553
5554
|
if ("function" === typeof node.then) {
|
|
5554
5555
|
segment = node;
|
|
5555
5556
|
node =
|
|
5556
|
-
thrownValue$
|
|
5557
|
+
thrownValue$63 === SuspenseException
|
|
5557
5558
|
? getThenableStateAfterSuspending()
|
|
5558
5559
|
: null;
|
|
5559
5560
|
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
@@ -5568,7 +5569,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5568
5569
|
}
|
|
5569
5570
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5570
5571
|
segment =
|
|
5571
|
-
thrownValue$
|
|
5572
|
+
thrownValue$63 === SuspenseException
|
|
5572
5573
|
? getThenableStateAfterSuspending()
|
|
5573
5574
|
: null;
|
|
5574
5575
|
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
@@ -5686,12 +5687,12 @@ function abortTask(task, request, error) {
|
|
|
5686
5687
|
0 === request.pendingRootTasks && completeShell(request);
|
|
5687
5688
|
}
|
|
5688
5689
|
} else {
|
|
5689
|
-
var trackedPostpones$
|
|
5690
|
+
var trackedPostpones$64 = request.trackedPostpones;
|
|
5690
5691
|
if (4 !== boundary.status) {
|
|
5691
|
-
if (null !== trackedPostpones$
|
|
5692
|
+
if (null !== trackedPostpones$64 && null !== segment)
|
|
5692
5693
|
return (
|
|
5693
5694
|
logRecoverableError(request, error, errorInfo),
|
|
5694
|
-
trackPostpone(request, trackedPostpones$
|
|
5695
|
+
trackPostpone(request, trackedPostpones$64, task, segment),
|
|
5695
5696
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
5696
5697
|
return abortTask(fallbackTask, request, error);
|
|
5697
5698
|
}),
|
|
@@ -6638,12 +6639,12 @@ function flushCompletedQueues(request, destination) {
|
|
|
6638
6639
|
flushingPartialBoundaries = !0;
|
|
6639
6640
|
var partialBoundaries = request.partialBoundaries;
|
|
6640
6641
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
6641
|
-
var boundary$
|
|
6642
|
+
var boundary$70 = partialBoundaries[i];
|
|
6642
6643
|
a: {
|
|
6643
6644
|
clientRenderedBoundaries = request;
|
|
6644
6645
|
boundary = destination;
|
|
6645
|
-
flushedByteSize = boundary$
|
|
6646
|
-
var completedSegments = boundary$
|
|
6646
|
+
flushedByteSize = boundary$70.byteSize;
|
|
6647
|
+
var completedSegments = boundary$70.completedSegments;
|
|
6647
6648
|
for (
|
|
6648
6649
|
JSCompiler_inline_result = 0;
|
|
6649
6650
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -6653,7 +6654,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6653
6654
|
!flushPartiallyCompletedSegment(
|
|
6654
6655
|
clientRenderedBoundaries,
|
|
6655
6656
|
boundary,
|
|
6656
|
-
boundary$
|
|
6657
|
+
boundary$70,
|
|
6657
6658
|
completedSegments[JSCompiler_inline_result]
|
|
6658
6659
|
)
|
|
6659
6660
|
) {
|
|
@@ -6663,10 +6664,10 @@ function flushCompletedQueues(request, destination) {
|
|
|
6663
6664
|
break a;
|
|
6664
6665
|
}
|
|
6665
6666
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
6666
|
-
var row = boundary$
|
|
6667
|
+
var row = boundary$70.row;
|
|
6667
6668
|
null !== row &&
|
|
6668
6669
|
row.together &&
|
|
6669
|
-
1 === boundary$
|
|
6670
|
+
1 === boundary$70.pendingTasks &&
|
|
6670
6671
|
(1 === row.pendingTasks
|
|
6671
6672
|
? unblockSuspenseListRow(
|
|
6672
6673
|
clientRenderedBoundaries,
|
|
@@ -6676,7 +6677,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6676
6677
|
: row.pendingTasks--);
|
|
6677
6678
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
6678
6679
|
boundary,
|
|
6679
|
-
boundary$
|
|
6680
|
+
boundary$70.contentState,
|
|
6680
6681
|
clientRenderedBoundaries.renderState
|
|
6681
6682
|
);
|
|
6682
6683
|
}
|
|
@@ -6761,8 +6762,8 @@ function abort(request, reason) {
|
|
|
6761
6762
|
}
|
|
6762
6763
|
null !== request.destination &&
|
|
6763
6764
|
flushCompletedQueues(request, request.destination);
|
|
6764
|
-
} catch (error$
|
|
6765
|
-
logRecoverableError(request, error$
|
|
6765
|
+
} catch (error$72) {
|
|
6766
|
+
logRecoverableError(request, error$72, {}), fatalError(request, error$72);
|
|
6766
6767
|
}
|
|
6767
6768
|
}
|
|
6768
6769
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -6843,4 +6844,4 @@ exports.renderToString = function (children, options) {
|
|
|
6843
6844
|
'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'
|
|
6844
6845
|
);
|
|
6845
6846
|
};
|
|
6846
|
-
exports.version = "19.3.0-canary-
|
|
6847
|
+
exports.version = "19.3.0-canary-561ee24d-20251101";
|
|
@@ -5131,8 +5131,6 @@
|
|
|
5131
5131
|
if (null != debugInfo)
|
|
5132
5132
|
for (var i = debugInfo.length - 1; 0 <= i; i--) {
|
|
5133
5133
|
var info = debugInfo[i];
|
|
5134
|
-
if ("string" === typeof info.name) break;
|
|
5135
|
-
if ("number" === typeof info.time) break;
|
|
5136
5134
|
if (null != info.awaited) {
|
|
5137
5135
|
var bestStack = null == info.debugStack ? info.awaited : info;
|
|
5138
5136
|
if (void 0 !== bestStack.debugStack) {
|
|
@@ -5409,45 +5407,52 @@
|
|
|
5409
5407
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
5410
5408
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
5411
5409
|
else {
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
for (
|
|
5416
|
-
|
|
5410
|
+
resumeSlots = task.blockedSegment;
|
|
5411
|
+
n = resumeSlots.children.length;
|
|
5412
|
+
i = resumeSlots.chunks.length;
|
|
5413
|
+
for (node = 0; node < keyPath; node++) {
|
|
5414
|
+
resumeSegmentID =
|
|
5415
|
+
"unstable_legacy-backwards" === revealOrder
|
|
5416
|
+
? keyPath - 1 - node
|
|
5417
|
+
: node;
|
|
5418
|
+
var _node3 = rows[resumeSegmentID];
|
|
5417
5419
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
5418
5420
|
previousSuspenseListRow
|
|
5419
5421
|
);
|
|
5420
|
-
task.treeContext = pushTreeContext(
|
|
5421
|
-
|
|
5422
|
+
task.treeContext = pushTreeContext(
|
|
5423
|
+
prevTreeContext,
|
|
5424
|
+
keyPath,
|
|
5425
|
+
resumeSegmentID
|
|
5426
|
+
);
|
|
5427
|
+
var newSegment = createPendingSegment(
|
|
5422
5428
|
request,
|
|
5423
|
-
|
|
5429
|
+
i,
|
|
5424
5430
|
null,
|
|
5425
5431
|
task.formatContext,
|
|
5426
|
-
0 ===
|
|
5432
|
+
0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
|
|
5427
5433
|
!0
|
|
5428
5434
|
);
|
|
5429
|
-
|
|
5430
|
-
task.blockedSegment =
|
|
5431
|
-
warnForMissingKey(request, task,
|
|
5435
|
+
resumeSlots.children.splice(n, 0, newSegment);
|
|
5436
|
+
task.blockedSegment = newSegment;
|
|
5437
|
+
warnForMissingKey(request, task, _node3);
|
|
5432
5438
|
try {
|
|
5433
|
-
renderNode(request, task,
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
(
|
|
5438
|
-
finishedSegment(request, task.blockedBoundary,
|
|
5439
|
+
renderNode(request, task, _node3, resumeSegmentID),
|
|
5440
|
+
newSegment.lastPushedText &&
|
|
5441
|
+
newSegment.textEmbedded &&
|
|
5442
|
+
newSegment.chunks.push(textSeparator),
|
|
5443
|
+
(newSegment.status = COMPLETED),
|
|
5444
|
+
finishedSegment(request, task.blockedBoundary, newSegment),
|
|
5439
5445
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
5440
5446
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
5441
5447
|
} catch (thrownValue) {
|
|
5442
5448
|
throw (
|
|
5443
|
-
((
|
|
5444
|
-
12 === request.status ? ABORTED : ERRORED),
|
|
5449
|
+
((newSegment.status = 12 === request.status ? ABORTED : ERRORED),
|
|
5445
5450
|
thrownValue)
|
|
5446
5451
|
);
|
|
5447
5452
|
}
|
|
5448
5453
|
}
|
|
5449
|
-
task.blockedSegment =
|
|
5450
|
-
|
|
5454
|
+
task.blockedSegment = resumeSlots;
|
|
5455
|
+
resumeSlots.lastPushedText = !1;
|
|
5451
5456
|
}
|
|
5452
5457
|
null !== prevRow &&
|
|
5453
5458
|
null !== previousSuspenseListRow &&
|
|
@@ -6114,11 +6119,7 @@
|
|
|
6114
6119
|
a: {
|
|
6115
6120
|
var children$jscomp$0 = props.children,
|
|
6116
6121
|
revealOrder = props.revealOrder;
|
|
6117
|
-
if (
|
|
6118
|
-
"forwards" === revealOrder ||
|
|
6119
|
-
"backwards" === revealOrder ||
|
|
6120
|
-
"unstable_legacy-backwards" === revealOrder
|
|
6121
|
-
) {
|
|
6122
|
+
if ("independent" !== revealOrder && "together" !== revealOrder) {
|
|
6122
6123
|
if (isArrayImpl(children$jscomp$0)) {
|
|
6123
6124
|
renderSuspenseListRows(
|
|
6124
6125
|
request,
|
|
@@ -7546,9 +7547,28 @@
|
|
|
7546
7547
|
}
|
|
7547
7548
|
var errorInfo = getThrownInfo(task.componentStack),
|
|
7548
7549
|
node = task.node;
|
|
7549
|
-
null !== node &&
|
|
7550
|
+
if (null !== node && "object" === typeof node) {
|
|
7551
|
+
for (
|
|
7552
|
+
var debugInfo = node._debugInfo;
|
|
7553
|
+
"object" === typeof node &&
|
|
7554
|
+
null !== node &&
|
|
7555
|
+
node.$$typeof === REACT_LAZY_TYPE;
|
|
7556
|
+
|
|
7557
|
+
) {
|
|
7558
|
+
var payload = node._payload;
|
|
7559
|
+
if ("fulfilled" === payload.status) node = payload.value;
|
|
7560
|
+
else break;
|
|
7561
|
+
}
|
|
7550
7562
|
"object" === typeof node &&
|
|
7551
|
-
|
|
7563
|
+
null !== node &&
|
|
7564
|
+
(isArrayImpl(node) ||
|
|
7565
|
+
"function" === typeof node[ASYNC_ITERATOR] ||
|
|
7566
|
+
node.$$typeof === REACT_ELEMENT_TYPE ||
|
|
7567
|
+
node.$$typeof === REACT_LAZY_TYPE) &&
|
|
7568
|
+
isArrayImpl(node._debugInfo) &&
|
|
7569
|
+
(debugInfo = node._debugInfo);
|
|
7570
|
+
pushHaltedAwaitOnComponentStack(task, debugInfo);
|
|
7571
|
+
}
|
|
7552
7572
|
if (null === boundary) {
|
|
7553
7573
|
if (13 !== request.status && request.status !== CLOSED) {
|
|
7554
7574
|
boundary = task.replay;
|
|
@@ -8967,11 +8987,11 @@
|
|
|
8967
8987
|
}
|
|
8968
8988
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8969
8989
|
var isomorphicReactPackageVersion = React.version;
|
|
8970
|
-
if ("19.3.0-canary-
|
|
8990
|
+
if ("19.3.0-canary-561ee24d-20251101" !== isomorphicReactPackageVersion)
|
|
8971
8991
|
throw Error(
|
|
8972
8992
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8973
8993
|
(isomorphicReactPackageVersion +
|
|
8974
|
-
"\n - react-dom: 19.3.0-canary-
|
|
8994
|
+
"\n - react-dom: 19.3.0-canary-561ee24d-20251101\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8975
8995
|
);
|
|
8976
8996
|
}
|
|
8977
8997
|
var React = require("react"),
|
|
@@ -8994,6 +9014,7 @@
|
|
|
8994
9014
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
8995
9015
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
8996
9016
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
9017
|
+
ASYNC_ITERATOR = Symbol.asyncIterator,
|
|
8997
9018
|
isArrayImpl = Array.isArray,
|
|
8998
9019
|
jsxPropsParents = new WeakMap(),
|
|
8999
9020
|
jsxChildrenParents = new WeakMap(),
|
|
@@ -10776,5 +10797,5 @@
|
|
|
10776
10797
|
startWork(request);
|
|
10777
10798
|
});
|
|
10778
10799
|
};
|
|
10779
|
-
exports.version = "19.3.0-canary-
|
|
10800
|
+
exports.version = "19.3.0-canary-561ee24d-20251101";
|
|
10780
10801
|
})();
|