Fix ownerStackLimit feature gating for tests (#32726)

https://github.com/facebook/react/pull/32529 added a dynamic flag for
this, but that breaks tests since the flags are not defined everywhere.

However, this is a static value and the flag is only for supporting
existing tests. So we can override it in the test config, and make it
static at built time instead.

DiffTrain build for [f99c9feaf7](https://github.com/facebook/react/commit/f99c9feaf786fbdad0ad8d2d81196a247302dd3c)
This commit is contained in:
jackpope
2025-03-26 09:09:00 -07:00
parent 3f7455b1b6
commit 2057aaeae8
36 changed files with 100 additions and 106 deletions
@@ -310,8 +310,7 @@ __DEV__ &&
enableRenderableContext = dynamicFeatureFlags.enableRenderableContext,
enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing,
renameElementSymbol = dynamicFeatureFlags.renameElementSymbol,
enableViewTransition = dynamicFeatureFlags.enableViewTransition,
ownerStackLimit = dynamicFeatureFlags.ownerStackLimit;
enableViewTransition = dynamicFeatureFlags.enableViewTransition;
dynamicFeatureFlags = Symbol.for("react.element");
var REACT_ELEMENT_TYPE = renameElementSymbol
? Symbol.for("react.transitional.element")
@@ -364,7 +363,7 @@ __DEV__ &&
self
) {
var trackActualOwner =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(
type,
config,
@@ -310,8 +310,7 @@ __DEV__ &&
enableRenderableContext = dynamicFeatureFlags.enableRenderableContext,
enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing,
renameElementSymbol = dynamicFeatureFlags.renameElementSymbol,
enableViewTransition = dynamicFeatureFlags.enableViewTransition,
ownerStackLimit = dynamicFeatureFlags.ownerStackLimit;
enableViewTransition = dynamicFeatureFlags.enableViewTransition;
dynamicFeatureFlags = Symbol.for("react.element");
var REACT_ELEMENT_TYPE = renameElementSymbol
? Symbol.for("react.transitional.element")
@@ -364,7 +363,7 @@ __DEV__ &&
self
) {
var trackActualOwner =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(
type,
config,
+1 -1
View File
@@ -1 +1 @@
8ac25e5201579c65d115d91c211ac719a235d982
f99c9feaf786fbdad0ad8d2d81196a247302dd3c
+1 -1
View File
@@ -1 +1 @@
8ac25e5201579c65d115d91c211ac719a235d982
f99c9feaf786fbdad0ad8d2d81196a247302dd3c
+6 -8
View File
@@ -694,8 +694,7 @@ __DEV__ &&
enableUseEffectCRUDOverload =
dynamicFeatureFlags.enableUseEffectCRUDOverload,
renameElementSymbol = dynamicFeatureFlags.renameElementSymbol,
enableViewTransition = dynamicFeatureFlags.enableViewTransition,
ownerStackLimit = dynamicFeatureFlags.ownerStackLimit;
enableViewTransition = dynamicFeatureFlags.enableViewTransition;
dynamicFeatureFlags = Symbol.for("react.element");
var REACT_ELEMENT_TYPE = renameElementSymbol
? Symbol.for("react.transitional.element")
@@ -1202,8 +1201,7 @@ __DEV__ &&
? type.displayName || type.name || "Unknown"
: type
);
var propName =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return ReactElement(
type,
key,
@@ -1267,7 +1265,7 @@ __DEV__ &&
exports.isValidElement = isValidElement;
exports.jsx = function (type, config, maybeKey, source, self) {
var trackActualOwner =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(
type,
config,
@@ -1290,7 +1288,7 @@ __DEV__ &&
self
) {
var trackActualOwner =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(
type,
config,
@@ -1306,7 +1304,7 @@ __DEV__ &&
};
exports.jsxs = function (type, config, maybeKey, source, self) {
var trackActualOwner =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(
type,
config,
@@ -1537,7 +1535,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+6 -8
View File
@@ -694,8 +694,7 @@ __DEV__ &&
enableUseEffectCRUDOverload =
dynamicFeatureFlags.enableUseEffectCRUDOverload,
renameElementSymbol = dynamicFeatureFlags.renameElementSymbol,
enableViewTransition = dynamicFeatureFlags.enableViewTransition,
ownerStackLimit = dynamicFeatureFlags.ownerStackLimit;
enableViewTransition = dynamicFeatureFlags.enableViewTransition;
dynamicFeatureFlags = Symbol.for("react.element");
var REACT_ELEMENT_TYPE = renameElementSymbol
? Symbol.for("react.transitional.element")
@@ -1202,8 +1201,7 @@ __DEV__ &&
? type.displayName || type.name || "Unknown"
: type
);
var propName =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return ReactElement(
type,
key,
@@ -1267,7 +1265,7 @@ __DEV__ &&
exports.isValidElement = isValidElement;
exports.jsx = function (type, config, maybeKey, source, self) {
var trackActualOwner =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(
type,
config,
@@ -1290,7 +1288,7 @@ __DEV__ &&
self
) {
var trackActualOwner =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(
type,
config,
@@ -1306,7 +1304,7 @@ __DEV__ &&
};
exports.jsxs = function (type, config, maybeKey, source, self) {
var trackActualOwner =
ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(
type,
config,
@@ -1537,7 +1535,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
+1 -1
View File
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -18526,10 +18526,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-8ac25e52-20250325",
version: "19.1.0-www-classic-f99c9fea-20250326",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18563,7 +18563,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -18298,10 +18298,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-8ac25e52-20250325",
version: "19.1.0-www-modern-f99c9fea-20250326",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18335,7 +18335,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11281,10 +11281,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1599 = {
bundleType: 0,
version: "19.1.0-www-classic-8ac25e52-20250325",
version: "19.1.0-www-classic-f99c9fea-20250326",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1600 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11310,4 +11310,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
@@ -10994,10 +10994,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1572 = {
bundleType: 0,
version: "19.1.0-www-modern-8ac25e52-20250325",
version: "19.1.0-www-modern-f99c9fea-20250326",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1573 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11023,4 +11023,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
@@ -30242,11 +30242,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-8ac25e52-20250325" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-f99c9fea-20250326" !== 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-8ac25e52-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-f99c9fea-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30289,10 +30289,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-8ac25e52-20250325",
version: "19.1.0-www-classic-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30890,7 +30890,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -30028,11 +30028,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-8ac25e52-20250325" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-f99c9fea-20250326" !== 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-8ac25e52-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-f99c9fea-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30075,10 +30075,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-8ac25e52-20250325",
version: "19.1.0-www-modern-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30676,7 +30676,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -18925,14 +18925,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1989 = React.version;
if (
"19.1.0-www-classic-8ac25e52-20250325" !==
"19.1.0-www-classic-f99c9fea-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_1989
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1989,
"19.1.0-www-classic-8ac25e52-20250325"
"19.1.0-www-classic-f99c9fea-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18950,10 +18950,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2573 = {
bundleType: 0,
version: "19.1.0-www-classic-8ac25e52-20250325",
version: "19.1.0-www-classic-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2574 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19317,4 +19317,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
@@ -18654,14 +18654,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1979 = React.version;
if (
"19.1.0-www-modern-8ac25e52-20250325" !==
"19.1.0-www-modern-f99c9fea-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_1979
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1979,
"19.1.0-www-modern-8ac25e52-20250325"
"19.1.0-www-modern-f99c9fea-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18679,10 +18679,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2555 = {
bundleType: 0,
version: "19.1.0-www-modern-8ac25e52-20250325",
version: "19.1.0-www-modern-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2556 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19046,4 +19046,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
@@ -20657,14 +20657,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2149 = React.version;
if (
"19.1.0-www-classic-8ac25e52-20250325" !==
"19.1.0-www-classic-f99c9fea-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_2149
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2149,
"19.1.0-www-classic-8ac25e52-20250325"
"19.1.0-www-classic-f99c9fea-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20682,10 +20682,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2151 = {
bundleType: 0,
version: "19.1.0-www-classic-8ac25e52-20250325",
version: "19.1.0-www-classic-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2151.getLaneLabelMap = getLaneLabelMap),
@@ -21052,7 +21052,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -20455,14 +20455,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2139 = React.version;
if (
"19.1.0-www-modern-8ac25e52-20250325" !==
"19.1.0-www-modern-f99c9fea-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_2139
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2139,
"19.1.0-www-modern-8ac25e52-20250325"
"19.1.0-www-modern-f99c9fea-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20480,10 +20480,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2141 = {
bundleType: 0,
version: "19.1.0-www-modern-8ac25e52-20250325",
version: "19.1.0-www-modern-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2141.getLaneLabelMap = getLaneLabelMap),
@@ -20850,7 +20850,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9440,5 +9440,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-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
})();
@@ -9369,5 +9369,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-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
})();
@@ -6203,4 +6203,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-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
@@ -6115,4 +6115,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-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
@@ -30563,11 +30563,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-8ac25e52-20250325" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-f99c9fea-20250326" !== 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-8ac25e52-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-f99c9fea-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30610,10 +30610,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-8ac25e52-20250325",
version: "19.1.0-www-classic-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31377,5 +31377,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
})();
@@ -30349,11 +30349,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-8ac25e52-20250325" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-f99c9fea-20250326" !== 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-8ac25e52-20250325\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-f99c9fea-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30396,10 +30396,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-8ac25e52-20250325",
version: "19.1.0-www-modern-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31163,5 +31163,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
})();
@@ -19241,14 +19241,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2018 = React.version;
if (
"19.1.0-www-classic-8ac25e52-20250325" !==
"19.1.0-www-classic-f99c9fea-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_2018
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2018,
"19.1.0-www-classic-8ac25e52-20250325"
"19.1.0-www-classic-f99c9fea-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19266,10 +19266,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2607 = {
bundleType: 0,
version: "19.1.0-www-classic-8ac25e52-20250325",
version: "19.1.0-www-classic-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2608 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19784,4 +19784,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
@@ -18970,14 +18970,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2008 = React.version;
if (
"19.1.0-www-modern-8ac25e52-20250325" !==
"19.1.0-www-modern-f99c9fea-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_2008
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2008,
"19.1.0-www-modern-8ac25e52-20250325"
"19.1.0-www-modern-f99c9fea-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18995,10 +18995,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2589 = {
bundleType: 0,
version: "19.1.0-www-modern-8ac25e52-20250325",
version: "19.1.0-www-modern-f99c9fea-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2590 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19513,4 +19513,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
@@ -21173,7 +21173,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -20954,7 +20954,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13829,7 +13829,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13546,7 +13546,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15044,10 +15044,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-8ac25e52-20250325",
version: "19.1.0-www-classic-f99c9fea-20250326",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-classic-f99c9fea-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15182,5 +15182,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-classic-8ac25e52-20250325";
exports.version = "19.1.0-www-classic-f99c9fea-20250326";
})();
@@ -15044,10 +15044,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-8ac25e52-20250325",
version: "19.1.0-www-modern-f99c9fea-20250326",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8ac25e52-20250325"
reconcilerVersion: "19.1.0-www-modern-f99c9fea-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15182,5 +15182,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-modern-8ac25e52-20250325";
exports.version = "19.1.0-www-modern-f99c9fea-20250326";
})();
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-classic-8ac25e52-20250325
19.1.0-www-classic-f99c9fea-20250326
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-modern-8ac25e52-20250325
19.1.0-www-modern-f99c9fea-20250326