mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler][patch] Emit unary expressions instead of negative numbers (#33383)
This is a babel bug + edge case.
Babel compact mode produces invalid JavaScript (i.e. parse error) when
given a `NumericLiteral` with a negative value.
See https://codesandbox.io/p/devbox/5d47fr for repro.
DiffTrain build for [526dd340b3](https://github.com/facebook/react/commit/526dd340b3e77193846fe5eed02b9bb89d7c2d15)
This commit is contained in:
@@ -44961,7 +44961,12 @@ function codegenLValue(cx, pattern) {
|
||||
}
|
||||
function codegenValue(cx, loc, value) {
|
||||
if (typeof value === 'number') {
|
||||
return libExports$1.numericLiteral(value);
|
||||
if (value < 0) {
|
||||
return libExports$1.unaryExpression('-', libExports$1.numericLiteral(-value), false);
|
||||
}
|
||||
else {
|
||||
return libExports$1.numericLiteral(value);
|
||||
}
|
||||
}
|
||||
else if (typeof value === 'boolean') {
|
||||
return libExports$1.booleanLiteral(value);
|
||||
|
||||
@@ -1 +1 @@
|
||||
14094f80cbf52cad4024211080d8491f3334ef61
|
||||
526dd340b3e77193846fe5eed02b9bb89d7c2d15
|
||||
|
||||
@@ -1 +1 @@
|
||||
14094f80cbf52cad4024211080d8491f3334ef61
|
||||
526dd340b3e77193846fe5eed02b9bb89d7c2d15
|
||||
|
||||
@@ -1537,7 +1537,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1537,7 +1537,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
|
||||
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
|
||||
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
"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-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -19080,10 +19080,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-classic-14094f80-20250529",
|
||||
version: "19.2.0-www-classic-526dd340-20250602",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -19117,7 +19117,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -18852,10 +18852,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-modern-14094f80-20250529",
|
||||
version: "19.2.0-www-modern-526dd340-20250602",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -18889,7 +18889,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -11392,10 +11392,10 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1624 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-classic-14094f80-20250529",
|
||||
version: "19.2.0-www-classic-526dd340-20250602",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1625 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -11421,4 +11421,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
|
||||
@@ -11104,10 +11104,10 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1597 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-modern-14094f80-20250529",
|
||||
version: "19.2.0-www-modern-526dd340-20250602",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1598 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -11133,4 +11133,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
|
||||
@@ -31452,11 +31452,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-www-classic-14094f80-20250529" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-www-classic-526dd340-20250602" !== 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-14094f80-20250529\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-www-classic-526dd340-20250602\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -31499,10 +31499,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-classic-14094f80-20250529",
|
||||
version: "19.2.0-www-classic-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -32102,7 +32102,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -31238,11 +31238,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-www-modern-14094f80-20250529" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-www-modern-526dd340-20250602" !== 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-14094f80-20250529\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-www-modern-526dd340-20250602\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -31285,10 +31285,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-modern-14094f80-20250529",
|
||||
version: "19.2.0-www-modern-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -31888,7 +31888,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -19566,14 +19566,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2083 = React.version;
|
||||
if (
|
||||
"19.2.0-www-classic-14094f80-20250529" !==
|
||||
"19.2.0-www-classic-526dd340-20250602" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2083
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2083,
|
||||
"19.2.0-www-classic-14094f80-20250529"
|
||||
"19.2.0-www-classic-526dd340-20250602"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19591,10 +19591,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2696 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-classic-14094f80-20250529",
|
||||
version: "19.2.0-www-classic-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2697 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -20006,4 +20006,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
|
||||
@@ -19295,14 +19295,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2073 = React.version;
|
||||
if (
|
||||
"19.2.0-www-modern-14094f80-20250529" !==
|
||||
"19.2.0-www-modern-526dd340-20250602" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2073
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2073,
|
||||
"19.2.0-www-modern-14094f80-20250529"
|
||||
"19.2.0-www-modern-526dd340-20250602"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19320,10 +19320,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2678 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-modern-14094f80-20250529",
|
||||
version: "19.2.0-www-modern-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2679 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -19735,4 +19735,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
|
||||
@@ -21548,14 +21548,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2327 = React.version;
|
||||
if (
|
||||
"19.2.0-www-classic-14094f80-20250529" !==
|
||||
"19.2.0-www-classic-526dd340-20250602" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2327
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2327,
|
||||
"19.2.0-www-classic-14094f80-20250529"
|
||||
"19.2.0-www-classic-526dd340-20250602"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -21573,10 +21573,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2329 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-classic-14094f80-20250529",
|
||||
version: "19.2.0-www-classic-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_2329.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -21991,7 +21991,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -21346,14 +21346,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2317 = React.version;
|
||||
if (
|
||||
"19.2.0-www-modern-14094f80-20250529" !==
|
||||
"19.2.0-www-modern-526dd340-20250602" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2317
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2317,
|
||||
"19.2.0-www-modern-14094f80-20250529"
|
||||
"19.2.0-www-modern-526dd340-20250602"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -21371,10 +21371,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2319 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-modern-14094f80-20250529",
|
||||
version: "19.2.0-www-modern-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_2319.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -21789,7 +21789,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -10148,5 +10148,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-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
})();
|
||||
|
||||
@@ -10077,5 +10077,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-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
})();
|
||||
|
||||
@@ -6859,4 +6859,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-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
|
||||
@@ -6717,4 +6717,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-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
|
||||
@@ -31773,11 +31773,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-www-classic-14094f80-20250529" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-www-classic-526dd340-20250602" !== 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-14094f80-20250529\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-www-classic-526dd340-20250602\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -31820,10 +31820,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-classic-14094f80-20250529",
|
||||
version: "19.2.0-www-classic-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -32589,5 +32589,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
})();
|
||||
|
||||
@@ -31559,11 +31559,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-www-modern-14094f80-20250529" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-www-modern-526dd340-20250602" !== 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-14094f80-20250529\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-www-modern-526dd340-20250602\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -31606,10 +31606,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-modern-14094f80-20250529",
|
||||
version: "19.2.0-www-modern-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -32375,5 +32375,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
})();
|
||||
|
||||
@@ -19882,14 +19882,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2112 = React.version;
|
||||
if (
|
||||
"19.2.0-www-classic-14094f80-20250529" !==
|
||||
"19.2.0-www-classic-526dd340-20250602" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2112
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2112,
|
||||
"19.2.0-www-classic-14094f80-20250529"
|
||||
"19.2.0-www-classic-526dd340-20250602"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19907,10 +19907,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2730 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-classic-14094f80-20250529",
|
||||
version: "19.2.0-www-classic-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2731 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -20473,4 +20473,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
|
||||
@@ -19611,14 +19611,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2102 = React.version;
|
||||
if (
|
||||
"19.2.0-www-modern-14094f80-20250529" !==
|
||||
"19.2.0-www-modern-526dd340-20250602" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2102
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2102,
|
||||
"19.2.0-www-modern-14094f80-20250529"
|
||||
"19.2.0-www-modern-526dd340-20250602"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19636,10 +19636,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2712 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-modern-14094f80-20250529",
|
||||
version: "19.2.0-www-modern-526dd340-20250602",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2713 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -20202,4 +20202,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
|
||||
@@ -21908,7 +21908,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -21689,7 +21689,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -14135,7 +14135,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -13852,7 +13852,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -15386,10 +15386,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-classic-14094f80-20250529",
|
||||
version: "19.2.0-www-classic-526dd340-20250602",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-classic-526dd340-20250602"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15524,5 +15524,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-classic-526dd340-20250602";
|
||||
})();
|
||||
|
||||
@@ -15386,10 +15386,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-modern-14094f80-20250529",
|
||||
version: "19.2.0-www-modern-526dd340-20250602",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-14094f80-20250529"
|
||||
reconcilerVersion: "19.2.0-www-modern-526dd340-20250602"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15524,5 +15524,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-14094f80-20250529";
|
||||
exports.version = "19.2.0-www-modern-526dd340-20250602";
|
||||
})();
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.2.0-www-classic-14094f80-20250529
|
||||
19.2.0-www-classic-526dd340-20250602
|
||||
@@ -1 +1 @@
|
||||
19.2.0-www-modern-14094f80-20250529
|
||||
19.2.0-www-modern-526dd340-20250602
|
||||
Reference in New Issue
Block a user