react-dom 19.2.0-canary-3820740a-20250509 → 19.2.0-canary-b94603b9-20250513
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 +5 -5
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +5 -5
- package/cjs/react-dom-profiling.profiling.js +5 -5
- package/cjs/react-dom-server-legacy.browser.development.js +52 -78
- package/cjs/react-dom-server-legacy.browser.production.js +64 -82
- package/cjs/react-dom-server-legacy.node.development.js +52 -78
- package/cjs/react-dom-server-legacy.node.production.js +64 -82
- package/cjs/react-dom-server.browser.development.js +51 -76
- package/cjs/react-dom-server.browser.production.js +44 -58
- package/cjs/react-dom-server.bun.development.js +48 -58
- package/cjs/react-dom-server.bun.production.js +44 -56
- package/cjs/react-dom-server.edge.development.js +51 -76
- package/cjs/react-dom-server.edge.production.js +44 -58
- package/cjs/react-dom-server.node.development.js +48 -70
- package/cjs/react-dom-server.node.production.js +41 -55
- 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
|
@@ -2296,14 +2296,6 @@ function preloadLateStyles(styleQueue) {
|
|
|
2296
2296
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
|
2297
2297
|
styleQueue.sheets.clear();
|
|
2298
2298
|
}
|
|
2299
|
-
function writeCompletedShellIdAttribute(destination, resumableState) {
|
|
2300
|
-
0 === (resumableState.instructions & 32) &&
|
|
2301
|
-
((resumableState.instructions |= 32),
|
|
2302
|
-
(resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
|
2303
|
-
writeChunk(destination, ' id="'),
|
|
2304
|
-
writeChunk(destination, escapeTextForBrowser(resumableState)),
|
|
2305
|
-
writeChunk(destination, '"'));
|
|
2306
|
-
}
|
|
2307
2299
|
function pushCompletedShellIdAttribute(target, resumableState) {
|
|
2308
2300
|
0 === (resumableState.instructions & 32) &&
|
|
2309
2301
|
((resumableState.instructions |= 32),
|
|
@@ -5671,8 +5663,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
5671
5663
|
var completedPreambleSegments = request.completedPreambleSegments;
|
|
5672
5664
|
if (null === completedPreambleSegments) return;
|
|
5673
5665
|
flushedByteSize = request.byteSize;
|
|
5674
|
-
var
|
|
5675
|
-
renderState = request.renderState,
|
|
5666
|
+
var renderState = request.renderState,
|
|
5676
5667
|
preamble = renderState.preamble,
|
|
5677
5668
|
htmlChunks = preamble.htmlChunks,
|
|
5678
5669
|
headChunks = preamble.headChunks,
|
|
@@ -5713,23 +5704,17 @@ function flushCompletedQueues(request, destination) {
|
|
|
5713
5704
|
renderState.scripts.clear();
|
|
5714
5705
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
|
5715
5706
|
renderState.bulkPreloads.clear();
|
|
5716
|
-
if (htmlChunks || headChunks) {
|
|
5717
|
-
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
5718
|
-
writeChunk(destination, '<link rel="expect" href="#');
|
|
5719
|
-
writeChunk(destination, escapeTextForBrowser(shellId));
|
|
5720
|
-
writeChunk(destination, '" blocking="render"/>');
|
|
5721
|
-
}
|
|
5722
5707
|
var hoistableChunks = renderState.hoistableChunks;
|
|
5723
5708
|
for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
|
|
5724
5709
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
|
5725
5710
|
for (
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5711
|
+
renderState = hoistableChunks.length = 0;
|
|
5712
|
+
renderState < completedPreambleSegments.length;
|
|
5713
|
+
renderState++
|
|
5729
5714
|
) {
|
|
5730
|
-
var segments = completedPreambleSegments[
|
|
5731
|
-
for (
|
|
5732
|
-
flushSegment(request, destination, segments[
|
|
5715
|
+
var segments = completedPreambleSegments[renderState];
|
|
5716
|
+
for (preamble = 0; preamble < segments.length; preamble++)
|
|
5717
|
+
flushSegment(request, destination, segments[preamble], null);
|
|
5733
5718
|
}
|
|
5734
5719
|
var preamble$jscomp$0 = request.renderState.preamble,
|
|
5735
5720
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
|
@@ -5745,31 +5730,34 @@ function flushCompletedQueues(request, destination) {
|
|
|
5745
5730
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
|
5746
5731
|
flushSegment(request, destination, completedRootSegment, null);
|
|
5747
5732
|
request.completedRootSegment = null;
|
|
5748
|
-
var
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
0
|
|
5752
|
-
0
|
|
5753
|
-
(null
|
|
5754
|
-
(0
|
|
5755
|
-
null
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5733
|
+
var renderState$jscomp$0 = request.renderState;
|
|
5734
|
+
if (
|
|
5735
|
+
0 !== request.allPendingTasks ||
|
|
5736
|
+
0 !== request.clientRenderedBoundaries.length ||
|
|
5737
|
+
0 !== request.completedBoundaries.length ||
|
|
5738
|
+
(null !== request.trackedPostpones &&
|
|
5739
|
+
(0 !== request.trackedPostpones.rootNodes.length ||
|
|
5740
|
+
null !== request.trackedPostpones.rootSlots))
|
|
5741
|
+
) {
|
|
5742
|
+
var resumableState = request.resumableState;
|
|
5743
|
+
if (0 === (resumableState.instructions & 64)) {
|
|
5744
|
+
resumableState.instructions |= 64;
|
|
5745
|
+
writeChunk(destination, renderState$jscomp$0.startInlineScript);
|
|
5746
|
+
if (0 === (resumableState.instructions & 32)) {
|
|
5747
|
+
resumableState.instructions |= 32;
|
|
5748
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
5749
|
+
writeChunk(destination, ' id="');
|
|
5750
|
+
writeChunk(destination, escapeTextForBrowser(shellId));
|
|
5751
|
+
writeChunk(destination, '"');
|
|
5752
|
+
}
|
|
5753
|
+
writeChunk(destination, ">");
|
|
5754
|
+
writeChunk(
|
|
5755
|
+
destination,
|
|
5756
|
+
"requestAnimationFrame(function(){$RT=performance.now()});"
|
|
5757
|
+
);
|
|
5758
|
+
destination.write("\x3c/script>");
|
|
5759
|
+
}
|
|
5760
|
+
}
|
|
5773
5761
|
writeBootstrap(destination, renderState$jscomp$0);
|
|
5774
5762
|
}
|
|
5775
5763
|
var renderState$jscomp$1 = request.renderState;
|
|
@@ -5808,7 +5796,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
5808
5796
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
|
5809
5797
|
var boundary = clientRenderedBoundaries[i];
|
|
5810
5798
|
renderState$jscomp$1 = destination;
|
|
5811
|
-
var resumableState$jscomp$
|
|
5799
|
+
var resumableState$jscomp$0 = request.resumableState,
|
|
5812
5800
|
renderState$jscomp$2 = request.renderState,
|
|
5813
5801
|
id = boundary.rootSegmentID,
|
|
5814
5802
|
errorDigest = boundary.errorDigest;
|
|
@@ -5817,8 +5805,8 @@ function flushCompletedQueues(request, destination) {
|
|
|
5817
5805
|
renderState$jscomp$2.startInlineScript
|
|
5818
5806
|
);
|
|
5819
5807
|
writeChunk(renderState$jscomp$1, ">");
|
|
5820
|
-
0 === (resumableState$jscomp$
|
|
5821
|
-
? ((resumableState$jscomp$
|
|
5808
|
+
0 === (resumableState$jscomp$0.instructions & 4)
|
|
5809
|
+
? ((resumableState$jscomp$0.instructions |= 4),
|
|
5822
5810
|
writeChunk(
|
|
5823
5811
|
renderState$jscomp$1,
|
|
5824
5812
|
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
|
|
@@ -5968,15 +5956,15 @@ function abort(request, reason) {
|
|
|
5968
5956
|
logRecoverableError(request, error$55, {}), fatalError(request, error$55);
|
|
5969
5957
|
}
|
|
5970
5958
|
}
|
|
5971
|
-
var isomorphicReactPackageVersion$jscomp$
|
|
5959
|
+
var isomorphicReactPackageVersion$jscomp$inline_767 = React.version;
|
|
5972
5960
|
if (
|
|
5973
|
-
"19.2.0-canary-
|
|
5974
|
-
isomorphicReactPackageVersion$jscomp$
|
|
5961
|
+
"19.2.0-canary-b94603b9-20250513" !==
|
|
5962
|
+
isomorphicReactPackageVersion$jscomp$inline_767
|
|
5975
5963
|
)
|
|
5976
5964
|
throw Error(
|
|
5977
5965
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
5978
|
-
(isomorphicReactPackageVersion$jscomp$
|
|
5979
|
-
"\n - react-dom: 19.2.0-canary-
|
|
5966
|
+
(isomorphicReactPackageVersion$jscomp$inline_767 +
|
|
5967
|
+
"\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
5980
5968
|
);
|
|
5981
5969
|
exports.renderToReadableStream = function (children, options) {
|
|
5982
5970
|
return new Promise(function (resolve, reject) {
|
|
@@ -6067,4 +6055,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
6067
6055
|
startWork(request);
|
|
6068
6056
|
});
|
|
6069
6057
|
};
|
|
6070
|
-
exports.version = "19.2.0-canary-
|
|
6058
|
+
exports.version = "19.2.0-canary-b94603b9-20250513";
|
|
@@ -3421,17 +3421,6 @@
|
|
|
3421
3421
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
|
3422
3422
|
styleQueue.sheets.clear();
|
|
3423
3423
|
}
|
|
3424
|
-
function writeCompletedShellIdAttribute(destination, resumableState) {
|
|
3425
|
-
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
|
3426
|
-
((resumableState.instructions |= SentCompletedShellId),
|
|
3427
|
-
(resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
|
3428
|
-
writeChunk(destination, completedShellIdAttributeStart),
|
|
3429
|
-
writeChunk(
|
|
3430
|
-
destination,
|
|
3431
|
-
stringToChunk(escapeTextForBrowser(resumableState))
|
|
3432
|
-
),
|
|
3433
|
-
writeChunk(destination, attributeEnd));
|
|
3434
|
-
}
|
|
3435
3424
|
function pushCompletedShellIdAttribute(target, resumableState) {
|
|
3436
3425
|
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
|
3437
3426
|
((resumableState.instructions |= SentCompletedShellId),
|
|
@@ -7461,8 +7450,7 @@
|
|
|
7461
7450
|
var completedPreambleSegments = request.completedPreambleSegments;
|
|
7462
7451
|
if (null === completedPreambleSegments) return;
|
|
7463
7452
|
flushedByteSize = request.byteSize;
|
|
7464
|
-
var
|
|
7465
|
-
renderState = request.renderState,
|
|
7453
|
+
var renderState = request.renderState,
|
|
7466
7454
|
preamble = renderState.preamble,
|
|
7467
7455
|
htmlChunks = preamble.htmlChunks,
|
|
7468
7456
|
headChunks = preamble.headChunks,
|
|
@@ -7519,15 +7507,6 @@
|
|
|
7519
7507
|
renderState.scripts.clear();
|
|
7520
7508
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
|
7521
7509
|
renderState.bulkPreloads.clear();
|
|
7522
|
-
if (htmlChunks || headChunks) {
|
|
7523
|
-
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
7524
|
-
writeChunk(destination, blockingRenderChunkStart);
|
|
7525
|
-
writeChunk(
|
|
7526
|
-
destination,
|
|
7527
|
-
stringToChunk(escapeTextForBrowser(shellId))
|
|
7528
|
-
);
|
|
7529
|
-
writeChunk(destination, blockingRenderChunkEnd);
|
|
7530
|
-
}
|
|
7531
7510
|
var hoistableChunks = renderState.hoistableChunks;
|
|
7532
7511
|
for (
|
|
7533
7512
|
i$jscomp$0 = 0;
|
|
@@ -7536,17 +7515,13 @@
|
|
|
7536
7515
|
)
|
|
7537
7516
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
|
7538
7517
|
for (
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7518
|
+
renderState = hoistableChunks.length = 0;
|
|
7519
|
+
renderState < completedPreambleSegments.length;
|
|
7520
|
+
renderState++
|
|
7542
7521
|
) {
|
|
7543
|
-
var segments = completedPreambleSegments[
|
|
7544
|
-
for (
|
|
7545
|
-
|
|
7546
|
-
renderState < segments.length;
|
|
7547
|
-
renderState++
|
|
7548
|
-
)
|
|
7549
|
-
flushSegment(request, destination, segments[renderState], null);
|
|
7522
|
+
var segments = completedPreambleSegments[renderState];
|
|
7523
|
+
for (preamble = 0; preamble < segments.length; preamble++)
|
|
7524
|
+
flushSegment(request, destination, segments[preamble], null);
|
|
7550
7525
|
}
|
|
7551
7526
|
var preamble$jscomp$0 = request.renderState.preamble,
|
|
7552
7527
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
|
@@ -7562,36 +7537,40 @@
|
|
|
7562
7537
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
|
7563
7538
|
flushSegment(request, destination, completedRootSegment, null);
|
|
7564
7539
|
request.completedRootSegment = null;
|
|
7565
|
-
var
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
0
|
|
7569
|
-
0
|
|
7570
|
-
(null
|
|
7571
|
-
(0
|
|
7572
|
-
null
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
(
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
resumableState
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7540
|
+
var renderState$jscomp$0 = request.renderState;
|
|
7541
|
+
if (
|
|
7542
|
+
0 !== request.allPendingTasks ||
|
|
7543
|
+
0 !== request.clientRenderedBoundaries.length ||
|
|
7544
|
+
0 !== request.completedBoundaries.length ||
|
|
7545
|
+
(null !== request.trackedPostpones &&
|
|
7546
|
+
(0 !== request.trackedPostpones.rootNodes.length ||
|
|
7547
|
+
null !== request.trackedPostpones.rootSlots))
|
|
7548
|
+
) {
|
|
7549
|
+
var resumableState = request.resumableState;
|
|
7550
|
+
if (
|
|
7551
|
+
(resumableState.instructions & SentMarkShellTime) ===
|
|
7552
|
+
NothingSent
|
|
7553
|
+
) {
|
|
7554
|
+
resumableState.instructions |= SentMarkShellTime;
|
|
7555
|
+
writeChunk(destination, renderState$jscomp$0.startInlineScript);
|
|
7556
|
+
if (
|
|
7557
|
+
(resumableState.instructions & SentCompletedShellId) ===
|
|
7558
|
+
NothingSent
|
|
7559
|
+
) {
|
|
7560
|
+
resumableState.instructions |= SentCompletedShellId;
|
|
7561
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
7562
|
+
writeChunk(destination, completedShellIdAttributeStart);
|
|
7563
|
+
writeChunk(
|
|
7564
|
+
destination,
|
|
7565
|
+
stringToChunk(escapeTextForBrowser(shellId))
|
|
7566
|
+
);
|
|
7567
|
+
writeChunk(destination, attributeEnd);
|
|
7568
|
+
}
|
|
7569
|
+
writeChunk(destination, endOfStartTag);
|
|
7570
|
+
writeChunk(destination, shellTimeRuntimeScript);
|
|
7571
|
+
writeChunkAndReturn(destination, endInlineScript);
|
|
7572
|
+
}
|
|
7573
|
+
}
|
|
7595
7574
|
writeBootstrap(destination, renderState$jscomp$0);
|
|
7596
7575
|
}
|
|
7597
7576
|
var renderState$jscomp$1 = request.renderState;
|
|
@@ -7636,7 +7615,7 @@
|
|
|
7636
7615
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
|
7637
7616
|
var boundary = clientRenderedBoundaries[i];
|
|
7638
7617
|
renderState$jscomp$1 = destination;
|
|
7639
|
-
var resumableState$jscomp$
|
|
7618
|
+
var resumableState$jscomp$0 = request.resumableState,
|
|
7640
7619
|
renderState$jscomp$2 = request.renderState,
|
|
7641
7620
|
id = boundary.rootSegmentID,
|
|
7642
7621
|
errorDigest = boundary.errorDigest,
|
|
@@ -7648,10 +7627,10 @@
|
|
|
7648
7627
|
renderState$jscomp$2.startInlineScript
|
|
7649
7628
|
);
|
|
7650
7629
|
writeChunk(renderState$jscomp$1, endOfStartTag);
|
|
7651
|
-
(resumableState$jscomp$
|
|
7630
|
+
(resumableState$jscomp$0.instructions &
|
|
7652
7631
|
SentClientRenderFunction) ===
|
|
7653
7632
|
NothingSent
|
|
7654
|
-
? ((resumableState$jscomp$
|
|
7633
|
+
? ((resumableState$jscomp$0.instructions |=
|
|
7655
7634
|
SentClientRenderFunction),
|
|
7656
7635
|
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
|
7657
7636
|
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
|
@@ -7892,11 +7871,11 @@
|
|
|
7892
7871
|
}
|
|
7893
7872
|
function ensureCorrectIsomorphicReactVersion() {
|
|
7894
7873
|
var isomorphicReactPackageVersion = React.version;
|
|
7895
|
-
if ("19.2.0-canary-
|
|
7874
|
+
if ("19.2.0-canary-b94603b9-20250513" !== isomorphicReactPackageVersion)
|
|
7896
7875
|
throw Error(
|
|
7897
7876
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
7898
7877
|
(isomorphicReactPackageVersion +
|
|
7899
|
-
"\n - react-dom: 19.2.0-canary-
|
|
7878
|
+
"\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
7900
7879
|
);
|
|
7901
7880
|
}
|
|
7902
7881
|
var React = require("react"),
|
|
@@ -9174,14 +9153,10 @@
|
|
|
9174
9153
|
styleTagResourceOpen2 = stringToPrecomputedChunk('" data-href="'),
|
|
9175
9154
|
spaceSeparator = stringToPrecomputedChunk(" "),
|
|
9176
9155
|
styleTagResourceOpen3 = stringToPrecomputedChunk('">'),
|
|
9177
|
-
styleTagResourceClose = stringToPrecomputedChunk("</style>")
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
blockingRenderChunkEnd = stringToPrecomputedChunk(
|
|
9182
|
-
'" blocking="render"/>'
|
|
9183
|
-
),
|
|
9184
|
-
completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
|
|
9156
|
+
styleTagResourceClose = stringToPrecomputedChunk("</style>");
|
|
9157
|
+
stringToPrecomputedChunk('<link rel="expect" href="#');
|
|
9158
|
+
stringToPrecomputedChunk('" blocking="render"/>');
|
|
9159
|
+
var completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
|
|
9185
9160
|
arrayFirstOpenBracket = stringToPrecomputedChunk("["),
|
|
9186
9161
|
arraySubsequentOpenBracket = stringToPrecomputedChunk(",["),
|
|
9187
9162
|
arrayInterstitial = stringToPrecomputedChunk(","),
|
|
@@ -9582,5 +9557,5 @@
|
|
|
9582
9557
|
startWork(request);
|
|
9583
9558
|
});
|
|
9584
9559
|
};
|
|
9585
|
-
exports.version = "19.2.0-canary-
|
|
9560
|
+
exports.version = "19.2.0-canary-b94603b9-20250513";
|
|
9586
9561
|
})();
|
|
@@ -2670,22 +2670,9 @@ function preloadLateStyles(styleQueue) {
|
|
|
2670
2670
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
|
2671
2671
|
styleQueue.sheets.clear();
|
|
2672
2672
|
}
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
blockingRenderChunkEnd = stringToPrecomputedChunk('" blocking="render"/>'),
|
|
2677
|
-
completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
|
|
2678
|
-
function writeCompletedShellIdAttribute(destination, resumableState) {
|
|
2679
|
-
0 === (resumableState.instructions & 32) &&
|
|
2680
|
-
((resumableState.instructions |= 32),
|
|
2681
|
-
(resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
|
2682
|
-
writeChunk(destination, completedShellIdAttributeStart),
|
|
2683
|
-
writeChunk(
|
|
2684
|
-
destination,
|
|
2685
|
-
stringToChunk(escapeTextForBrowser(resumableState))
|
|
2686
|
-
),
|
|
2687
|
-
writeChunk(destination, attributeEnd));
|
|
2688
|
-
}
|
|
2673
|
+
stringToPrecomputedChunk('<link rel="expect" href="#');
|
|
2674
|
+
stringToPrecomputedChunk('" blocking="render"/>');
|
|
2675
|
+
var completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
|
|
2689
2676
|
function pushCompletedShellIdAttribute(target, resumableState) {
|
|
2690
2677
|
0 === (resumableState.instructions & 32) &&
|
|
2691
2678
|
((resumableState.instructions |= 32),
|
|
@@ -6109,8 +6096,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6109
6096
|
var completedPreambleSegments = request.completedPreambleSegments;
|
|
6110
6097
|
if (null === completedPreambleSegments) return;
|
|
6111
6098
|
flushedByteSize = request.byteSize;
|
|
6112
|
-
var
|
|
6113
|
-
renderState = request.renderState,
|
|
6099
|
+
var renderState = request.renderState,
|
|
6114
6100
|
preamble = renderState.preamble,
|
|
6115
6101
|
htmlChunks = preamble.htmlChunks,
|
|
6116
6102
|
headChunks = preamble.headChunks,
|
|
@@ -6151,23 +6137,17 @@ function flushCompletedQueues(request, destination) {
|
|
|
6151
6137
|
renderState.scripts.clear();
|
|
6152
6138
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
|
6153
6139
|
renderState.bulkPreloads.clear();
|
|
6154
|
-
if (htmlChunks || headChunks) {
|
|
6155
|
-
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
6156
|
-
writeChunk(destination, blockingRenderChunkStart);
|
|
6157
|
-
writeChunk(destination, stringToChunk(escapeTextForBrowser(shellId)));
|
|
6158
|
-
writeChunk(destination, blockingRenderChunkEnd);
|
|
6159
|
-
}
|
|
6160
6140
|
var hoistableChunks = renderState.hoistableChunks;
|
|
6161
6141
|
for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
|
|
6162
6142
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
|
6163
6143
|
for (
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6144
|
+
renderState = hoistableChunks.length = 0;
|
|
6145
|
+
renderState < completedPreambleSegments.length;
|
|
6146
|
+
renderState++
|
|
6167
6147
|
) {
|
|
6168
|
-
var segments = completedPreambleSegments[
|
|
6169
|
-
for (
|
|
6170
|
-
flushSegment(request, destination, segments[
|
|
6148
|
+
var segments = completedPreambleSegments[renderState];
|
|
6149
|
+
for (preamble = 0; preamble < segments.length; preamble++)
|
|
6150
|
+
flushSegment(request, destination, segments[preamble], null);
|
|
6171
6151
|
}
|
|
6172
6152
|
var preamble$jscomp$0 = request.renderState.preamble,
|
|
6173
6153
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
|
@@ -6183,28 +6163,34 @@ function flushCompletedQueues(request, destination) {
|
|
|
6183
6163
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
|
6184
6164
|
flushSegment(request, destination, completedRootSegment, null);
|
|
6185
6165
|
request.completedRootSegment = null;
|
|
6186
|
-
var
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
0
|
|
6190
|
-
0
|
|
6191
|
-
(null
|
|
6192
|
-
(0
|
|
6193
|
-
null
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6166
|
+
var renderState$jscomp$0 = request.renderState;
|
|
6167
|
+
if (
|
|
6168
|
+
0 !== request.allPendingTasks ||
|
|
6169
|
+
0 !== request.clientRenderedBoundaries.length ||
|
|
6170
|
+
0 !== request.completedBoundaries.length ||
|
|
6171
|
+
(null !== request.trackedPostpones &&
|
|
6172
|
+
(0 !== request.trackedPostpones.rootNodes.length ||
|
|
6173
|
+
null !== request.trackedPostpones.rootSlots))
|
|
6174
|
+
) {
|
|
6175
|
+
var resumableState = request.resumableState;
|
|
6176
|
+
if (0 === (resumableState.instructions & 64)) {
|
|
6177
|
+
resumableState.instructions |= 64;
|
|
6178
|
+
writeChunk(destination, renderState$jscomp$0.startInlineScript);
|
|
6179
|
+
if (0 === (resumableState.instructions & 32)) {
|
|
6180
|
+
resumableState.instructions |= 32;
|
|
6181
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
6182
|
+
writeChunk(destination, completedShellIdAttributeStart);
|
|
6183
|
+
writeChunk(
|
|
6184
|
+
destination,
|
|
6185
|
+
stringToChunk(escapeTextForBrowser(shellId))
|
|
6186
|
+
);
|
|
6187
|
+
writeChunk(destination, attributeEnd);
|
|
6188
|
+
}
|
|
6189
|
+
writeChunk(destination, endOfStartTag);
|
|
6190
|
+
writeChunk(destination, shellTimeRuntimeScript);
|
|
6191
|
+
writeChunkAndReturn(destination, endInlineScript);
|
|
6192
|
+
}
|
|
6193
|
+
}
|
|
6208
6194
|
writeBootstrap(destination, renderState$jscomp$0);
|
|
6209
6195
|
}
|
|
6210
6196
|
var renderState$jscomp$1 = request.renderState;
|
|
@@ -6243,7 +6229,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6243
6229
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
|
6244
6230
|
var boundary = clientRenderedBoundaries[i];
|
|
6245
6231
|
renderState$jscomp$1 = destination;
|
|
6246
|
-
var resumableState$jscomp$
|
|
6232
|
+
var resumableState$jscomp$0 = request.resumableState,
|
|
6247
6233
|
renderState$jscomp$2 = request.renderState,
|
|
6248
6234
|
id = boundary.rootSegmentID,
|
|
6249
6235
|
errorDigest = boundary.errorDigest;
|
|
@@ -6252,8 +6238,8 @@ function flushCompletedQueues(request, destination) {
|
|
|
6252
6238
|
renderState$jscomp$2.startInlineScript
|
|
6253
6239
|
);
|
|
6254
6240
|
writeChunk(renderState$jscomp$1, endOfStartTag);
|
|
6255
|
-
0 === (resumableState$jscomp$
|
|
6256
|
-
? ((resumableState$jscomp$
|
|
6241
|
+
0 === (resumableState$jscomp$0.instructions & 4)
|
|
6242
|
+
? ((resumableState$jscomp$0.instructions |= 4),
|
|
6257
6243
|
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
|
6258
6244
|
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
|
6259
6245
|
writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
|
|
@@ -6437,11 +6423,11 @@ function abort(request, reason) {
|
|
|
6437
6423
|
}
|
|
6438
6424
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6439
6425
|
var isomorphicReactPackageVersion = React.version;
|
|
6440
|
-
if ("19.2.0-canary-
|
|
6426
|
+
if ("19.2.0-canary-b94603b9-20250513" !== isomorphicReactPackageVersion)
|
|
6441
6427
|
throw Error(
|
|
6442
6428
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6443
6429
|
(isomorphicReactPackageVersion +
|
|
6444
|
-
"\n - react-dom: 19.2.0-canary-
|
|
6430
|
+
"\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6445
6431
|
);
|
|
6446
6432
|
}
|
|
6447
6433
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -6587,4 +6573,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
6587
6573
|
startWork(request);
|
|
6588
6574
|
});
|
|
6589
6575
|
};
|
|
6590
|
-
exports.version = "19.2.0-canary-
|
|
6576
|
+
exports.version = "19.2.0-canary-b94603b9-20250513";
|