[compiler] Fix error message for custom hooks (#33310)

We were printing "Custom" instead of "hook".

DiffTrain build for [c6c2a52ad8](https://github.com/facebook/react/commit/c6c2a52ad8fb1894b03a3bb618eb57e5deca5aa0)
This commit is contained in:
josephsavona
2025-05-19 15:36:12 -07:00
parent 08d69e21e4
commit 2ca88df3e2
35 changed files with 87 additions and 87 deletions
+1 -1
View File
@@ -52871,7 +52871,7 @@ function visitFunctionExpression(errors, fn) {
severity: ErrorSeverity.InvalidReact,
reason: 'Hooks must be called at the top level in the body of a function component or custom hook, and may not be called within function expressions. See the Rules of Hooks (https://react.dev/warnings/invalid-hook-call-warning)',
loc: callee.loc,
description: `Cannot call ${hookKind} within a function component`,
description: `Cannot call ${hookKind === 'Custom' ? 'hook' : hookKind} within a function expression`,
suggestions: null,
}));
}
+1 -1
View File
@@ -1 +1 @@
5dc1b212c330b6f456789f8d58e0f87abefbb86c
c6c2a52ad8fb1894b03a3bb618eb57e5deca5aa0
+1 -1
View File
@@ -1 +1 @@
5dc1b212c330b6f456789f8d58e0f87abefbb86c
c6c2a52ad8fb1894b03a3bb618eb57e5deca5aa0
+1 -1
View File
@@ -1537,7 +1537,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1537,7 +1537,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
+1 -1
View File
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19063,10 +19063,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-5dc1b212-20250519",
version: "19.2.0-www-classic-c6c2a52a-20250519",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19100,7 +19100,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -18835,10 +18835,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-5dc1b212-20250519",
version: "19.2.0-www-modern-c6c2a52a-20250519",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18872,7 +18872,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11391,10 +11391,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1624 = {
bundleType: 0,
version: "19.2.0-www-classic-5dc1b212-20250519",
version: "19.2.0-www-classic-c6c2a52a-20250519",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1625 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11420,4 +11420,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
@@ -11103,10 +11103,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1597 = {
bundleType: 0,
version: "19.2.0-www-modern-5dc1b212-20250519",
version: "19.2.0-www-modern-c6c2a52a-20250519",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1598 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11132,4 +11132,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
@@ -31430,11 +31430,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-5dc1b212-20250519" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-c6c2a52a-20250519" !== 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.2.0-www-classic-5dc1b212-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31477,10 +31477,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-5dc1b212-20250519",
version: "19.2.0-www-classic-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32080,7 +32080,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -31216,11 +31216,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-5dc1b212-20250519" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-c6c2a52a-20250519" !== 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.2.0-www-modern-5dc1b212-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31263,10 +31263,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-5dc1b212-20250519",
version: "19.2.0-www-modern-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31866,7 +31866,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19563,14 +19563,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2083 = React.version;
if (
"19.2.0-www-classic-5dc1b212-20250519" !==
"19.2.0-www-classic-c6c2a52a-20250519" !==
isomorphicReactPackageVersion$jscomp$inline_2083
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2083,
"19.2.0-www-classic-5dc1b212-20250519"
"19.2.0-www-classic-c6c2a52a-20250519"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19588,10 +19588,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2696 = {
bundleType: 0,
version: "19.2.0-www-classic-5dc1b212-20250519",
version: "19.2.0-www-classic-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2697 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20003,4 +20003,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
@@ -19292,14 +19292,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2073 = React.version;
if (
"19.2.0-www-modern-5dc1b212-20250519" !==
"19.2.0-www-modern-c6c2a52a-20250519" !==
isomorphicReactPackageVersion$jscomp$inline_2073
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2073,
"19.2.0-www-modern-5dc1b212-20250519"
"19.2.0-www-modern-c6c2a52a-20250519"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19317,10 +19317,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2678 = {
bundleType: 0,
version: "19.2.0-www-modern-5dc1b212-20250519",
version: "19.2.0-www-modern-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2679 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19732,4 +19732,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
@@ -21545,14 +21545,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2327 = React.version;
if (
"19.2.0-www-classic-5dc1b212-20250519" !==
"19.2.0-www-classic-c6c2a52a-20250519" !==
isomorphicReactPackageVersion$jscomp$inline_2327
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2327,
"19.2.0-www-classic-5dc1b212-20250519"
"19.2.0-www-classic-c6c2a52a-20250519"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21570,10 +21570,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2329 = {
bundleType: 0,
version: "19.2.0-www-classic-5dc1b212-20250519",
version: "19.2.0-www-classic-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2329.getLaneLabelMap = getLaneLabelMap),
@@ -21988,7 +21988,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -21343,14 +21343,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2317 = React.version;
if (
"19.2.0-www-modern-5dc1b212-20250519" !==
"19.2.0-www-modern-c6c2a52a-20250519" !==
isomorphicReactPackageVersion$jscomp$inline_2317
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2317,
"19.2.0-www-modern-5dc1b212-20250519"
"19.2.0-www-modern-c6c2a52a-20250519"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21368,10 +21368,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2319 = {
bundleType: 0,
version: "19.2.0-www-modern-5dc1b212-20250519",
version: "19.2.0-www-modern-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2319.getLaneLabelMap = getLaneLabelMap),
@@ -21786,7 +21786,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9968,5 +9968,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.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
})();
@@ -9897,5 +9897,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.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
})();
@@ -6673,4 +6673,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.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
@@ -6583,4 +6583,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.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
@@ -31751,11 +31751,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-5dc1b212-20250519" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-c6c2a52a-20250519" !== 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.2.0-www-classic-5dc1b212-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31798,10 +31798,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-5dc1b212-20250519",
version: "19.2.0-www-classic-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32567,5 +32567,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
})();
@@ -31537,11 +31537,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-5dc1b212-20250519" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-c6c2a52a-20250519" !== 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.2.0-www-modern-5dc1b212-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-c6c2a52a-20250519\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31584,10 +31584,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-5dc1b212-20250519",
version: "19.2.0-www-modern-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32353,5 +32353,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
})();
@@ -19879,14 +19879,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2112 = React.version;
if (
"19.2.0-www-classic-5dc1b212-20250519" !==
"19.2.0-www-classic-c6c2a52a-20250519" !==
isomorphicReactPackageVersion$jscomp$inline_2112
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2112,
"19.2.0-www-classic-5dc1b212-20250519"
"19.2.0-www-classic-c6c2a52a-20250519"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19904,10 +19904,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2730 = {
bundleType: 0,
version: "19.2.0-www-classic-5dc1b212-20250519",
version: "19.2.0-www-classic-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2731 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20470,4 +20470,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
@@ -19608,14 +19608,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2102 = React.version;
if (
"19.2.0-www-modern-5dc1b212-20250519" !==
"19.2.0-www-modern-c6c2a52a-20250519" !==
isomorphicReactPackageVersion$jscomp$inline_2102
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2102,
"19.2.0-www-modern-5dc1b212-20250519"
"19.2.0-www-modern-c6c2a52a-20250519"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19633,10 +19633,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2712 = {
bundleType: 0,
version: "19.2.0-www-modern-5dc1b212-20250519",
version: "19.2.0-www-modern-c6c2a52a-20250519",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2713 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20199,4 +20199,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
@@ -21857,7 +21857,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -21638,7 +21638,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -14100,7 +14100,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13817,7 +13817,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15369,10 +15369,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-5dc1b212-20250519",
version: "19.2.0-www-classic-c6c2a52a-20250519",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-classic-c6c2a52a-20250519"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15507,5 +15507,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-5dc1b212-20250519";
exports.version = "19.2.0-www-classic-c6c2a52a-20250519";
})();
@@ -15369,10 +15369,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-5dc1b212-20250519",
version: "19.2.0-www-modern-c6c2a52a-20250519",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-5dc1b212-20250519"
reconcilerVersion: "19.2.0-www-modern-c6c2a52a-20250519"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15507,5 +15507,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-5dc1b212-20250519";
exports.version = "19.2.0-www-modern-c6c2a52a-20250519";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-5dc1b212-20250519
19.2.0-www-classic-c6c2a52a-20250519
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-5dc1b212-20250519
19.2.0-www-modern-c6c2a52a-20250519