Unverified Commit 73e6565c authored by Vercel Release Bot's avatar Vercel Release Bot Committed by GitHub

Upgrade React from `c44e4a25-20250409` to `1d6c8168-20250411` (#78067)

parent 6f8dd7c4
......@@ -228,16 +228,16 @@
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0",
"react-builtin": "npm:react@19.2.0-canary-c44e4a25-20250409",
"react-builtin": "npm:react@19.2.0-canary-1d6c8168-20250411",
"react-dom": "19.0.0",
"react-dom-builtin": "npm:react-dom@19.2.0-canary-c44e4a25-20250409",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-c44e4a25-20250409",
"react-experimental-builtin": "npm:react@0.0.0-experimental-c44e4a25-20250409",
"react-is-builtin": "npm:react-is@19.2.0-canary-c44e4a25-20250409",
"react-server-dom-turbopack": "19.2.0-canary-c44e4a25-20250409",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-c44e4a25-20250409",
"react-server-dom-webpack": "19.2.0-canary-c44e4a25-20250409",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-c44e4a25-20250409",
"react-dom-builtin": "npm:react-dom@19.2.0-canary-1d6c8168-20250411",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-1d6c8168-20250411",
"react-experimental-builtin": "npm:react@0.0.0-experimental-1d6c8168-20250411",
"react-is-builtin": "npm:react-is@19.2.0-canary-1d6c8168-20250411",
"react-server-dom-turbopack": "19.2.0-canary-1d6c8168-20250411",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-1d6c8168-20250411",
"react-server-dom-webpack": "19.2.0-canary-1d6c8168-20250411",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-1d6c8168-20250411",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
......@@ -247,8 +247,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.12.2",
"scheduler-builtin": "npm:scheduler@0.27.0-canary-c44e4a25-20250409",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-c44e4a25-20250409",
"scheduler-builtin": "npm:scheduler@0.27.0-canary-1d6c8168-20250411",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-1d6c8168-20250411",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
......@@ -290,10 +290,10 @@
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"jest-snapshot": "30.0.0-alpha.6",
"react": "19.2.0-canary-c44e4a25-20250409",
"react-dom": "19.2.0-canary-c44e4a25-20250409",
"react-is": "19.2.0-canary-c44e4a25-20250409",
"scheduler": "0.27.0-canary-c44e4a25-20250409"
"react": "19.2.0-canary-1d6c8168-20250411",
"react-dom": "19.2.0-canary-1d6c8168-20250411",
"react-is": "19.2.0-canary-1d6c8168-20250411",
"scheduler": "0.27.0-canary-1d6c8168-20250411"
},
"patchedDependencies": {
"webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch",
......
......@@ -779,12 +779,7 @@
};
}
function createPreambleState() {
return {
htmlChunks: null,
headChunks: null,
bodyChunks: null,
contribution: NoContribution
};
return { htmlChunks: null, headChunks: null, bodyChunks: null };
}
function createFormatContext(insertionMode, selectedValue, tagScope) {
return {
......@@ -2752,6 +2747,7 @@
var preamble = preambleState || renderState.preamble;
if (preamble.headChunks)
throw Error("The `<head>` tag may only be rendered once.");
null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e");
preamble.headChunks = [];
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
preamble.headChunks,
......@@ -2770,6 +2766,7 @@
var preamble$jscomp$0 = preambleState || renderState.preamble;
if (preamble$jscomp$0.bodyChunks)
throw Error("The `<body>` tag may only be rendered once.");
null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e");
preamble$jscomp$0.bodyChunks = [];
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
preamble$jscomp$0.bodyChunks,
......@@ -2788,6 +2785,7 @@
var preamble$jscomp$1 = preambleState || renderState.preamble;
if (preamble$jscomp$1.htmlChunks)
throw Error("The `<html>` tag may only be rendered once.");
null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e");
preamble$jscomp$1.htmlChunks = [doctypeChunk];
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
preamble$jscomp$1.htmlChunks,
......@@ -2871,16 +2869,13 @@
renderState = renderState.preamble;
null === renderState.htmlChunks &&
preambleState.htmlChunks &&
((renderState.htmlChunks = preambleState.htmlChunks),
(preambleState.contribution |= 1));
(renderState.htmlChunks = preambleState.htmlChunks);
null === renderState.headChunks &&
preambleState.headChunks &&
((renderState.headChunks = preambleState.headChunks),
(preambleState.contribution |= 4));
(renderState.headChunks = preambleState.headChunks);
null === renderState.bodyChunks &&
preambleState.bodyChunks &&
((renderState.bodyChunks = preambleState.bodyChunks),
(preambleState.contribution |= 2));
(renderState.bodyChunks = preambleState.bodyChunks);
}
function writeBootstrap(destination, renderState) {
renderState = renderState.bootstrapChunks;
......@@ -2901,13 +2896,6 @@
destination.push(renderState);
return destination.push(startPendingSuspenseBoundary2);
}
function writePreambleContribution(destination, preambleState) {
preambleState = preambleState.contribution;
preambleState !== NoContribution &&
(destination.push(boundaryPreambleContributionChunkStart),
destination.push("" + preambleState),
destination.push(boundaryPreambleContributionChunkEnd));
}
function writeStartSegment(destination, renderState, formatContext, id) {
switch (formatContext.insertionMode) {
case ROOT_HTML_MODE:
......@@ -5517,20 +5505,8 @@
renderNode(request, task, props.children, -1);
task.keyPath = _prevKeyPath3;
}
if (!request.renderState.generateStaticMarkup) {
var target$jscomp$0 = segment$jscomp$0.chunks,
preambleState = task.blockedPreamble;
if (preambleState) {
var contribution = preambleState.contribution;
contribution !== NoContribution &&
target$jscomp$0.push(
boundaryPreambleContributionChunkStart,
"" + contribution,
boundaryPreambleContributionChunkEnd
);
}
target$jscomp$0.push("\x3c!--/&--\x3e");
}
request.renderState.generateStaticMarkup ||
segment$jscomp$0.chunks.push("\x3c!--/&--\x3e");
segment$jscomp$0.lastPushedText = !1;
}
return;
......@@ -7518,8 +7494,8 @@
if (!request.renderState.generateStaticMarkup) {
var errorDigest = boundary.errorDigest,
errorMessage = boundary.errorMessage,
errorStack = boundary.errorStack,
errorComponentStack = boundary.errorComponentStack;
errorStack = boundary.errorStack;
boundary = boundary.errorComponentStack;
destination.push(startClientRenderedSuspenseBoundary);
destination.push(clientRenderedSuspenseBoundaryError1);
errorDigest &&
......@@ -7543,22 +7519,20 @@
destination.push(
clientRenderedSuspenseBoundaryErrorAttrInterstitial
));
errorComponentStack &&
boundary &&
(destination.push(clientRenderedSuspenseBoundaryError1D),
(errorComponentStack = escapeTextForBrowser(errorComponentStack)),
destination.push(errorComponentStack),
(errorStack = escapeTextForBrowser(boundary)),
destination.push(errorStack),
destination.push(
clientRenderedSuspenseBoundaryErrorAttrInterstitial
));
destination.push(clientRenderedSuspenseBoundaryError2);
}
flushSubtree(request, destination, segment, hoistableState);
request.renderState.generateStaticMarkup
? (destination = !0)
: ((request = boundary.fallbackPreamble) &&
writePreambleContribution(destination, request),
(destination = destination.push(endSuspenseBoundary)));
return destination;
request = request.renderState.generateStaticMarkup
? !0
: destination.push(endSuspenseBoundary);
return request;
}
if (boundary.status !== COMPLETED)
return (
......@@ -7572,9 +7546,12 @@
boundary.rootSegmentID
),
hoistableState &&
((boundary = boundary.fallbackState),
boundary.styles.forEach(hoistStyleQueueDependency, hoistableState),
boundary.stylesheets.forEach(
((errorStack = boundary.fallbackState),
errorStack.styles.forEach(
hoistStyleQueueDependency,
hoistableState
),
errorStack.stylesheets.forEach(
hoistStylesheetDependency,
hoistableState
)),
......@@ -7605,12 +7582,10 @@
"A previously unvisited boundary must have exactly one root segment. This is a bug in React."
);
flushSegment(request, destination, segment[0], hoistableState);
request.renderState.generateStaticMarkup
? (destination = !0)
: ((request = boundary.contentPreamble) &&
writePreambleContribution(destination, request),
(destination = destination.push(endSuspenseBoundary)));
return destination;
request = request.renderState.generateStaticMarkup
? !0
: destination.push(endSuspenseBoundary);
return request;
}
function flushSegmentContainer(
request,
......@@ -9297,8 +9272,7 @@
Object.freeze(PRELOAD_NO_CREDS);
var scriptRegex = /(<\/|<)(s)(cript)/gi;
var didWarnForNewBooleanPropsWithEmptyValue = {};
var NoContribution = 0,
ROOT_HTML_MODE = 0,
var ROOT_HTML_MODE = 0,
HTML_HTML_MODE = 1,
HTML_MODE = 2,
HTML_HEAD_MODE = 3,
......@@ -9354,8 +9328,6 @@
clientRenderedSuspenseBoundaryError1C = ' data-stck="',
clientRenderedSuspenseBoundaryError1D = ' data-cstck="',
clientRenderedSuspenseBoundaryError2 = "></template>",
boundaryPreambleContributionChunkStart = "\x3c!--",
boundaryPreambleContributionChunkEnd = "--\x3e",
startSegmentHTML = '<div hidden id="',
startSegmentHTML2 = '">',
endSegmentHTML = "</div>",
......@@ -9702,5 +9674,5 @@
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-experimental-c44e4a25-20250409";
exports.version = "19.2.0-experimental-1d6c8168-20250411";
})();
......@@ -779,12 +779,7 @@
};
}
function createPreambleState() {
return {
htmlChunks: null,
headChunks: null,
bodyChunks: null,
contribution: NoContribution
};
return { htmlChunks: null, headChunks: null, bodyChunks: null };
}
function createFormatContext(insertionMode, selectedValue, tagScope) {
return {
......@@ -2752,6 +2747,7 @@
var preamble = preambleState || renderState.preamble;
if (preamble.headChunks)
throw Error("The `<head>` tag may only be rendered once.");
null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e");
preamble.headChunks = [];
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
preamble.headChunks,
......@@ -2770,6 +2766,7 @@
var preamble$jscomp$0 = preambleState || renderState.preamble;
if (preamble$jscomp$0.bodyChunks)
throw Error("The `<body>` tag may only be rendered once.");
null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e");
preamble$jscomp$0.bodyChunks = [];
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
preamble$jscomp$0.bodyChunks,
......@@ -2788,6 +2785,7 @@
var preamble$jscomp$1 = preambleState || renderState.preamble;
if (preamble$jscomp$1.htmlChunks)
throw Error("The `<html>` tag may only be rendered once.");
null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e");
preamble$jscomp$1.htmlChunks = [doctypeChunk];
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
preamble$jscomp$1.htmlChunks,
......@@ -2871,16 +2869,13 @@
renderState = renderState.preamble;
null === renderState.htmlChunks &&
preambleState.htmlChunks &&
((renderState.htmlChunks = preambleState.htmlChunks),
(preambleState.contribution |= 1));
(renderState.htmlChunks = preambleState.htmlChunks);
null === renderState.headChunks &&
preambleState.headChunks &&
((renderState.headChunks = preambleState.headChunks),
(preambleState.contribution |= 4));
(renderState.headChunks = preambleState.headChunks);
null === renderState.bodyChunks &&
preambleState.bodyChunks &&
((renderState.bodyChunks = preambleState.bodyChunks),
(preambleState.contribution |= 2));
(renderState.bodyChunks = preambleState.bodyChunks);
}
function writeBootstrap(destination, renderState) {
renderState = renderState.bootstrapChunks;
......@@ -2901,13 +2896,6 @@
destination.push(renderState);
return destination.push(startPendingSuspenseBoundary2);
}
function writePreambleContribution(destination, preambleState) {
preambleState = preambleState.contribution;
preambleState !== NoContribution &&
(destination.push(boundaryPreambleContributionChunkStart),
destination.push("" + preambleState),
destination.push(boundaryPreambleContributionChunkEnd));
}
function writeStartSegment(destination, renderState, formatContext, id) {
switch (formatContext.insertionMode) {
case ROOT_HTML_MODE:
......@@ -5517,20 +5505,8 @@
renderNode(request, task, props.children, -1);
task.keyPath = _prevKeyPath3;
}
if (!request.renderState.generateStaticMarkup) {
var target$jscomp$0 = segment$jscomp$0.chunks,
preambleState = task.blockedPreamble;
if (preambleState) {
var contribution = preambleState.contribution;
contribution !== NoContribution &&
target$jscomp$0.push(
boundaryPreambleContributionChunkStart,
"" + contribution,
boundaryPreambleContributionChunkEnd
);
}
target$jscomp$0.push("\x3c!--/&--\x3e");
}
request.renderState.generateStaticMarkup ||
segment$jscomp$0.chunks.push("\x3c!--/&--\x3e");
segment$jscomp$0.lastPushedText = !1;
}
return;
......@@ -7518,8 +7494,8 @@
if (!request.renderState.generateStaticMarkup) {
var errorDigest = boundary.errorDigest,
errorMessage = boundary.errorMessage,
errorStack = boundary.errorStack,
errorComponentStack = boundary.errorComponentStack;
errorStack = boundary.errorStack;
boundary = boundary.errorComponentStack;
destination.push(startClientRenderedSuspenseBoundary);
destination.push(clientRenderedSuspenseBoundaryError1);
errorDigest &&
......@@ -7543,22 +7519,20 @@
destination.push(
clientRenderedSuspenseBoundaryErrorAttrInterstitial
));
errorComponentStack &&
boundary &&
(destination.push(clientRenderedSuspenseBoundaryError1D),
(errorComponentStack = escapeTextForBrowser(errorComponentStack)),
destination.push(errorComponentStack),
(errorStack = escapeTextForBrowser(boundary)),
destination.push(errorStack),
destination.push(
clientRenderedSuspenseBoundaryErrorAttrInterstitial
));
destination.push(clientRenderedSuspenseBoundaryError2);
}
flushSubtree(request, destination, segment, hoistableState);
request.renderState.generateStaticMarkup
? (destination = !0)
: ((request = boundary.fallbackPreamble) &&
writePreambleContribution(destination, request),
(destination = destination.push(endSuspenseBoundary)));
return destination;
request = request.renderState.generateStaticMarkup
? !0
: destination.push(endSuspenseBoundary);
return request;
}
if (boundary.status !== COMPLETED)
return (
......@@ -7572,9 +7546,12 @@
boundary.rootSegmentID
),
hoistableState &&
((boundary = boundary.fallbackState),
boundary.styles.forEach(hoistStyleQueueDependency, hoistableState),
boundary.stylesheets.forEach(
((errorStack = boundary.fallbackState),
errorStack.styles.forEach(
hoistStyleQueueDependency,
hoistableState
),
errorStack.stylesheets.forEach(
hoistStylesheetDependency,
hoistableState
)),
......@@ -7605,12 +7582,10 @@
"A previously unvisited boundary must have exactly one root segment. This is a bug in React."
);
flushSegment(request, destination, segment[0], hoistableState);
request.renderState.generateStaticMarkup
? (destination = !0)
: ((request = boundary.contentPreamble) &&
writePreambleContribution(destination, request),
(destination = destination.push(endSuspenseBoundary)));
return destination;
request = request.renderState.generateStaticMarkup
? !0
: destination.push(endSuspenseBoundary);
return request;
}
function flushSegmentContainer(
request,
......@@ -9297,8 +9272,7 @@
Object.freeze(PRELOAD_NO_CREDS);
var scriptRegex = /(<\/|<)(s)(cript)/gi;
var didWarnForNewBooleanPropsWithEmptyValue = {};
var NoContribution = 0,
ROOT_HTML_MODE = 0,
var ROOT_HTML_MODE = 0,
HTML_HTML_MODE = 1,
HTML_MODE = 2,
HTML_HEAD_MODE = 3,
......@@ -9354,8 +9328,6 @@
clientRenderedSuspenseBoundaryError1C = ' data-stck="',
clientRenderedSuspenseBoundaryError1D = ' data-cstck="',
clientRenderedSuspenseBoundaryError2 = "></template>",
boundaryPreambleContributionChunkStart = "\x3c!--",
boundaryPreambleContributionChunkEnd = "--\x3e",
startSegmentHTML = '<div hidden id="',
startSegmentHTML2 = '">',
endSegmentHTML = "</div>",
......@@ -9702,5 +9674,5 @@
'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'
);
};
exports.version = "19.2.0-experimental-c44e4a25-20250409";
exports.version = "19.2.0-experimental-1d6c8168-20250411";
})();
......@@ -463,12 +463,7 @@ function createResumableState(
};
}
function createPreambleState() {
return {
htmlChunks: null,
headChunks: null,
bodyChunks: null,
contribution: 0
};
return { htmlChunks: null, headChunks: null, bodyChunks: null };
}
function createFormatContext(insertionMode, selectedValue, tagScope) {
return {
......@@ -1961,6 +1956,7 @@ function pushStartInstance(
var preamble = preambleState || renderState.preamble;
if (preamble.headChunks)
throw Error("The `<head>` tag may only be rendered once.");
null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e");
preamble.headChunks = [];
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
preamble.headChunks,
......@@ -1979,6 +1975,7 @@ function pushStartInstance(
var preamble$jscomp$0 = preambleState || renderState.preamble;
if (preamble$jscomp$0.bodyChunks)
throw Error("The `<body>` tag may only be rendered once.");
null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e");
preamble$jscomp$0.bodyChunks = [];
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
preamble$jscomp$0.bodyChunks,
......@@ -1997,6 +1994,7 @@ function pushStartInstance(
var preamble$jscomp$1 = preambleState || renderState.preamble;
if (preamble$jscomp$1.htmlChunks)
throw Error("The `<html>` tag may only be rendered once.");
null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e");
preamble$jscomp$1.htmlChunks = ["<!DOCTYPE html>"];
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
preamble$jscomp$1.htmlChunks,
......@@ -2074,16 +2072,13 @@ function hoistPreambleState(renderState, preambleState) {
renderState = renderState.preamble;
null === renderState.htmlChunks &&
preambleState.htmlChunks &&
((renderState.htmlChunks = preambleState.htmlChunks),
(preambleState.contribution |= 1));
(renderState.htmlChunks = preambleState.htmlChunks);
null === renderState.headChunks &&
preambleState.headChunks &&
((renderState.headChunks = preambleState.headChunks),
(preambleState.contribution |= 4));
(renderState.headChunks = preambleState.headChunks);
null === renderState.bodyChunks &&
preambleState.bodyChunks &&
((renderState.bodyChunks = preambleState.bodyChunks),
(preambleState.contribution |= 2));
(renderState.bodyChunks = preambleState.bodyChunks);
}
function writeBootstrap(destination, renderState) {
renderState = renderState.bootstrapChunks;
......@@ -2103,13 +2098,6 @@ function writeStartPendingSuspenseBoundary(destination, renderState, id) {
writeChunk(destination, id.toString(16));
return !!destination.write('"></template>');
}
function writePreambleContribution(destination, preambleState) {
preambleState = preambleState.contribution;
0 !== preambleState &&
(writeChunk(destination, "\x3c!--"),
writeChunk(destination, "" + preambleState),
writeChunk(destination, "--\x3e"));
}
function writeStartSegment(destination, renderState, formatContext, id) {
switch (formatContext.insertionMode) {
case 0:
......@@ -4308,27 +4296,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
return;
case REACT_ACTIVITY_TYPE:
type = task.blockedSegment;
if (null === type)
"hidden" !== props.mode &&
null === type
? "hidden" !== props.mode &&
((type = task.keyPath),
(task.keyPath = keyPath),
renderNode(request, task, props.children, -1),
(task.keyPath = type));
else {
type.chunks.push("\x3c!--&--\x3e");
type.lastPushedText = !1;
"hidden" !== props.mode &&
((newProps = task.keyPath),
(task.keyPath = keyPath),
renderNode(request, task, props.children, -1),
(task.keyPath = newProps));
request = type.chunks;
if ((task = task.blockedPreamble))
(task = task.contribution),
0 !== task && request.push("\x3c!--", "" + task, "--\x3e");
request.push("\x3c!--/&--\x3e");
type.lastPushedText = !1;
}
(task.keyPath = type))
: (type.chunks.push("\x3c!--&--\x3e"),
(type.lastPushedText = !1),
"hidden" !== props.mode &&
((newProps = task.keyPath),
(task.keyPath = keyPath),
renderNode(request, task, props.children, -1),
(task.keyPath = newProps)),
type.chunks.push("\x3c!--/&--\x3e"),
(type.lastPushedText = !1));
return;
case REACT_SUSPENSE_LIST_TYPE:
type = task.keyPath;
......@@ -5919,24 +5901,18 @@ function flushSegment(request, destination, segment, hoistableState) {
if (null === boundary)
return flushSubtree(request, destination, segment, hoistableState);
boundary.parentFlushed = !0;
if (4 === boundary.status) {
var errorDigest = boundary.errorDigest;
destination.write("\x3c!--$!--\x3e");
writeChunk(destination, "<template");
errorDigest &&
(writeChunk(destination, ' data-dgst="'),
writeChunk(destination, escapeTextForBrowser(errorDigest)),
writeChunk(destination, '"'));
destination.write("></template>");
flushSubtree(request, destination, segment, hoistableState);
(request = boundary.fallbackPreamble) &&
writePreambleContribution(destination, request);
return !!destination.write("\x3c!--/$--\x3e");
}
if (1 !== boundary.status)
return (
0 === boundary.status &&
(boundary.rootSegmentID = request.nextSegmentId++),
if (4 === boundary.status)
(boundary = boundary.errorDigest),
destination.write("\x3c!--$!--\x3e"),
writeChunk(destination, "<template"),
boundary &&
(writeChunk(destination, ' data-dgst="'),
writeChunk(destination, escapeTextForBrowser(boundary)),
writeChunk(destination, '"')),
destination.write("></template>"),
flushSubtree(request, destination, segment, hoistableState);
else if (1 !== boundary.status)
0 === boundary.status && (boundary.rootSegmentID = request.nextSegmentId++),
0 < boundary.completedSegments.length &&
request.partialBoundaries.push(boundary),
writeStartPendingSuspenseBoundary(
......@@ -5951,34 +5927,29 @@ function flushSegment(request, destination, segment, hoistableState) {
hoistStylesheetDependency,
hoistableState
)),
flushSubtree(request, destination, segment, hoistableState),
!!destination.write("\x3c!--/$--\x3e")
);
if (boundary.byteSize > request.progressiveChunkSize)
return (
(boundary.rootSegmentID = request.nextSegmentId++),
flushSubtree(request, destination, segment, hoistableState);
else if (boundary.byteSize > request.progressiveChunkSize)
(boundary.rootSegmentID = request.nextSegmentId++),
request.completedBoundaries.push(boundary),
writeStartPendingSuspenseBoundary(
destination,
request.renderState,
boundary.rootSegmentID
),
flushSubtree(request, destination, segment, hoistableState),
!!destination.write("\x3c!--/$--\x3e")
);
hoistableState &&
((segment = boundary.contentState),
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
destination.write("\x3c!--$--\x3e");
segment = boundary.completedSegments;
if (1 !== segment.length)
throw Error(
"A previously unvisited boundary must have exactly one root segment. This is a bug in React."
);
flushSegment(request, destination, segment[0], hoistableState);
(request = boundary.contentPreamble) &&
writePreambleContribution(destination, request);
flushSubtree(request, destination, segment, hoistableState);
else {
hoistableState &&
((segment = boundary.contentState),
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
destination.write("\x3c!--$--\x3e");
segment = boundary.completedSegments;
if (1 !== segment.length)
throw Error(
"A previously unvisited boundary must have exactly one root segment. This is a bug in React."
);
flushSegment(request, destination, segment[0], hoistableState);
}
return !!destination.write("\x3c!--/$--\x3e");
}
function flushSegmentContainer(request, destination, segment, hoistableState) {
......@@ -6427,15 +6398,15 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
parentNode[2].push(node);
}
}
var isomorphicReactPackageVersion$jscomp$inline_826 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_819 = React.version;
if (
"19.2.0-experimental-c44e4a25-20250409" !==
isomorphicReactPackageVersion$jscomp$inline_826
"19.2.0-experimental-1d6c8168-20250411" !==
isomorphicReactPackageVersion$jscomp$inline_819
)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion$jscomp$inline_826 +
"\n - react-dom: 19.2.0-experimental-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
(isomorphicReactPackageVersion$jscomp$inline_819 +
"\n - react-dom: 19.2.0-experimental-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
);
exports.renderToReadableStream = function (children, options) {
return new Promise(function (resolve, reject) {
......@@ -6526,4 +6497,4 @@ exports.renderToReadableStream = function (children, options) {
startWork(request);
});
};
exports.version = "19.2.0-experimental-c44e4a25-20250409";
exports.version = "19.2.0-experimental-1d6c8168-20250411";
......@@ -416,7 +416,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-experimental-c44e4a25-20250409";
exports.version = "19.2.0-experimental-1d6c8168-20250411";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
......
......@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-experimental-c44e4a25-20250409";
exports.version = "19.2.0-experimental-1d6c8168-20250411";
......@@ -336,5 +336,5 @@
}))
: Internals.d.m(href));
};
exports.version = "19.2.0-experimental-c44e4a25-20250409";
exports.version = "19.2.0-experimental-1d6c8168-20250411";
})();
......@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
});
} else Internals.d.m(href);
};
exports.version = "19.2.0-experimental-c44e4a25-20250409";
exports.version = "19.2.0-experimental-1d6c8168-20250411";
......@@ -72,10 +72,10 @@
"./package.json": "./package.json"
},
"dependencies": {
"scheduler": "0.0.0-experimental-c44e4a25-20250409"
"scheduler": "0.0.0-experimental-1d6c8168-20250411"
},
"peerDependencies": {
"react": "0.0.0-experimental-c44e4a25-20250409"
"react": "0.0.0-experimental-1d6c8168-20250411"
},
"browser": {
"./server.js": "./server.browser.js",
......
......@@ -416,7 +416,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-canary-c44e4a25-20250409";
exports.version = "19.2.0-canary-1d6c8168-20250411";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
......
......@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-canary-c44e4a25-20250409";
exports.version = "19.2.0-canary-1d6c8168-20250411";
......@@ -336,5 +336,5 @@
}))
: Internals.d.m(href));
};
exports.version = "19.2.0-canary-c44e4a25-20250409";
exports.version = "19.2.0-canary-1d6c8168-20250411";
})();
......@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
});
} else Internals.d.m(href);
};
exports.version = "19.2.0-canary-c44e4a25-20250409";
exports.version = "19.2.0-canary-1d6c8168-20250411";
......@@ -603,4 +603,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-experimental-c44e4a25-20250409";
exports.version = "19.2.0-experimental-1d6c8168-20250411";
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment