From 72bde5dba98c038587a94e3c809e7d5880d10b29 Mon Sep 17 00:00:00 2001 From: rickhanlonii Date: Fri, 3 Jan 2025 10:00:45 -0800 Subject: [PATCH] [fizz] fix empty string href double warning (#31783) I think this is the suggested change from https://github.com/facebook/react/pull/31765#discussion_r1884541447 But no tests fail and I'm not sure how to test it? Seems sus. Also seems like the `removeAttribute` here should be changed? https://github.com/facebook/react/blob/9d9f12f2699a049777fa88914306ad4de9e2b74d/packages/react-dom-bindings/src/client/ReactDOMComponent.js#L400-L427 DiffTrain build for [bf883bebbc4973dea0e4801a5a62f82043ff57ee](https://github.com/facebook/react/commit/bf883bebbc4973dea0e4801a5a62f82043ff57ee) --- 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 +- .../facebook-www/React-profiling.classic.js | 2 +- .../facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 6 +- compiled/facebook-www/ReactART-dev.modern.js | 6 +- .../facebook-www/ReactART-prod.classic.js | 6 +- compiled/facebook-www/ReactART-prod.modern.js | 6 +- compiled/facebook-www/ReactDOM-dev.classic.js | 76 ++++++++++--------- compiled/facebook-www/ReactDOM-dev.modern.js | 76 ++++++++++--------- .../facebook-www/ReactDOM-prod.classic.js | 18 +++-- compiled/facebook-www/ReactDOM-prod.modern.js | 18 +++-- .../ReactDOM-profiling.classic.js | 18 +++-- .../facebook-www/ReactDOM-profiling.modern.js | 18 +++-- .../ReactDOMServer-dev.classic.js | 2 +- .../facebook-www/ReactDOMServer-dev.modern.js | 2 +- .../ReactDOMServer-prod.classic.js | 2 +- .../ReactDOMServer-prod.modern.js | 2 +- .../ReactDOMTesting-dev.classic.js | 76 ++++++++++--------- .../ReactDOMTesting-dev.modern.js | 76 ++++++++++--------- .../ReactDOMTesting-prod.classic.js | 18 +++-- .../ReactDOMTesting-prod.modern.js | 18 +++-- .../ReactReconciler-dev.classic.js | 2 +- .../ReactReconciler-dev.modern.js | 2 +- .../ReactReconciler-prod.classic.js | 2 +- .../ReactReconciler-prod.modern.js | 2 +- .../ReactTestRenderer-dev.classic.js | 6 +- .../ReactTestRenderer-dev.modern.js | 6 +- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 34 files changed, 258 insertions(+), 226 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 7948ae8f0e0c2..403eb1ca27b2d 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -3b009b4cd58d382cfde2a72232c87df1a34d56d5 +bf883bebbc4973dea0e4801a5a62f82043ff57ee diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index 7948ae8f0e0c2..403eb1ca27b2d 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -3b009b4cd58d382cfde2a72232c87df1a34d56d5 +bf883bebbc4973dea0e4801a5a62f82043ff57ee diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 7271145eaec14..6db723f16502e 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -1942,7 +1942,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-www-classic-3b009b4c-20250102"; + exports.version = "19.1.0-www-classic-bf883beb-20250103"; "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 0e675b4893587..8aa63f859a593 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1942,7 +1942,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-www-modern-3b009b4c-20250102"; + exports.version = "19.1.0-www-modern-bf883beb-20250103"; "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 704ddfc57be36..f0232cf4e88db 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -630,4 +630,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-classic-3b009b4c-20250102"; +exports.version = "19.1.0-www-classic-bf883beb-20250103"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index c324034580485..6a5f602f87470 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -630,4 +630,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-modern-3b009b4c-20250102"; +exports.version = "19.1.0-www-modern-bf883beb-20250103"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index ea86c56898c75..7d53d3121d9fe 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -634,7 +634,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-classic-3b009b4c-20250102"; +exports.version = "19.1.0-www-classic-bf883beb-20250103"; "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 f6602b77bf055..e7d639446e448 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -634,7 +634,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-modern-3b009b4c-20250102"; +exports.version = "19.1.0-www-modern-bf883beb-20250103"; "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 d12433fff51b4..a282e60fa76b9 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -16914,10 +16914,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-3b009b4c-20250102", + version: "19.1.0-www-classic-bf883beb-20250103", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16951,7 +16951,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.1.0-www-classic-3b009b4c-20250102"; + exports.version = "19.1.0-www-classic-bf883beb-20250103"; "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 822acbb13b295..22cd36c89427d 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -16677,10 +16677,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-3b009b4c-20250102", + version: "19.1.0-www-modern-bf883beb-20250103", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16714,7 +16714,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.1.0-www-modern-3b009b4c-20250102"; + exports.version = "19.1.0-www-modern-bf883beb-20250103"; "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 31cbfdfc9eba1..0d4fbaef03c10 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -10813,10 +10813,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1510 = { bundleType: 0, - version: "19.1.0-www-classic-3b009b4c-20250102", + version: "19.1.0-www-classic-bf883beb-20250103", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1511 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10842,4 +10842,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.1.0-www-classic-3b009b4c-20250102"; +exports.version = "19.1.0-www-classic-bf883beb-20250103"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 30ea46efe26e0..9f6f79ce9b0aa 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -10529,10 +10529,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1489 = { bundleType: 0, - version: "19.1.0-www-modern-3b009b4c-20250102", + version: "19.1.0-www-modern-bf883beb-20250103", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1490 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10558,4 +10558,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.1.0-www-modern-3b009b4c-20250102"; +exports.version = "19.1.0-www-modern-bf883beb-20250103"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index ecb16c091787e..63df89287f229 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -13956,7 +13956,9 @@ __DEV__ && if ( ((hoistableRoot = maybeNodes[i]), hoistableRoot.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && hoistableRoot.getAttribute("rel") === (null == current.rel ? null : current.rel) && hoistableRoot.getAttribute("title") === @@ -21219,36 +21221,34 @@ __DEV__ && } case "src": case "href": - "" !== propKey || - ("a" === tag && "href" === value) || - ("object" === tag && "data" === value) - ? hydrateSanitizedAttribute( - domElement, - value, - value, - propKey, - extraAttributes, - serverDifferences - ) - : ("src" === value - ? error$jscomp$0( - 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', - value, - value - ) - : error$jscomp$0( - 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', - value, - value - ), - hydrateSanitizedAttribute( - domElement, - value, - value, - null, - extraAttributes, - serverDifferences - )); + if ( + !( + "" !== propKey || + ("a" === tag && "href" === value) || + ("object" === tag && "data" === value) + ) + ) { + "src" === value + ? error$jscomp$0( + 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', + value, + value + ) + : error$jscomp$0( + 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', + value, + value + ); + continue; + } + hydrateSanitizedAttribute( + domElement, + value, + value, + propKey, + extraAttributes, + serverDifferences + ); continue; case "action": case "formAction": @@ -21875,7 +21875,9 @@ __DEV__ && else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null @@ -27401,11 +27403,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-classic-3b009b4c-20250102" !== isomorphicReactPackageVersion) + if ("19.1.0-www-classic-bf883beb-20250103" !== 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-3b009b4c-20250102\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-classic-bf883beb-20250103\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27448,10 +27450,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-3b009b4c-20250102", + version: "19.1.0-www-classic-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28049,7 +28051,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-classic-3b009b4c-20250102"; + exports.version = "19.1.0-www-classic-bf883beb-20250103"; "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 930b4a165895a..7f2313d378f68 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -13755,7 +13755,9 @@ __DEV__ && if ( ((hoistableRoot = maybeNodes[i]), hoistableRoot.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && hoistableRoot.getAttribute("rel") === (null == current.rel ? null : current.rel) && hoistableRoot.getAttribute("title") === @@ -21006,36 +21008,34 @@ __DEV__ && } case "src": case "href": - "" !== propKey || - ("a" === tag && "href" === value) || - ("object" === tag && "data" === value) - ? hydrateSanitizedAttribute( - domElement, - value, - value, - propKey, - extraAttributes, - serverDifferences - ) - : ("src" === value - ? error$jscomp$0( - 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', - value, - value - ) - : error$jscomp$0( - 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', - value, - value - ), - hydrateSanitizedAttribute( - domElement, - value, - value, - null, - extraAttributes, - serverDifferences - )); + if ( + !( + "" !== propKey || + ("a" === tag && "href" === value) || + ("object" === tag && "data" === value) + ) + ) { + "src" === value + ? error$jscomp$0( + 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', + value, + value + ) + : error$jscomp$0( + 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', + value, + value + ); + continue; + } + hydrateSanitizedAttribute( + domElement, + value, + value, + propKey, + extraAttributes, + serverDifferences + ); continue; case "action": case "formAction": @@ -21662,7 +21662,9 @@ __DEV__ && else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null @@ -27180,11 +27182,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-modern-3b009b4c-20250102" !== isomorphicReactPackageVersion) + if ("19.1.0-www-modern-bf883beb-20250103" !== 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-3b009b4c-20250102\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-modern-bf883beb-20250103\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27227,10 +27229,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-3b009b4c-20250102", + version: "19.1.0-www-modern-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -27828,7 +27830,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-modern-3b009b4c-20250102"; + exports.version = "19.1.0-www-modern-bf883beb-20250103"; "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 e2f6726c44188..6d7df819f51d8 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -9615,7 +9615,9 @@ function commitMutationEffectsOnFiber(finishedWork, root) { if ( ((currentResource = maybeNodes[i]), currentResource.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && currentResource.getAttribute("rel") === (null == current.rel ? null : current.rel) && currentResource.getAttribute("title") === @@ -15660,7 +15662,9 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) { else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || instance.getAttribute("title") !== @@ -17268,14 +17272,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1782 = React.version; if ( - "19.1.0-www-classic-3b009b4c-20250102" !== + "19.1.0-www-classic-bf883beb-20250103" !== isomorphicReactPackageVersion$jscomp$inline_1782 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1782, - "19.1.0-www-classic-3b009b4c-20250102" + "19.1.0-www-classic-bf883beb-20250103" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17293,10 +17297,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2317 = { bundleType: 0, - version: "19.1.0-www-classic-3b009b4c-20250102", + version: "19.1.0-www-classic-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2318 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17661,4 +17665,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-3b009b4c-20250102"; +exports.version = "19.1.0-www-classic-bf883beb-20250103"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 72ac938fe79f6..9c0f83fe95e43 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -9366,7 +9366,9 @@ function commitMutationEffectsOnFiber(finishedWork, root) { if ( ((currentResource = maybeNodes[i]), currentResource.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && currentResource.getAttribute("rel") === (null == current.rel ? null : current.rel) && currentResource.getAttribute("title") === @@ -15391,7 +15393,9 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) { else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || instance.getAttribute("title") !== @@ -16999,14 +17003,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1772 = React.version; if ( - "19.1.0-www-modern-3b009b4c-20250102" !== + "19.1.0-www-modern-bf883beb-20250103" !== isomorphicReactPackageVersion$jscomp$inline_1772 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1772, - "19.1.0-www-modern-3b009b4c-20250102" + "19.1.0-www-modern-bf883beb-20250103" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17024,10 +17028,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2299 = { bundleType: 0, - version: "19.1.0-www-modern-3b009b4c-20250102", + version: "19.1.0-www-modern-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2300 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17392,4 +17396,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-3b009b4c-20250102"; +exports.version = "19.1.0-www-modern-bf883beb-20250103"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index bde4de17b0e98..01224ec8d7e43 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -10107,7 +10107,9 @@ function commitMutationEffectsOnFiber(finishedWork, root) { if ( ((hoistableRoot = maybeNodes[i]), hoistableRoot.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && hoistableRoot.getAttribute("rel") === (null == current.rel ? null : current.rel) && hoistableRoot.getAttribute("title") === @@ -16347,7 +16349,9 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) { else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || instance.getAttribute("title") !== @@ -17955,14 +17959,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1879 = React.version; if ( - "19.1.0-www-classic-3b009b4c-20250102" !== + "19.1.0-www-classic-bf883beb-20250103" !== isomorphicReactPackageVersion$jscomp$inline_1879 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1879, - "19.1.0-www-classic-3b009b4c-20250102" + "19.1.0-www-classic-bf883beb-20250103" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17980,10 +17984,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_1881 = { bundleType: 0, - version: "19.1.0-www-classic-3b009b4c-20250102", + version: "19.1.0-www-classic-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; enableSchedulingProfiler && ((internals$jscomp$inline_1881.getLaneLabelMap = getLaneLabelMap), @@ -18351,7 +18355,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-3b009b4c-20250102"; +exports.version = "19.1.0-www-classic-bf883beb-20250103"; "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 3f47b187b1e90..8d84050c24369 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -9857,7 +9857,9 @@ function commitMutationEffectsOnFiber(finishedWork, root) { if ( ((hoistableRoot = maybeNodes[i]), hoistableRoot.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && hoistableRoot.getAttribute("rel") === (null == current.rel ? null : current.rel) && hoistableRoot.getAttribute("title") === @@ -16077,7 +16079,9 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) { else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || instance.getAttribute("title") !== @@ -17685,14 +17689,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1869 = React.version; if ( - "19.1.0-www-modern-3b009b4c-20250102" !== + "19.1.0-www-modern-bf883beb-20250103" !== isomorphicReactPackageVersion$jscomp$inline_1869 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1869, - "19.1.0-www-modern-3b009b4c-20250102" + "19.1.0-www-modern-bf883beb-20250103" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17710,10 +17714,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_1871 = { bundleType: 0, - version: "19.1.0-www-modern-3b009b4c-20250102", + version: "19.1.0-www-modern-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; enableSchedulingProfiler && ((internals$jscomp$inline_1871.getLaneLabelMap = getLaneLabelMap), @@ -18081,7 +18085,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-3b009b4c-20250102"; +exports.version = "19.1.0-www-modern-bf883beb-20250103"; "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 6ed942969e494..0a111c6f3765d 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -9150,5 +9150,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-3b009b4c-20250102"; + exports.version = "19.1.0-www-classic-bf883beb-20250103"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index ef76c1046f6c5..142255b6ecd5f 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -8976,5 +8976,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-3b009b4c-20250102"; + exports.version = "19.1.0-www-modern-bf883beb-20250103"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index b2038115d4abc..5fd95be507f7c 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -5898,4 +5898,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-3b009b4c-20250102"; +exports.version = "19.1.0-www-classic-bf883beb-20250103"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 91ecb5b67e2ef..dc4e87634faaa 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -5810,4 +5810,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-3b009b4c-20250102"; +exports.version = "19.1.0-www-modern-bf883beb-20250103"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 1c60f4505d092..c545e702fbc4f 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -13997,7 +13997,9 @@ __DEV__ && if ( ((hoistableRoot = maybeNodes[i]), hoistableRoot.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && hoistableRoot.getAttribute("rel") === (null == current.rel ? null : current.rel) && hoistableRoot.getAttribute("title") === @@ -21442,36 +21444,34 @@ __DEV__ && } case "src": case "href": - "" !== propKey || - ("a" === tag && "href" === value) || - ("object" === tag && "data" === value) - ? hydrateSanitizedAttribute( - domElement, - value, - value, - propKey, - extraAttributes, - serverDifferences - ) - : ("src" === value - ? error$jscomp$0( - 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', - value, - value - ) - : error$jscomp$0( - 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', - value, - value - ), - hydrateSanitizedAttribute( - domElement, - value, - value, - null, - extraAttributes, - serverDifferences - )); + if ( + !( + "" !== propKey || + ("a" === tag && "href" === value) || + ("object" === tag && "data" === value) + ) + ) { + "src" === value + ? error$jscomp$0( + 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', + value, + value + ) + : error$jscomp$0( + 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', + value, + value + ); + continue; + } + hydrateSanitizedAttribute( + domElement, + value, + value, + propKey, + extraAttributes, + serverDifferences + ); continue; case "action": case "formAction": @@ -22098,7 +22098,9 @@ __DEV__ && else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null @@ -27735,11 +27737,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-classic-3b009b4c-20250102" !== isomorphicReactPackageVersion) + if ("19.1.0-www-classic-bf883beb-20250103" !== 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-3b009b4c-20250102\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-classic-bf883beb-20250103\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27782,10 +27784,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-3b009b4c-20250102", + version: "19.1.0-www-classic-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28549,5 +28551,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-classic-3b009b4c-20250102"; + exports.version = "19.1.0-www-classic-bf883beb-20250103"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index c46e759efed48..443fb51a167a8 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -13796,7 +13796,9 @@ __DEV__ && if ( ((hoistableRoot = maybeNodes[i]), hoistableRoot.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && hoistableRoot.getAttribute("rel") === (null == current.rel ? null : current.rel) && hoistableRoot.getAttribute("title") === @@ -21229,36 +21231,34 @@ __DEV__ && } case "src": case "href": - "" !== propKey || - ("a" === tag && "href" === value) || - ("object" === tag && "data" === value) - ? hydrateSanitizedAttribute( - domElement, - value, - value, - propKey, - extraAttributes, - serverDifferences - ) - : ("src" === value - ? error$jscomp$0( - 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', - value, - value - ) - : error$jscomp$0( - 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', - value, - value - ), - hydrateSanitizedAttribute( - domElement, - value, - value, - null, - extraAttributes, - serverDifferences - )); + if ( + !( + "" !== propKey || + ("a" === tag && "href" === value) || + ("object" === tag && "data" === value) + ) + ) { + "src" === value + ? error$jscomp$0( + 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', + value, + value + ) + : error$jscomp$0( + 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.', + value, + value + ); + continue; + } + hydrateSanitizedAttribute( + domElement, + value, + value, + propKey, + extraAttributes, + serverDifferences + ); continue; case "action": case "formAction": @@ -21885,7 +21885,9 @@ __DEV__ && else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null @@ -27514,11 +27516,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-modern-3b009b4c-20250102" !== isomorphicReactPackageVersion) + if ("19.1.0-www-modern-bf883beb-20250103" !== 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-3b009b4c-20250102\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-modern-bf883beb-20250103\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27561,10 +27563,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-3b009b4c-20250102", + version: "19.1.0-www-modern-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28328,5 +28330,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-modern-3b009b4c-20250102"; + exports.version = "19.1.0-www-modern-bf883beb-20250103"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index 68017d551c006..553df2c8430ee 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -9701,7 +9701,9 @@ function commitMutationEffectsOnFiber(finishedWork, root) { if ( ((currentResource = maybeNodes[i]), currentResource.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && currentResource.getAttribute("rel") === (null == current.rel ? null : current.rel) && currentResource.getAttribute("title") === @@ -15932,7 +15934,9 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) { else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || instance.getAttribute("title") !== @@ -17597,14 +17601,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1811 = React.version; if ( - "19.1.0-www-classic-3b009b4c-20250102" !== + "19.1.0-www-classic-bf883beb-20250103" !== isomorphicReactPackageVersion$jscomp$inline_1811 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1811, - "19.1.0-www-classic-3b009b4c-20250102" + "19.1.0-www-classic-bf883beb-20250103" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17622,10 +17626,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2351 = { bundleType: 0, - version: "19.1.0-www-classic-3b009b4c-20250102", + version: "19.1.0-www-classic-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2352 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -18141,4 +18145,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-3b009b4c-20250102"; +exports.version = "19.1.0-www-classic-bf883beb-20250103"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 7f834da092e08..034992e018f11 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -9452,7 +9452,9 @@ function commitMutationEffectsOnFiber(finishedWork, root) { if ( ((currentResource = maybeNodes[i]), currentResource.getAttribute("href") === - (null == current.href ? null : current.href) && + (null == current.href || "" === current.href + ? null + : current.href) && currentResource.getAttribute("rel") === (null == current.rel ? null : current.rel) && currentResource.getAttribute("title") === @@ -15663,7 +15665,9 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) { else if ( name !== anyProps.rel || instance.getAttribute("href") !== - (null == anyProps.href ? null : anyProps.href) || + (null == anyProps.href || "" === anyProps.href + ? null + : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || instance.getAttribute("title") !== @@ -17328,14 +17332,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1801 = React.version; if ( - "19.1.0-www-modern-3b009b4c-20250102" !== + "19.1.0-www-modern-bf883beb-20250103" !== isomorphicReactPackageVersion$jscomp$inline_1801 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1801, - "19.1.0-www-modern-3b009b4c-20250102" + "19.1.0-www-modern-bf883beb-20250103" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17353,10 +17357,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2333 = { bundleType: 0, - version: "19.1.0-www-modern-3b009b4c-20250102", + version: "19.1.0-www-modern-bf883beb-20250103", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2334 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17872,4 +17876,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-3b009b4c-20250102"; +exports.version = "19.1.0-www-modern-bf883beb-20250103"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index 3c065beb6e209..a83a5550b5b73 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -19077,7 +19077,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index c847d7d44dc1c..131d99671c3ae 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -18851,7 +18851,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 8bdb8ed71b565..55ad3ea946830 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -12836,7 +12836,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 8d24df0581bc7..ff947691d44d1 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -12555,7 +12555,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index b0dc92eb932c6..e0e28099745d3 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -14962,10 +14962,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-3b009b4c-20250102", + version: "19.1.0-www-classic-bf883beb-20250103", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15100,5 +15100,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.1.0-www-classic-3b009b4c-20250102"; + exports.version = "19.1.0-www-classic-bf883beb-20250103"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index ad527ac8d225f..4aeec6004c09c 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -14962,10 +14962,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-3b009b4c-20250102", + version: "19.1.0-www-modern-bf883beb-20250103", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-3b009b4c-20250102" + reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15100,5 +15100,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.1.0-www-modern-3b009b4c-20250102"; + exports.version = "19.1.0-www-modern-bf883beb-20250103"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index eaba05672dd27..d2dc00f48232c 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.1.0-www-classic-3b009b4c-20250102 \ No newline at end of file +19.1.0-www-classic-bf883beb-20250103 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index a8e7f7b74b5f2..bde8e44fc998b 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.1.0-www-modern-3b009b4c-20250102 \ No newline at end of file +19.1.0-www-modern-bf883beb-20250103 \ No newline at end of file