From 6d25b6aa6c1fbd3fc4916de3e45d1373aaec7928 Mon Sep 17 00:00:00 2001 From: gnoff <2716369+gnoff@users.noreply.github.com> Date: Thu, 6 Feb 2025 14:36:08 -0800 Subject: [PATCH] [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 [b48e739998432fc9672a42d0d04515980b8cae82](https://github.com/facebook/react/commit/b48e739998432fc9672a42d0d04515980b8cae82) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-dev.modern.js | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- compiled/facebook-www/React-profiling.classic.js | 2 +- compiled/facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 6 +++--- compiled/facebook-www/ReactART-dev.modern.js | 6 +++--- compiled/facebook-www/ReactART-prod.classic.js | 6 +++--- compiled/facebook-www/ReactART-prod.modern.js | 6 +++--- compiled/facebook-www/ReactDOM-dev.classic.js | 14 ++++++++------ compiled/facebook-www/ReactDOM-dev.modern.js | 14 ++++++++------ compiled/facebook-www/ReactDOM-prod.classic.js | 14 ++++++++------ compiled/facebook-www/ReactDOM-prod.modern.js | 14 ++++++++------ .../facebook-www/ReactDOM-profiling.classic.js | 14 ++++++++------ compiled/facebook-www/ReactDOM-profiling.modern.js | 14 ++++++++------ .../facebook-www/ReactDOMServer-dev.classic.js | 2 +- compiled/facebook-www/ReactDOMServer-dev.modern.js | 2 +- .../facebook-www/ReactDOMServer-prod.classic.js | 2 +- .../facebook-www/ReactDOMServer-prod.modern.js | 2 +- .../facebook-www/ReactDOMTesting-dev.classic.js | 14 ++++++++------ .../facebook-www/ReactDOMTesting-dev.modern.js | 14 ++++++++------ .../facebook-www/ReactDOMTesting-prod.classic.js | 14 ++++++++------ .../facebook-www/ReactDOMTesting-prod.modern.js | 14 ++++++++------ .../facebook-www/ReactReconciler-dev.classic.js | 2 +- .../facebook-www/ReactReconciler-dev.modern.js | 2 +- .../facebook-www/ReactReconciler-prod.classic.js | 2 +- .../facebook-www/ReactReconciler-prod.modern.js | 2 +- .../facebook-www/ReactTestRenderer-dev.classic.js | 6 +++--- .../facebook-www/ReactTestRenderer-dev.modern.js | 6 +++--- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 34 files changed, 116 insertions(+), 96 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 94368cde9f..18f667e49c 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -ff6283340a10bb72ad0fb16ca027606a9ea1e67c +b48e739998432fc9672a42d0d04515980b8cae82 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index 94368cde9f..18f667e49c 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -ff6283340a10bb72ad0fb16ca027606a9ea1e67c +b48e739998432fc9672a42d0d04515980b8cae82 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 0e993c41f7..eb47765ba4 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -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 && diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index 3cc6566b6f..e6d8e5512f 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -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 && diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index 517d449c9a..09611df877 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 49caf9b864..8e496bffc6 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index bdad9cd900..b79f866a4b 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -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 && diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index e2c790b65e..cf88986e14 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -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 && diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index 6f1b55171f..22aae8fbea 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -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 && diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 7bad72d535..0b1705cafd 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -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 && diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index c1419641fd..df77e52d68 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 5fbd26dd72..a4a3245805 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index b8eaff6c13..02814b602c 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -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 && diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 1930ece9d5..4216a616ee 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -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 && diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index 28fadfd92e..dbaed81924 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 916eb7ae9c..ea645305dc 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 0f3884afd0..767ebc309d 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -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 && diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js index d7f8f401bc..50707a842e 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -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 && diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 9b4a07cc50..74e1f5fe77 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 5929554115..4179cce328 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index a3a423944b..65aecd2f34 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 3df5641ee0..c37c8bc14b 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index eb859aeba6..3e9c576634 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index b1aa10b94d..d6f252f25b 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index 5a83e6f0e2..8d114e48dd 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index f972c67dab..f75e55e8ff 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index 9befe96991..634cbaadeb 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -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); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index 95bafda1a5..ae075d268c 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -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); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 4ca5596831..91d01f035b 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -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); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 52d72c5e92..e8ad6b59b9 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -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); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index 4e0da8c74a..cebae15e7a 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 09e53e7d0e..1b5433358d 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -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"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index ab28b36c5e..037e338e06 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.1.0-www-classic-ff628334-20250205 \ No newline at end of file +19.1.0-www-classic-b48e7399-20250206 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index d52b8cc061..b5d77e2d9a 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.1.0-www-modern-ff628334-20250205 \ No newline at end of file +19.1.0-www-modern-b48e7399-20250206 \ No newline at end of file