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
|
@@ -3425,17 +3425,6 @@
|
|
|
3425
3425
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
|
3426
3426
|
styleQueue.sheets.clear();
|
|
3427
3427
|
}
|
|
3428
|
-
function writeCompletedShellIdAttribute(destination, resumableState) {
|
|
3429
|
-
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
|
3430
|
-
((resumableState.instructions |= SentCompletedShellId),
|
|
3431
|
-
(resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
|
3432
|
-
writeChunk(destination, completedShellIdAttributeStart),
|
|
3433
|
-
writeChunk(
|
|
3434
|
-
destination,
|
|
3435
|
-
stringToChunk(escapeTextForBrowser(resumableState))
|
|
3436
|
-
),
|
|
3437
|
-
writeChunk(destination, attributeEnd));
|
|
3438
|
-
}
|
|
3439
3428
|
function pushCompletedShellIdAttribute(target, resumableState) {
|
|
3440
3429
|
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
|
3441
3430
|
((resumableState.instructions |= SentCompletedShellId),
|
|
@@ -7451,8 +7440,7 @@
|
|
|
7451
7440
|
var completedPreambleSegments = request.completedPreambleSegments;
|
|
7452
7441
|
if (null === completedPreambleSegments) return;
|
|
7453
7442
|
flushedByteSize = request.byteSize;
|
|
7454
|
-
var
|
|
7455
|
-
renderState = request.renderState,
|
|
7443
|
+
var renderState = request.renderState,
|
|
7456
7444
|
preamble = renderState.preamble,
|
|
7457
7445
|
htmlChunks = preamble.htmlChunks,
|
|
7458
7446
|
headChunks = preamble.headChunks,
|
|
@@ -7509,15 +7497,6 @@
|
|
|
7509
7497
|
renderState.scripts.clear();
|
|
7510
7498
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
|
7511
7499
|
renderState.bulkPreloads.clear();
|
|
7512
|
-
if (htmlChunks || headChunks) {
|
|
7513
|
-
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
7514
|
-
writeChunk(destination, blockingRenderChunkStart);
|
|
7515
|
-
writeChunk(
|
|
7516
|
-
destination,
|
|
7517
|
-
stringToChunk(escapeTextForBrowser(shellId))
|
|
7518
|
-
);
|
|
7519
|
-
writeChunk(destination, blockingRenderChunkEnd);
|
|
7520
|
-
}
|
|
7521
7500
|
var hoistableChunks = renderState.hoistableChunks;
|
|
7522
7501
|
for (
|
|
7523
7502
|
i$jscomp$0 = 0;
|
|
@@ -7526,17 +7505,13 @@
|
|
|
7526
7505
|
)
|
|
7527
7506
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
|
7528
7507
|
for (
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7508
|
+
renderState = hoistableChunks.length = 0;
|
|
7509
|
+
renderState < completedPreambleSegments.length;
|
|
7510
|
+
renderState++
|
|
7532
7511
|
) {
|
|
7533
|
-
var segments = completedPreambleSegments[
|
|
7534
|
-
for (
|
|
7535
|
-
|
|
7536
|
-
renderState < segments.length;
|
|
7537
|
-
renderState++
|
|
7538
|
-
)
|
|
7539
|
-
flushSegment(request, destination, segments[renderState], null);
|
|
7512
|
+
var segments = completedPreambleSegments[renderState];
|
|
7513
|
+
for (preamble = 0; preamble < segments.length; preamble++)
|
|
7514
|
+
flushSegment(request, destination, segments[preamble], null);
|
|
7540
7515
|
}
|
|
7541
7516
|
var preamble$jscomp$0 = request.renderState.preamble,
|
|
7542
7517
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
|
@@ -7552,36 +7527,40 @@
|
|
|
7552
7527
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
|
7553
7528
|
flushSegment(request, destination, completedRootSegment, null);
|
|
7554
7529
|
request.completedRootSegment = null;
|
|
7555
|
-
var
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
0
|
|
7559
|
-
0
|
|
7560
|
-
(null
|
|
7561
|
-
(0
|
|
7562
|
-
null
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
(
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
resumableState
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7530
|
+
var renderState$jscomp$0 = request.renderState;
|
|
7531
|
+
if (
|
|
7532
|
+
0 !== request.allPendingTasks ||
|
|
7533
|
+
0 !== request.clientRenderedBoundaries.length ||
|
|
7534
|
+
0 !== request.completedBoundaries.length ||
|
|
7535
|
+
(null !== request.trackedPostpones &&
|
|
7536
|
+
(0 !== request.trackedPostpones.rootNodes.length ||
|
|
7537
|
+
null !== request.trackedPostpones.rootSlots))
|
|
7538
|
+
) {
|
|
7539
|
+
var resumableState = request.resumableState;
|
|
7540
|
+
if (
|
|
7541
|
+
(resumableState.instructions & SentMarkShellTime) ===
|
|
7542
|
+
NothingSent
|
|
7543
|
+
) {
|
|
7544
|
+
resumableState.instructions |= SentMarkShellTime;
|
|
7545
|
+
writeChunk(destination, renderState$jscomp$0.startInlineScript);
|
|
7546
|
+
if (
|
|
7547
|
+
(resumableState.instructions & SentCompletedShellId) ===
|
|
7548
|
+
NothingSent
|
|
7549
|
+
) {
|
|
7550
|
+
resumableState.instructions |= SentCompletedShellId;
|
|
7551
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
7552
|
+
writeChunk(destination, completedShellIdAttributeStart);
|
|
7553
|
+
writeChunk(
|
|
7554
|
+
destination,
|
|
7555
|
+
stringToChunk(escapeTextForBrowser(shellId))
|
|
7556
|
+
);
|
|
7557
|
+
writeChunk(destination, attributeEnd);
|
|
7558
|
+
}
|
|
7559
|
+
writeChunk(destination, endOfStartTag);
|
|
7560
|
+
writeChunk(destination, shellTimeRuntimeScript);
|
|
7561
|
+
writeChunkAndReturn(destination, endInlineScript);
|
|
7562
|
+
}
|
|
7563
|
+
}
|
|
7585
7564
|
writeBootstrap(destination, renderState$jscomp$0);
|
|
7586
7565
|
}
|
|
7587
7566
|
var renderState$jscomp$1 = request.renderState;
|
|
@@ -7626,7 +7605,7 @@
|
|
|
7626
7605
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
|
7627
7606
|
var boundary = clientRenderedBoundaries[i];
|
|
7628
7607
|
renderState$jscomp$1 = destination;
|
|
7629
|
-
var resumableState$jscomp$
|
|
7608
|
+
var resumableState$jscomp$0 = request.resumableState,
|
|
7630
7609
|
renderState$jscomp$2 = request.renderState,
|
|
7631
7610
|
id = boundary.rootSegmentID,
|
|
7632
7611
|
errorDigest = boundary.errorDigest,
|
|
@@ -7638,10 +7617,10 @@
|
|
|
7638
7617
|
renderState$jscomp$2.startInlineScript
|
|
7639
7618
|
);
|
|
7640
7619
|
writeChunk(renderState$jscomp$1, endOfStartTag);
|
|
7641
|
-
(resumableState$jscomp$
|
|
7620
|
+
(resumableState$jscomp$0.instructions &
|
|
7642
7621
|
SentClientRenderFunction) ===
|
|
7643
7622
|
NothingSent
|
|
7644
|
-
? ((resumableState$jscomp$
|
|
7623
|
+
? ((resumableState$jscomp$0.instructions |=
|
|
7645
7624
|
SentClientRenderFunction),
|
|
7646
7625
|
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
|
7647
7626
|
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
|
@@ -7869,11 +7848,11 @@
|
|
|
7869
7848
|
}
|
|
7870
7849
|
function ensureCorrectIsomorphicReactVersion() {
|
|
7871
7850
|
var isomorphicReactPackageVersion = React.version;
|
|
7872
|
-
if ("19.2.0-canary-
|
|
7851
|
+
if ("19.2.0-canary-b94603b9-20250513" !== isomorphicReactPackageVersion)
|
|
7873
7852
|
throw Error(
|
|
7874
7853
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
7875
7854
|
(isomorphicReactPackageVersion +
|
|
7876
|
-
"\n - react-dom: 19.2.0-canary-
|
|
7855
|
+
"\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
7877
7856
|
);
|
|
7878
7857
|
}
|
|
7879
7858
|
var React = require("react"),
|
|
@@ -9157,14 +9136,10 @@
|
|
|
9157
9136
|
styleTagResourceOpen2 = stringToPrecomputedChunk('" data-href="'),
|
|
9158
9137
|
spaceSeparator = stringToPrecomputedChunk(" "),
|
|
9159
9138
|
styleTagResourceOpen3 = stringToPrecomputedChunk('">'),
|
|
9160
|
-
styleTagResourceClose = stringToPrecomputedChunk("</style>")
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
blockingRenderChunkEnd = stringToPrecomputedChunk(
|
|
9165
|
-
'" blocking="render"/>'
|
|
9166
|
-
),
|
|
9167
|
-
completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
|
|
9139
|
+
styleTagResourceClose = stringToPrecomputedChunk("</style>");
|
|
9140
|
+
stringToPrecomputedChunk('<link rel="expect" href="#');
|
|
9141
|
+
stringToPrecomputedChunk('" blocking="render"/>');
|
|
9142
|
+
var completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
|
|
9168
9143
|
arrayFirstOpenBracket = stringToPrecomputedChunk("["),
|
|
9169
9144
|
arraySubsequentOpenBracket = stringToPrecomputedChunk(",["),
|
|
9170
9145
|
arrayInterstitial = stringToPrecomputedChunk(","),
|
|
@@ -9563,5 +9538,5 @@
|
|
|
9563
9538
|
startWork(request);
|
|
9564
9539
|
});
|
|
9565
9540
|
};
|
|
9566
|
-
exports.version = "19.2.0-canary-
|
|
9541
|
+
exports.version = "19.2.0-canary-b94603b9-20250513";
|
|
9567
9542
|
})();
|
|
@@ -2663,22 +2663,9 @@ function preloadLateStyles(styleQueue) {
|
|
|
2663
2663
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
|
2664
2664
|
styleQueue.sheets.clear();
|
|
2665
2665
|
}
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
blockingRenderChunkEnd = stringToPrecomputedChunk('" blocking="render"/>'),
|
|
2670
|
-
completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
|
|
2671
|
-
function writeCompletedShellIdAttribute(destination, resumableState) {
|
|
2672
|
-
0 === (resumableState.instructions & 32) &&
|
|
2673
|
-
((resumableState.instructions |= 32),
|
|
2674
|
-
(resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
|
2675
|
-
writeChunk(destination, completedShellIdAttributeStart),
|
|
2676
|
-
writeChunk(
|
|
2677
|
-
destination,
|
|
2678
|
-
stringToChunk(escapeTextForBrowser(resumableState))
|
|
2679
|
-
),
|
|
2680
|
-
writeChunk(destination, attributeEnd));
|
|
2681
|
-
}
|
|
2666
|
+
stringToPrecomputedChunk('<link rel="expect" href="#');
|
|
2667
|
+
stringToPrecomputedChunk('" blocking="render"/>');
|
|
2668
|
+
var completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
|
|
2682
2669
|
function pushCompletedShellIdAttribute(target, resumableState) {
|
|
2683
2670
|
0 === (resumableState.instructions & 32) &&
|
|
2684
2671
|
((resumableState.instructions |= 32),
|
|
@@ -6027,8 +6014,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6027
6014
|
var completedPreambleSegments = request.completedPreambleSegments;
|
|
6028
6015
|
if (null === completedPreambleSegments) return;
|
|
6029
6016
|
flushedByteSize = request.byteSize;
|
|
6030
|
-
var
|
|
6031
|
-
renderState = request.renderState,
|
|
6017
|
+
var renderState = request.renderState,
|
|
6032
6018
|
preamble = renderState.preamble,
|
|
6033
6019
|
htmlChunks = preamble.htmlChunks,
|
|
6034
6020
|
headChunks = preamble.headChunks,
|
|
@@ -6069,23 +6055,17 @@ function flushCompletedQueues(request, destination) {
|
|
|
6069
6055
|
renderState.scripts.clear();
|
|
6070
6056
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
|
6071
6057
|
renderState.bulkPreloads.clear();
|
|
6072
|
-
if (htmlChunks || headChunks) {
|
|
6073
|
-
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
6074
|
-
writeChunk(destination, blockingRenderChunkStart);
|
|
6075
|
-
writeChunk(destination, stringToChunk(escapeTextForBrowser(shellId)));
|
|
6076
|
-
writeChunk(destination, blockingRenderChunkEnd);
|
|
6077
|
-
}
|
|
6078
6058
|
var hoistableChunks = renderState.hoistableChunks;
|
|
6079
6059
|
for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
|
|
6080
6060
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
|
6081
6061
|
for (
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6062
|
+
renderState = hoistableChunks.length = 0;
|
|
6063
|
+
renderState < completedPreambleSegments.length;
|
|
6064
|
+
renderState++
|
|
6085
6065
|
) {
|
|
6086
|
-
var segments = completedPreambleSegments[
|
|
6087
|
-
for (
|
|
6088
|
-
flushSegment(request, destination, segments[
|
|
6066
|
+
var segments = completedPreambleSegments[renderState];
|
|
6067
|
+
for (preamble = 0; preamble < segments.length; preamble++)
|
|
6068
|
+
flushSegment(request, destination, segments[preamble], null);
|
|
6089
6069
|
}
|
|
6090
6070
|
var preamble$jscomp$0 = request.renderState.preamble,
|
|
6091
6071
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
|
@@ -6101,28 +6081,34 @@ function flushCompletedQueues(request, destination) {
|
|
|
6101
6081
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
|
6102
6082
|
flushSegment(request, destination, completedRootSegment, null);
|
|
6103
6083
|
request.completedRootSegment = null;
|
|
6104
|
-
var
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
0
|
|
6108
|
-
0
|
|
6109
|
-
(null
|
|
6110
|
-
(0
|
|
6111
|
-
null
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6084
|
+
var renderState$jscomp$0 = request.renderState;
|
|
6085
|
+
if (
|
|
6086
|
+
0 !== request.allPendingTasks ||
|
|
6087
|
+
0 !== request.clientRenderedBoundaries.length ||
|
|
6088
|
+
0 !== request.completedBoundaries.length ||
|
|
6089
|
+
(null !== request.trackedPostpones &&
|
|
6090
|
+
(0 !== request.trackedPostpones.rootNodes.length ||
|
|
6091
|
+
null !== request.trackedPostpones.rootSlots))
|
|
6092
|
+
) {
|
|
6093
|
+
var resumableState = request.resumableState;
|
|
6094
|
+
if (0 === (resumableState.instructions & 64)) {
|
|
6095
|
+
resumableState.instructions |= 64;
|
|
6096
|
+
writeChunk(destination, renderState$jscomp$0.startInlineScript);
|
|
6097
|
+
if (0 === (resumableState.instructions & 32)) {
|
|
6098
|
+
resumableState.instructions |= 32;
|
|
6099
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
6100
|
+
writeChunk(destination, completedShellIdAttributeStart);
|
|
6101
|
+
writeChunk(
|
|
6102
|
+
destination,
|
|
6103
|
+
stringToChunk(escapeTextForBrowser(shellId))
|
|
6104
|
+
);
|
|
6105
|
+
writeChunk(destination, attributeEnd);
|
|
6106
|
+
}
|
|
6107
|
+
writeChunk(destination, endOfStartTag);
|
|
6108
|
+
writeChunk(destination, shellTimeRuntimeScript);
|
|
6109
|
+
writeChunkAndReturn(destination, endInlineScript);
|
|
6110
|
+
}
|
|
6111
|
+
}
|
|
6126
6112
|
writeBootstrap(destination, renderState$jscomp$0);
|
|
6127
6113
|
}
|
|
6128
6114
|
var renderState$jscomp$1 = request.renderState;
|
|
@@ -6161,7 +6147,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6161
6147
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
|
6162
6148
|
var boundary = clientRenderedBoundaries[i];
|
|
6163
6149
|
renderState$jscomp$1 = destination;
|
|
6164
|
-
var resumableState$jscomp$
|
|
6150
|
+
var resumableState$jscomp$0 = request.resumableState,
|
|
6165
6151
|
renderState$jscomp$2 = request.renderState,
|
|
6166
6152
|
id = boundary.rootSegmentID,
|
|
6167
6153
|
errorDigest = boundary.errorDigest;
|
|
@@ -6170,8 +6156,8 @@ function flushCompletedQueues(request, destination) {
|
|
|
6170
6156
|
renderState$jscomp$2.startInlineScript
|
|
6171
6157
|
);
|
|
6172
6158
|
writeChunk(renderState$jscomp$1, endOfStartTag);
|
|
6173
|
-
0 === (resumableState$jscomp$
|
|
6174
|
-
? ((resumableState$jscomp$
|
|
6159
|
+
0 === (resumableState$jscomp$0.instructions & 4)
|
|
6160
|
+
? ((resumableState$jscomp$0.instructions |= 4),
|
|
6175
6161
|
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
|
6176
6162
|
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
|
6177
6163
|
writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
|
|
@@ -6342,12 +6328,12 @@ function abort(request, reason) {
|
|
|
6342
6328
|
}
|
|
6343
6329
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6344
6330
|
var isomorphicReactPackageVersion = React.version;
|
|
6345
|
-
if ("19.2.0-canary-
|
|
6331
|
+
if ("19.2.0-canary-b94603b9-20250513" !== isomorphicReactPackageVersion)
|
|
6346
6332
|
throw Error(
|
|
6347
6333
|
formatProdErrorMessage(
|
|
6348
6334
|
527,
|
|
6349
6335
|
isomorphicReactPackageVersion,
|
|
6350
|
-
"19.2.0-canary-
|
|
6336
|
+
"19.2.0-canary-b94603b9-20250513"
|
|
6351
6337
|
)
|
|
6352
6338
|
);
|
|
6353
6339
|
}
|
|
@@ -6494,4 +6480,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
6494
6480
|
startWork(request);
|
|
6495
6481
|
});
|
|
6496
6482
|
};
|
|
6497
|
-
exports.version = "19.2.0-canary-
|
|
6483
|
+
exports.version = "19.2.0-canary-b94603b9-20250513";
|
|
@@ -4021,17 +4021,7 @@ function preloadLateStyles(styleQueue) {
|
|
|
4021
4021
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
|
4022
4022
|
styleQueue.sheets.clear();
|
|
4023
4023
|
}
|
|
4024
|
-
var
|
|
4025
|
-
blockingRenderChunkEnd = '" blocking="render"/>',
|
|
4026
|
-
completedShellIdAttributeStart = ' id="';
|
|
4027
|
-
function writeCompletedShellIdAttribute(destination, resumableState) {
|
|
4028
|
-
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
|
4029
|
-
((resumableState.instructions |= SentCompletedShellId),
|
|
4030
|
-
(resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
|
4031
|
-
writeChunk(destination, completedShellIdAttributeStart),
|
|
4032
|
-
writeChunk(destination, escapeTextForBrowser(resumableState)),
|
|
4033
|
-
writeChunk(destination, attributeEnd));
|
|
4034
|
-
}
|
|
4024
|
+
var completedShellIdAttributeStart = ' id="';
|
|
4035
4025
|
function pushCompletedShellIdAttribute(target, resumableState) {
|
|
4036
4026
|
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
|
4037
4027
|
((resumableState.instructions |= SentCompletedShellId),
|
|
@@ -8413,8 +8403,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8413
8403
|
var completedPreambleSegments = request.completedPreambleSegments;
|
|
8414
8404
|
if (null === completedPreambleSegments) return;
|
|
8415
8405
|
flushedByteSize = request.byteSize;
|
|
8416
|
-
var
|
|
8417
|
-
renderState = request.renderState,
|
|
8406
|
+
var renderState = request.renderState,
|
|
8418
8407
|
preamble = renderState.preamble,
|
|
8419
8408
|
htmlChunks = preamble.htmlChunks,
|
|
8420
8409
|
headChunks = preamble.headChunks,
|
|
@@ -8455,23 +8444,17 @@ function flushCompletedQueues(request, destination) {
|
|
|
8455
8444
|
renderState.scripts.clear();
|
|
8456
8445
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
|
8457
8446
|
renderState.bulkPreloads.clear();
|
|
8458
|
-
if (htmlChunks || headChunks) {
|
|
8459
|
-
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
8460
|
-
writeChunk(destination, blockingRenderChunkStart);
|
|
8461
|
-
writeChunk(destination, escapeTextForBrowser(shellId));
|
|
8462
|
-
writeChunk(destination, blockingRenderChunkEnd);
|
|
8463
|
-
}
|
|
8464
8447
|
var hoistableChunks = renderState.hoistableChunks;
|
|
8465
8448
|
for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
|
|
8466
8449
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
|
8467
8450
|
for (
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8451
|
+
renderState = hoistableChunks.length = 0;
|
|
8452
|
+
renderState < completedPreambleSegments.length;
|
|
8453
|
+
renderState++
|
|
8471
8454
|
) {
|
|
8472
|
-
var segments = completedPreambleSegments[
|
|
8473
|
-
for (
|
|
8474
|
-
flushSegment(request, destination, segments[
|
|
8455
|
+
var segments = completedPreambleSegments[renderState];
|
|
8456
|
+
for (preamble = 0; preamble < segments.length; preamble++)
|
|
8457
|
+
flushSegment(request, destination, segments[preamble], null);
|
|
8475
8458
|
}
|
|
8476
8459
|
var preamble$jscomp$0 = request.renderState.preamble,
|
|
8477
8460
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
|
@@ -8487,30 +8470,37 @@ function flushCompletedQueues(request, destination) {
|
|
|
8487
8470
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
|
8488
8471
|
flushSegment(request, destination, completedRootSegment, null);
|
|
8489
8472
|
request.completedRootSegment = null;
|
|
8490
|
-
var
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
0
|
|
8494
|
-
0
|
|
8495
|
-
(null
|
|
8496
|
-
(0
|
|
8497
|
-
null
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
(
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8473
|
+
var renderState$jscomp$0 = request.renderState;
|
|
8474
|
+
if (
|
|
8475
|
+
0 !== request.allPendingTasks ||
|
|
8476
|
+
0 !== request.clientRenderedBoundaries.length ||
|
|
8477
|
+
0 !== request.completedBoundaries.length ||
|
|
8478
|
+
(null !== request.trackedPostpones &&
|
|
8479
|
+
(0 !== request.trackedPostpones.rootNodes.length ||
|
|
8480
|
+
null !== request.trackedPostpones.rootSlots))
|
|
8481
|
+
) {
|
|
8482
|
+
var resumableState = request.resumableState;
|
|
8483
|
+
if (
|
|
8484
|
+
(resumableState.instructions & SentMarkShellTime) ===
|
|
8485
|
+
NothingSent
|
|
8486
|
+
) {
|
|
8487
|
+
resumableState.instructions |= SentMarkShellTime;
|
|
8488
|
+
writeChunk(destination, renderState$jscomp$0.startInlineScript);
|
|
8489
|
+
if (
|
|
8490
|
+
(resumableState.instructions & SentCompletedShellId) ===
|
|
8491
|
+
NothingSent
|
|
8492
|
+
) {
|
|
8493
|
+
resumableState.instructions |= SentCompletedShellId;
|
|
8494
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
|
8495
|
+
writeChunk(destination, completedShellIdAttributeStart);
|
|
8496
|
+
writeChunk(destination, escapeTextForBrowser(shellId));
|
|
8497
|
+
writeChunk(destination, attributeEnd);
|
|
8498
|
+
}
|
|
8499
|
+
writeChunk(destination, endOfStartTag);
|
|
8500
|
+
writeChunk(destination, shellTimeRuntimeScript);
|
|
8501
|
+
destination.write(endInlineScript);
|
|
8502
|
+
}
|
|
8503
|
+
}
|
|
8514
8504
|
writeBootstrap(destination, renderState$jscomp$0);
|
|
8515
8505
|
}
|
|
8516
8506
|
var renderState$jscomp$1 = request.renderState;
|
|
@@ -8549,7 +8539,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8549
8539
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
|
8550
8540
|
var boundary = clientRenderedBoundaries[i];
|
|
8551
8541
|
renderState$jscomp$1 = destination;
|
|
8552
|
-
var resumableState$jscomp$
|
|
8542
|
+
var resumableState$jscomp$0 = request.resumableState,
|
|
8553
8543
|
renderState$jscomp$2 = request.renderState,
|
|
8554
8544
|
id = boundary.rootSegmentID,
|
|
8555
8545
|
errorDigest = boundary.errorDigest,
|
|
@@ -8561,9 +8551,9 @@ function flushCompletedQueues(request, destination) {
|
|
|
8561
8551
|
renderState$jscomp$2.startInlineScript
|
|
8562
8552
|
);
|
|
8563
8553
|
writeChunk(renderState$jscomp$1, endOfStartTag);
|
|
8564
|
-
(resumableState$jscomp$
|
|
8554
|
+
(resumableState$jscomp$0.instructions & SentClientRenderFunction) ===
|
|
8565
8555
|
NothingSent
|
|
8566
|
-
? ((resumableState$jscomp$
|
|
8556
|
+
? ((resumableState$jscomp$0.instructions |= SentClientRenderFunction),
|
|
8567
8557
|
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
|
8568
8558
|
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
|
8569
8559
|
writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
|
|
@@ -8747,15 +8737,15 @@ function abort(request, reason) {
|
|
|
8747
8737
|
fatalError(request, error$4, reason, null);
|
|
8748
8738
|
}
|
|
8749
8739
|
}
|
|
8750
|
-
var isomorphicReactPackageVersion$jscomp$
|
|
8740
|
+
var isomorphicReactPackageVersion$jscomp$inline_747 = React.version;
|
|
8751
8741
|
if (
|
|
8752
|
-
"19.2.0-canary-
|
|
8753
|
-
isomorphicReactPackageVersion$jscomp$
|
|
8742
|
+
"19.2.0-canary-b94603b9-20250513" !==
|
|
8743
|
+
isomorphicReactPackageVersion$jscomp$inline_747
|
|
8754
8744
|
)
|
|
8755
8745
|
throw Error(
|
|
8756
8746
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8757
|
-
(isomorphicReactPackageVersion$jscomp$
|
|
8758
|
-
"\n - react-dom: 19.2.0-canary-
|
|
8747
|
+
(isomorphicReactPackageVersion$jscomp$inline_747 +
|
|
8748
|
+
"\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8759
8749
|
);
|
|
8760
8750
|
exports.renderToReadableStream = function (children, options) {
|
|
8761
8751
|
return new Promise(function (resolve, reject) {
|
|
@@ -8848,4 +8838,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
8848
8838
|
startWork(request$jscomp$0);
|
|
8849
8839
|
});
|
|
8850
8840
|
};
|
|
8851
|
-
exports.version = "19.2.0-canary-
|
|
8841
|
+
exports.version = "19.2.0-canary-b94603b9-20250513";
|