react-dom 19.2.0-canary-f9ae0a4c-20250527 → 19.2.0-canary-14094f80-20250529
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 +6 -6
- package/cjs/react-dom-client.production.js +6 -6
- package/cjs/react-dom-profiling.development.js +6 -6
- package/cjs/react-dom-profiling.profiling.js +6 -6
- package/cjs/react-dom-server-legacy.browser.development.js +74 -46
- package/cjs/react-dom-server-legacy.browser.production.js +75 -64
- package/cjs/react-dom-server-legacy.node.development.js +74 -46
- package/cjs/react-dom-server-legacy.node.production.js +75 -64
- package/cjs/react-dom-server.browser.development.js +180 -152
- package/cjs/react-dom-server.browser.production.js +171 -155
- package/cjs/react-dom-server.bun.development.js +172 -145
- package/cjs/react-dom-server.bun.production.js +163 -152
- package/cjs/react-dom-server.edge.development.js +180 -152
- package/cjs/react-dom-server.edge.production.js +171 -155
- package/cjs/react-dom-server.node.development.js +177 -149
- package/cjs/react-dom-server.node.production.js +166 -152
- 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
@@ -355,7 +355,8 @@ ReactDOMSharedInternals.d = {
|
|
355
355
|
S: preinitStyle,
|
356
356
|
M: preinitModuleScript
|
357
357
|
};
|
358
|
-
var PRELOAD_NO_CREDS = []
|
358
|
+
var PRELOAD_NO_CREDS = [],
|
359
|
+
currentlyFlushingRenderState = null;
|
359
360
|
stringToPrecomputedChunk('"></template>');
|
360
361
|
var startInlineScript = stringToPrecomputedChunk("<script"),
|
361
362
|
endInlineScript = stringToPrecomputedChunk("\x3c/script>"),
|
@@ -365,6 +366,7 @@ var startInlineScript = stringToPrecomputedChunk("<script"),
|
|
365
366
|
scriptIntegirty = stringToPrecomputedChunk(' integrity="'),
|
366
367
|
scriptCrossOrigin = stringToPrecomputedChunk(' crossorigin="'),
|
367
368
|
endAsyncScript = stringToPrecomputedChunk(' async="">\x3c/script>'),
|
369
|
+
startInlineStyle = stringToPrecomputedChunk("<style"),
|
368
370
|
scriptRegex = /(<\/|<)(s)(cript)/gi;
|
369
371
|
function scriptReplacer(match, prefix, s, suffix) {
|
370
372
|
return "" + prefix + ("s" === s ? "\\u0073" : "\\u0053") + suffix;
|
@@ -381,21 +383,32 @@ function createRenderState(
|
|
381
383
|
onHeaders,
|
382
384
|
maxHeadersLength
|
383
385
|
) {
|
386
|
+
externalRuntimeConfig =
|
387
|
+
"string" === typeof nonce ? nonce : nonce && nonce.script;
|
384
388
|
var inlineScriptWithNonce =
|
385
|
-
void 0 ===
|
389
|
+
void 0 === externalRuntimeConfig
|
386
390
|
? startInlineScript
|
387
391
|
: stringToPrecomputedChunk(
|
388
|
-
'<script nonce="' +
|
392
|
+
'<script nonce="' +
|
393
|
+
escapeTextForBrowser(externalRuntimeConfig) +
|
394
|
+
'"'
|
389
395
|
),
|
390
|
-
|
391
|
-
|
392
|
-
|
396
|
+
nonceStyle = "string" === typeof nonce ? void 0 : nonce && nonce.style,
|
397
|
+
inlineStyleWithNonce =
|
398
|
+
void 0 === nonceStyle
|
399
|
+
? startInlineStyle
|
400
|
+
: stringToPrecomputedChunk(
|
401
|
+
'<style nonce="' + escapeTextForBrowser(nonceStyle) + '"'
|
402
|
+
),
|
403
|
+
idPrefix = resumableState.idPrefix,
|
404
|
+
bootstrapChunks = [],
|
405
|
+
bootstrapScriptContent = resumableState.bootstrapScriptContent,
|
393
406
|
bootstrapScripts = resumableState.bootstrapScripts,
|
394
407
|
bootstrapModules = resumableState.bootstrapModules;
|
395
408
|
void 0 !== bootstrapScriptContent &&
|
396
|
-
(
|
397
|
-
pushCompletedShellIdAttribute(
|
398
|
-
|
409
|
+
(bootstrapChunks.push(inlineScriptWithNonce),
|
410
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
411
|
+
bootstrapChunks.push(
|
399
412
|
endOfStartTag,
|
400
413
|
stringToChunk(
|
401
414
|
("" + bootstrapScriptContent).replace(scriptRegex, scriptReplacer)
|
@@ -425,9 +438,10 @@ function createRenderState(
|
|
425
438
|
segmentPrefix: stringToPrecomputedChunk(idPrefix + "S:"),
|
426
439
|
boundaryPrefix: stringToPrecomputedChunk(idPrefix + "B:"),
|
427
440
|
startInlineScript: inlineScriptWithNonce,
|
441
|
+
startInlineStyle: inlineStyleWithNonce,
|
428
442
|
preamble: createPreambleState(),
|
429
443
|
externalRuntimeScript: null,
|
430
|
-
bootstrapChunks:
|
444
|
+
bootstrapChunks: bootstrapChunks,
|
431
445
|
importMapChunks: bootstrapScriptContent,
|
432
446
|
onHeaders: onHeaders,
|
433
447
|
headers: importMap,
|
@@ -454,125 +468,119 @@ function createRenderState(
|
|
454
468
|
scripts: new Map(),
|
455
469
|
moduleScripts: new Map()
|
456
470
|
},
|
457
|
-
nonce:
|
471
|
+
nonce: { script: externalRuntimeConfig, style: nonceStyle },
|
458
472
|
hoistableState: null,
|
459
473
|
stylesToHoist: !1
|
460
474
|
};
|
461
475
|
if (void 0 !== bootstrapScripts)
|
462
|
-
for (importMap = 0; importMap < bootstrapScripts.length; importMap++)
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
attributeEnd
|
495
|
-
);
|
496
|
-
nonce &&
|
497
|
-
externalRuntimeConfig.push(
|
498
|
-
scriptNonce,
|
499
|
-
stringToChunk(escapeTextForBrowser(nonce)),
|
500
|
-
attributeEnd
|
501
|
-
);
|
502
|
-
"string" === typeof idPrefix &&
|
503
|
-
externalRuntimeConfig.push(
|
504
|
-
scriptIntegirty,
|
505
|
-
stringToChunk(escapeTextForBrowser(idPrefix)),
|
506
|
-
attributeEnd
|
507
|
-
);
|
508
|
-
"string" === typeof inlineScriptWithNonce &&
|
509
|
-
externalRuntimeConfig.push(
|
510
|
-
scriptCrossOrigin,
|
511
|
-
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce)),
|
476
|
+
for (importMap = 0; importMap < bootstrapScripts.length; importMap++)
|
477
|
+
(idPrefix = bootstrapScripts[importMap]),
|
478
|
+
(nonceStyle = inlineScriptWithNonce = void 0),
|
479
|
+
(inlineStyleWithNonce = {
|
480
|
+
rel: "preload",
|
481
|
+
as: "script",
|
482
|
+
fetchPriority: "low",
|
483
|
+
nonce: nonce
|
484
|
+
}),
|
485
|
+
"string" === typeof idPrefix
|
486
|
+
? (inlineStyleWithNonce.href = maxHeadersLength = idPrefix)
|
487
|
+
: ((inlineStyleWithNonce.href = maxHeadersLength = idPrefix.src),
|
488
|
+
(inlineStyleWithNonce.integrity = nonceStyle =
|
489
|
+
"string" === typeof idPrefix.integrity
|
490
|
+
? idPrefix.integrity
|
491
|
+
: void 0),
|
492
|
+
(inlineStyleWithNonce.crossOrigin = inlineScriptWithNonce =
|
493
|
+
"string" === typeof idPrefix || null == idPrefix.crossOrigin
|
494
|
+
? void 0
|
495
|
+
: "use-credentials" === idPrefix.crossOrigin
|
496
|
+
? "use-credentials"
|
497
|
+
: "")),
|
498
|
+
(idPrefix = resumableState),
|
499
|
+
(bootstrapScriptContent = maxHeadersLength),
|
500
|
+
(idPrefix.scriptResources[bootstrapScriptContent] = null),
|
501
|
+
(idPrefix.moduleScriptResources[bootstrapScriptContent] = null),
|
502
|
+
(idPrefix = []),
|
503
|
+
pushLinkImpl(idPrefix, inlineStyleWithNonce),
|
504
|
+
onHeaders.bootstrapScripts.add(idPrefix),
|
505
|
+
bootstrapChunks.push(
|
506
|
+
startScriptSrc,
|
507
|
+
stringToChunk(escapeTextForBrowser(maxHeadersLength)),
|
512
508
|
attributeEnd
|
513
|
-
)
|
514
|
-
|
515
|
-
|
516
|
-
|
509
|
+
),
|
510
|
+
externalRuntimeConfig &&
|
511
|
+
bootstrapChunks.push(
|
512
|
+
scriptNonce,
|
513
|
+
stringToChunk(escapeTextForBrowser(externalRuntimeConfig)),
|
514
|
+
attributeEnd
|
515
|
+
),
|
516
|
+
"string" === typeof nonceStyle &&
|
517
|
+
bootstrapChunks.push(
|
518
|
+
scriptIntegirty,
|
519
|
+
stringToChunk(escapeTextForBrowser(nonceStyle)),
|
520
|
+
attributeEnd
|
521
|
+
),
|
522
|
+
"string" === typeof inlineScriptWithNonce &&
|
523
|
+
bootstrapChunks.push(
|
524
|
+
scriptCrossOrigin,
|
525
|
+
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce)),
|
526
|
+
attributeEnd
|
527
|
+
),
|
528
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
529
|
+
bootstrapChunks.push(endAsyncScript);
|
517
530
|
if (void 0 !== bootstrapModules)
|
518
|
-
for (
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
)
|
523
|
-
(bootstrapScriptContent = bootstrapModules[bootstrapScripts]),
|
524
|
-
(inlineScriptWithNonce = maxHeadersLength = void 0),
|
525
|
-
(idPrefix = {
|
531
|
+
for (nonce = 0; nonce < bootstrapModules.length; nonce++)
|
532
|
+
(nonceStyle = bootstrapModules[nonce]),
|
533
|
+
(maxHeadersLength = importMap = void 0),
|
534
|
+
(inlineScriptWithNonce = {
|
526
535
|
rel: "modulepreload",
|
527
536
|
fetchPriority: "low",
|
528
|
-
nonce:
|
537
|
+
nonce: externalRuntimeConfig
|
529
538
|
}),
|
530
|
-
"string" === typeof
|
531
|
-
? (
|
532
|
-
: ((
|
533
|
-
(
|
534
|
-
"string" === typeof
|
535
|
-
?
|
539
|
+
"string" === typeof nonceStyle
|
540
|
+
? (inlineScriptWithNonce.href = bootstrapScripts = nonceStyle)
|
541
|
+
: ((inlineScriptWithNonce.href = bootstrapScripts = nonceStyle.src),
|
542
|
+
(inlineScriptWithNonce.integrity = maxHeadersLength =
|
543
|
+
"string" === typeof nonceStyle.integrity
|
544
|
+
? nonceStyle.integrity
|
536
545
|
: void 0),
|
537
|
-
(
|
538
|
-
"string" === typeof
|
539
|
-
null == bootstrapScriptContent.crossOrigin
|
546
|
+
(inlineScriptWithNonce.crossOrigin = importMap =
|
547
|
+
"string" === typeof nonceStyle || null == nonceStyle.crossOrigin
|
540
548
|
? void 0
|
541
|
-
: "use-credentials" ===
|
549
|
+
: "use-credentials" === nonceStyle.crossOrigin
|
542
550
|
? "use-credentials"
|
543
551
|
: "")),
|
544
|
-
(
|
545
|
-
(
|
546
|
-
(
|
547
|
-
(
|
548
|
-
(
|
549
|
-
pushLinkImpl(
|
550
|
-
onHeaders.bootstrapScripts.add(
|
551
|
-
|
552
|
+
(nonceStyle = resumableState),
|
553
|
+
(inlineStyleWithNonce = bootstrapScripts),
|
554
|
+
(nonceStyle.scriptResources[inlineStyleWithNonce] = null),
|
555
|
+
(nonceStyle.moduleScriptResources[inlineStyleWithNonce] = null),
|
556
|
+
(nonceStyle = []),
|
557
|
+
pushLinkImpl(nonceStyle, inlineScriptWithNonce),
|
558
|
+
onHeaders.bootstrapScripts.add(nonceStyle),
|
559
|
+
bootstrapChunks.push(
|
552
560
|
startModuleSrc,
|
553
|
-
stringToChunk(escapeTextForBrowser(
|
561
|
+
stringToChunk(escapeTextForBrowser(bootstrapScripts)),
|
554
562
|
attributeEnd
|
555
563
|
),
|
556
|
-
|
557
|
-
|
564
|
+
externalRuntimeConfig &&
|
565
|
+
bootstrapChunks.push(
|
558
566
|
scriptNonce,
|
559
|
-
stringToChunk(escapeTextForBrowser(
|
567
|
+
stringToChunk(escapeTextForBrowser(externalRuntimeConfig)),
|
560
568
|
attributeEnd
|
561
569
|
),
|
562
|
-
"string" === typeof
|
563
|
-
|
570
|
+
"string" === typeof maxHeadersLength &&
|
571
|
+
bootstrapChunks.push(
|
564
572
|
scriptIntegirty,
|
565
|
-
stringToChunk(escapeTextForBrowser(
|
573
|
+
stringToChunk(escapeTextForBrowser(maxHeadersLength)),
|
566
574
|
attributeEnd
|
567
575
|
),
|
568
|
-
"string" === typeof
|
569
|
-
|
576
|
+
"string" === typeof importMap &&
|
577
|
+
bootstrapChunks.push(
|
570
578
|
scriptCrossOrigin,
|
571
|
-
stringToChunk(escapeTextForBrowser(
|
579
|
+
stringToChunk(escapeTextForBrowser(importMap)),
|
572
580
|
attributeEnd
|
573
581
|
),
|
574
|
-
pushCompletedShellIdAttribute(
|
575
|
-
|
582
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
583
|
+
bootstrapChunks.push(endAsyncScript);
|
576
584
|
return onHeaders;
|
577
585
|
}
|
578
586
|
function createResumableState(
|
@@ -1949,7 +1957,8 @@ function pushStartInstance(
|
|
1949
1957
|
case "style":
|
1950
1958
|
var noscriptTagInScope$jscomp$2 = formatContext.tagScope & 1,
|
1951
1959
|
precedence$jscomp$0 = props.precedence,
|
1952
|
-
href$jscomp$0 = props.href
|
1960
|
+
href$jscomp$0 = props.href,
|
1961
|
+
nonce = props.nonce;
|
1953
1962
|
if (
|
1954
1963
|
4 === formatContext.insertionMode ||
|
1955
1964
|
noscriptTagInScope$jscomp$2 ||
|
@@ -2006,50 +2015,53 @@ function pushStartInstance(
|
|
2006
2015
|
: void 0)
|
2007
2016
|
) {
|
2008
2017
|
resumableState.styleResources[href$jscomp$0] = null;
|
2009
|
-
styleQueue$jscomp$0
|
2010
|
-
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
2018
|
-
|
2019
|
-
|
2020
|
-
|
2021
|
-
|
2022
|
-
|
2023
|
-
children$jscomp$7 = null,
|
2024
|
-
innerHTML$jscomp$6 = null,
|
2025
|
-
propKey$jscomp$9;
|
2026
|
-
for (propKey$jscomp$9 in props)
|
2027
|
-
if (hasOwnProperty.call(props, propKey$jscomp$9)) {
|
2028
|
-
var propValue$jscomp$9 = props[propKey$jscomp$9];
|
2029
|
-
if (null != propValue$jscomp$9)
|
2030
|
-
switch (propKey$jscomp$9) {
|
2031
|
-
case "children":
|
2032
|
-
children$jscomp$7 = propValue$jscomp$9;
|
2033
|
-
break;
|
2034
|
-
case "dangerouslySetInnerHTML":
|
2035
|
-
innerHTML$jscomp$6 = propValue$jscomp$9;
|
2036
|
-
}
|
2037
|
-
}
|
2038
|
-
var child$jscomp$0 = Array.isArray(children$jscomp$7)
|
2039
|
-
? 2 > children$jscomp$7.length
|
2040
|
-
? children$jscomp$7[0]
|
2041
|
-
: null
|
2042
|
-
: children$jscomp$7;
|
2043
|
-
"function" !== typeof child$jscomp$0 &&
|
2044
|
-
"symbol" !== typeof child$jscomp$0 &&
|
2045
|
-
null !== child$jscomp$0 &&
|
2046
|
-
void 0 !== child$jscomp$0 &&
|
2047
|
-
target.push(
|
2048
|
-
stringToChunk(
|
2049
|
-
("" + child$jscomp$0).replace(styleRegex, styleReplacer)
|
2050
|
-
)
|
2018
|
+
styleQueue$jscomp$0 ||
|
2019
|
+
((styleQueue$jscomp$0 = {
|
2020
|
+
precedence: stringToChunk(
|
2021
|
+
escapeTextForBrowser(precedence$jscomp$0)
|
2022
|
+
),
|
2023
|
+
rules: [],
|
2024
|
+
hrefs: [],
|
2025
|
+
sheets: new Map()
|
2026
|
+
}),
|
2027
|
+
renderState.styles.set(precedence$jscomp$0, styleQueue$jscomp$0));
|
2028
|
+
var nonceStyle = renderState.nonce.style;
|
2029
|
+
if (!nonceStyle || nonceStyle === nonce) {
|
2030
|
+
styleQueue$jscomp$0.hrefs.push(
|
2031
|
+
stringToChunk(escapeTextForBrowser(href$jscomp$0))
|
2051
2032
|
);
|
2052
|
-
|
2033
|
+
var target = styleQueue$jscomp$0.rules,
|
2034
|
+
children$jscomp$7 = null,
|
2035
|
+
innerHTML$jscomp$6 = null,
|
2036
|
+
propKey$jscomp$9;
|
2037
|
+
for (propKey$jscomp$9 in props)
|
2038
|
+
if (hasOwnProperty.call(props, propKey$jscomp$9)) {
|
2039
|
+
var propValue$jscomp$9 = props[propKey$jscomp$9];
|
2040
|
+
if (null != propValue$jscomp$9)
|
2041
|
+
switch (propKey$jscomp$9) {
|
2042
|
+
case "children":
|
2043
|
+
children$jscomp$7 = propValue$jscomp$9;
|
2044
|
+
break;
|
2045
|
+
case "dangerouslySetInnerHTML":
|
2046
|
+
innerHTML$jscomp$6 = propValue$jscomp$9;
|
2047
|
+
}
|
2048
|
+
}
|
2049
|
+
var child$jscomp$0 = Array.isArray(children$jscomp$7)
|
2050
|
+
? 2 > children$jscomp$7.length
|
2051
|
+
? children$jscomp$7[0]
|
2052
|
+
: null
|
2053
|
+
: children$jscomp$7;
|
2054
|
+
"function" !== typeof child$jscomp$0 &&
|
2055
|
+
"symbol" !== typeof child$jscomp$0 &&
|
2056
|
+
null !== child$jscomp$0 &&
|
2057
|
+
void 0 !== child$jscomp$0 &&
|
2058
|
+
target.push(
|
2059
|
+
stringToChunk(
|
2060
|
+
("" + child$jscomp$0).replace(styleRegex, styleReplacer)
|
2061
|
+
)
|
2062
|
+
);
|
2063
|
+
pushInnerHTML(target, innerHTML$jscomp$6, children$jscomp$7);
|
2064
|
+
}
|
2053
2065
|
}
|
2054
2066
|
styleQueue$jscomp$0 &&
|
2055
2067
|
hoistableState &&
|
@@ -2615,7 +2627,7 @@ function escapeJSObjectForInstructionScripts(input) {
|
|
2615
2627
|
);
|
2616
2628
|
}
|
2617
2629
|
var lateStyleTagResourceOpen1 = stringToPrecomputedChunk(
|
2618
|
-
'
|
2630
|
+
' media="not all" data-precedence="'
|
2619
2631
|
),
|
2620
2632
|
lateStyleTagResourceOpen2 = stringToPrecomputedChunk('" data-href="'),
|
2621
2633
|
lateStyleTagResourceOpen3 = stringToPrecomputedChunk('">'),
|
@@ -2627,6 +2639,7 @@ function flushStyleTagsLateForBoundary(styleQueue) {
|
|
2627
2639
|
hrefs = styleQueue.hrefs,
|
2628
2640
|
i = 0;
|
2629
2641
|
if (hrefs.length) {
|
2642
|
+
writeChunk(this, currentlyFlushingRenderState.startInlineStyle);
|
2630
2643
|
writeChunk(this, lateStyleTagResourceOpen1);
|
2631
2644
|
writeChunk(this, styleQueue.precedence);
|
2632
2645
|
for (writeChunk(this, lateStyleTagResourceOpen2); i < hrefs.length - 1; i++)
|
@@ -2651,7 +2664,9 @@ function hasStylesToHoist(stylesheet) {
|
|
2651
2664
|
function writeHoistablesForBoundary(destination, hoistableState, renderState) {
|
2652
2665
|
currentlyRenderingBoundaryHasStylesToHoist = !1;
|
2653
2666
|
destinationHasCapacity = !0;
|
2667
|
+
currentlyFlushingRenderState = renderState;
|
2654
2668
|
hoistableState.styles.forEach(flushStyleTagsLateForBoundary, destination);
|
2669
|
+
currentlyFlushingRenderState = null;
|
2655
2670
|
hoistableState.stylesheets.forEach(hasStylesToHoist);
|
2656
2671
|
currentlyRenderingBoundaryHasStylesToHoist &&
|
2657
2672
|
(renderState.stylesToHoist = !0);
|
@@ -2669,9 +2684,7 @@ function flushStyleInPreamble(stylesheet) {
|
|
2669
2684
|
stylesheetFlushingQueue.length = 0;
|
2670
2685
|
stylesheet.state = 2;
|
2671
2686
|
}
|
2672
|
-
var styleTagResourceOpen1 = stringToPrecomputedChunk(
|
2673
|
-
'<style data-precedence="'
|
2674
|
-
),
|
2687
|
+
var styleTagResourceOpen1 = stringToPrecomputedChunk(' data-precedence="'),
|
2675
2688
|
styleTagResourceOpen2 = stringToPrecomputedChunk('" data-href="'),
|
2676
2689
|
spaceSeparator = stringToPrecomputedChunk(" "),
|
2677
2690
|
styleTagResourceOpen3 = stringToPrecomputedChunk('">'),
|
@@ -2683,6 +2696,7 @@ function flushStylesInPreamble(styleQueue) {
|
|
2683
2696
|
var rules = styleQueue.rules,
|
2684
2697
|
hrefs = styleQueue.hrefs;
|
2685
2698
|
if (!hasStylesheets || hrefs.length) {
|
2699
|
+
writeChunk(this, currentlyFlushingRenderState.startInlineStyle);
|
2686
2700
|
writeChunk(this, styleTagResourceOpen1);
|
2687
2701
|
writeChunk(this, styleQueue.precedence);
|
2688
2702
|
styleQueue = 0;
|
@@ -6557,7 +6571,9 @@ function flushCompletedQueues(request, destination) {
|
|
6557
6571
|
renderState.fontPreloads.clear();
|
6558
6572
|
renderState.highImagePreloads.forEach(flushResource, destination);
|
6559
6573
|
renderState.highImagePreloads.clear();
|
6574
|
+
currentlyFlushingRenderState = renderState;
|
6560
6575
|
renderState.styles.forEach(flushStylesInPreamble, destination);
|
6576
|
+
currentlyFlushingRenderState = null;
|
6561
6577
|
var importMapChunks = renderState.importMapChunks;
|
6562
6578
|
for (i$jscomp$0 = 0; i$jscomp$0 < importMapChunks.length; i$jscomp$0++)
|
6563
6579
|
writeChunk(destination, importMapChunks[i$jscomp$0]);
|
@@ -6876,11 +6892,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
6876
6892
|
}
|
6877
6893
|
function ensureCorrectIsomorphicReactVersion() {
|
6878
6894
|
var isomorphicReactPackageVersion = React.version;
|
6879
|
-
if ("19.2.0-canary-
|
6895
|
+
if ("19.2.0-canary-14094f80-20250529" !== isomorphicReactPackageVersion)
|
6880
6896
|
throw Error(
|
6881
6897
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6882
6898
|
(isomorphicReactPackageVersion +
|
6883
|
-
"\n - react-dom: 19.2.0-canary-
|
6899
|
+
"\n - react-dom: 19.2.0-canary-14094f80-20250529\nLearn more: https://react.dev/warnings/version-mismatch")
|
6884
6900
|
);
|
6885
6901
|
}
|
6886
6902
|
ensureCorrectIsomorphicReactVersion();
|
@@ -7026,4 +7042,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
7026
7042
|
startWork(request);
|
7027
7043
|
});
|
7028
7044
|
};
|
7029
|
-
exports.version = "19.2.0-canary-
|
7045
|
+
exports.version = "19.2.0-canary-14094f80-20250529";
|