[Fiber] getHoistableRoot() should account for Document containers (#32321)

While modern DOM implementations all support getRootNode if you are
running React in a runtime which does not the fallback logic which uses
`.ownerDocument` works everywhere except when the container is a
Document itself. This change corrects this by returning the container
intsance if it is a Document type.

DiffTrain build for [b48e739998](https://github.com/facebook/react/commit/b48e739998432fc9672a42d0d04515980b8cae82)
This commit is contained in:
gnoff
2025-02-06 14:36:08 -08:00
committed by gnoff
parent 02b8f6c26b
commit 6d25b6aa6c
34 changed files with 116 additions and 96 deletions
+1 -1
View File
@@ -1 +1 @@
ff6283340a10bb72ad0fb16ca027606a9ea1e67c
b48e739998432fc9672a42d0d04515980b8cae82
+1 -1
View File
@@ -1 +1 @@
ff6283340a10bb72ad0fb16ca027606a9ea1e67c
b48e739998432fc9672a42d0d04515980b8cae82
+1 -1
View File
@@ -1972,7 +1972,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1972,7 +1972,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -639,4 +639,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
+1 -1
View File
@@ -639,4 +639,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
@@ -643,7 +643,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -643,7 +643,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -17417,10 +17417,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-ff628334-20250205",
version: "19.1.0-www-classic-b48e7399-20250206",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17454,7 +17454,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -17189,10 +17189,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-ff628334-20250205",
version: "19.1.0-www-modern-b48e7399-20250206",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17226,7 +17226,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11275,10 +11275,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1567 = {
bundleType: 0,
version: "19.1.0-www-classic-ff628334-20250205",
version: "19.1.0-www-classic-b48e7399-20250206",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1568 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11304,4 +11304,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
@@ -10990,10 +10990,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1540 = {
bundleType: 0,
version: "19.1.0-www-modern-ff628334-20250205",
version: "19.1.0-www-modern-b48e7399-20250206",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1541 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11019,4 +11019,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
@@ -23301,7 +23301,9 @@ __DEV__ &&
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: container.nodeType === DOCUMENT_NODE
? container
: container.ownerDocument;
}
function preconnectAs(rel, href, crossOrigin) {
var ownerDocument = globalDocument;
@@ -28615,11 +28617,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-ff628334-20250205" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-b48e7399-20250206" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-classic-ff628334-20250205\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-b48e7399-20250206\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -28662,10 +28664,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-ff628334-20250205",
version: "19.1.0-www-classic-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29263,7 +29265,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+8 -6
View File
@@ -23095,7 +23095,9 @@ __DEV__ &&
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: container.nodeType === DOCUMENT_NODE
? container
: container.ownerDocument;
}
function preconnectAs(rel, href, crossOrigin) {
var ownerDocument = globalDocument;
@@ -28401,11 +28403,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-ff628334-20250205" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-b48e7399-20250206" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-modern-ff628334-20250205\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-b48e7399-20250206\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -28448,10 +28450,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-ff628334-20250205",
version: "19.1.0-www-modern-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29049,7 +29051,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -16963,7 +16963,9 @@ var preloadPropsMap = new Map(),
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: 9 === container.nodeType
? container
: container.ownerDocument;
}
var previousDispatcher = Internals.d;
Internals.d = {
@@ -18440,14 +18442,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1871 = React.version;
if (
"19.1.0-www-classic-ff628334-20250205" !==
"19.1.0-www-classic-b48e7399-20250206" !==
isomorphicReactPackageVersion$jscomp$inline_1871
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1871,
"19.1.0-www-classic-ff628334-20250205"
"19.1.0-www-classic-b48e7399-20250206"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18465,10 +18467,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2431 = {
bundleType: 0,
version: "19.1.0-www-classic-ff628334-20250205",
version: "19.1.0-www-classic-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2432 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18832,4 +18834,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
@@ -16694,7 +16694,9 @@ var preloadPropsMap = new Map(),
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: 9 === container.nodeType
? container
: container.ownerDocument;
}
var previousDispatcher = Internals.d;
Internals.d = {
@@ -18171,14 +18173,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1861 = React.version;
if (
"19.1.0-www-modern-ff628334-20250205" !==
"19.1.0-www-modern-b48e7399-20250206" !==
isomorphicReactPackageVersion$jscomp$inline_1861
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1861,
"19.1.0-www-modern-ff628334-20250205"
"19.1.0-www-modern-b48e7399-20250206"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18196,10 +18198,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2413 = {
bundleType: 0,
version: "19.1.0-www-modern-ff628334-20250205",
version: "19.1.0-www-modern-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2414 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18563,4 +18565,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
@@ -17654,7 +17654,9 @@ var preloadPropsMap = new Map(),
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: 9 === container.nodeType
? container
: container.ownerDocument;
}
var previousDispatcher = Internals.d;
Internals.d = {
@@ -19131,14 +19133,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1968 = React.version;
if (
"19.1.0-www-classic-ff628334-20250205" !==
"19.1.0-www-classic-b48e7399-20250206" !==
isomorphicReactPackageVersion$jscomp$inline_1968
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1968,
"19.1.0-www-classic-ff628334-20250205"
"19.1.0-www-classic-b48e7399-20250206"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19156,10 +19158,10 @@ Internals.Events = [
];
var internals$jscomp$inline_1970 = {
bundleType: 0,
version: "19.1.0-www-classic-ff628334-20250205",
version: "19.1.0-www-classic-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1970.getLaneLabelMap = getLaneLabelMap),
@@ -19526,7 +19528,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -17384,7 +17384,9 @@ var preloadPropsMap = new Map(),
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: 9 === container.nodeType
? container
: container.ownerDocument;
}
var previousDispatcher = Internals.d;
Internals.d = {
@@ -18861,14 +18863,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1958 = React.version;
if (
"19.1.0-www-modern-ff628334-20250205" !==
"19.1.0-www-modern-b48e7399-20250206" !==
isomorphicReactPackageVersion$jscomp$inline_1958
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1958,
"19.1.0-www-modern-ff628334-20250205"
"19.1.0-www-modern-b48e7399-20250206"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18886,10 +18888,10 @@ Internals.Events = [
];
var internals$jscomp$inline_1960 = {
bundleType: 0,
version: "19.1.0-www-modern-ff628334-20250205",
version: "19.1.0-www-modern-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1960.getLaneLabelMap = getLaneLabelMap),
@@ -19256,7 +19258,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9479,5 +9479,5 @@ __DEV__ &&
'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.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
})();
@@ -9305,5 +9305,5 @@ __DEV__ &&
'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.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
})();
@@ -6194,4 +6194,4 @@ exports.renderToString = function (children, options) {
'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.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
@@ -6106,4 +6106,4 @@ exports.renderToString = function (children, options) {
'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.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
@@ -23589,7 +23589,9 @@ __DEV__ &&
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: container.nodeType === DOCUMENT_NODE
? container
: container.ownerDocument;
}
function preconnectAs(rel, href, crossOrigin) {
var ownerDocument = globalDocument;
@@ -28949,11 +28951,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-ff628334-20250205" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-b48e7399-20250206" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-classic-ff628334-20250205\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-b48e7399-20250206\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -28996,10 +28998,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-ff628334-20250205",
version: "19.1.0-www-classic-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29763,5 +29765,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
})();
@@ -23383,7 +23383,9 @@ __DEV__ &&
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: container.nodeType === DOCUMENT_NODE
? container
: container.ownerDocument;
}
function preconnectAs(rel, href, crossOrigin) {
var ownerDocument = globalDocument;
@@ -28735,11 +28737,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-ff628334-20250205" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-b48e7399-20250206" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-modern-ff628334-20250205\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-b48e7399-20250206\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -28782,10 +28784,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-ff628334-20250205",
version: "19.1.0-www-modern-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29549,5 +29551,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
})();
@@ -17292,7 +17292,9 @@ var preloadPropsMap = new Map(),
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: 9 === container.nodeType
? container
: container.ownerDocument;
}
var previousDispatcher = Internals.d;
Internals.d = {
@@ -18769,14 +18771,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1900 = React.version;
if (
"19.1.0-www-classic-ff628334-20250205" !==
"19.1.0-www-classic-b48e7399-20250206" !==
isomorphicReactPackageVersion$jscomp$inline_1900
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1900,
"19.1.0-www-classic-ff628334-20250205"
"19.1.0-www-classic-b48e7399-20250206"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18794,10 +18796,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2465 = {
bundleType: 0,
version: "19.1.0-www-classic-ff628334-20250205",
version: "19.1.0-www-classic-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2466 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19312,4 +19314,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
@@ -17023,7 +17023,9 @@ var preloadPropsMap = new Map(),
function getHoistableRoot(container) {
return "function" === typeof container.getRootNode
? container.getRootNode()
: container.ownerDocument;
: 9 === container.nodeType
? container
: container.ownerDocument;
}
var previousDispatcher = Internals.d;
Internals.d = {
@@ -18500,14 +18502,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1890 = React.version;
if (
"19.1.0-www-modern-ff628334-20250205" !==
"19.1.0-www-modern-b48e7399-20250206" !==
isomorphicReactPackageVersion$jscomp$inline_1890
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1890,
"19.1.0-www-modern-ff628334-20250205"
"19.1.0-www-modern-b48e7399-20250206"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18525,10 +18527,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2447 = {
bundleType: 0,
version: "19.1.0-www-modern-ff628334-20250205",
version: "19.1.0-www-modern-b48e7399-20250206",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2448 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19043,4 +19045,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
@@ -20047,7 +20047,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -19828,7 +19828,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13764,7 +13764,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13483,7 +13483,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -14991,10 +14991,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-ff628334-20250205",
version: "19.1.0-www-classic-b48e7399-20250206",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
reconcilerVersion: "19.1.0-www-classic-b48e7399-20250206"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15129,5 +15129,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-classic-ff628334-20250205";
exports.version = "19.1.0-www-classic-b48e7399-20250206";
})();
@@ -14991,10 +14991,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-ff628334-20250205",
version: "19.1.0-www-modern-b48e7399-20250206",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
reconcilerVersion: "19.1.0-www-modern-b48e7399-20250206"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15129,5 +15129,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-modern-ff628334-20250205";
exports.version = "19.1.0-www-modern-b48e7399-20250206";
})();
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-classic-ff628334-20250205
19.1.0-www-classic-b48e7399-20250206
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-modern-ff628334-20250205
19.1.0-www-modern-b48e7399-20250206