feat(babel-plugin-react-compiler): support satisfies operator (#32742)

Solve https://github.com/facebook/react/pull/29818

---------

Co-authored-by: Rodrigo Faria <rodrigo.faria@cartrack.com>

DiffTrain build for [ef4bc8b4f9](https://github.com/facebook/react/commit/ef4bc8b4f91023afac437be9179beef350b32db3)
This commit is contained in:
mofeiZ
2025-03-28 08:16:33 -07:00
parent 0c1b2bf6d6
commit cb70b73d5a
35 changed files with 106 additions and 87 deletions
+20 -1
View File
@@ -31354,6 +31354,19 @@ function lowerExpression(builder, exprPath) {
kind: 'TypeCastExpression',
value: lowerExpressionToTemporary(builder, expr.get('expression')),
typeAnnotation: typeAnnotation.node,
typeAnnotationKind: 'cast',
type: lowerType(typeAnnotation.node),
loc: exprLoc,
};
}
case 'TSSatisfiesExpression': {
let expr = exprPath;
const typeAnnotation = expr.get('typeAnnotation');
return {
kind: 'TypeCastExpression',
value: lowerExpressionToTemporary(builder, expr.get('expression')),
typeAnnotation: typeAnnotation.node,
typeAnnotationKind: 'satisfies',
type: lowerType(typeAnnotation.node),
loc: exprLoc,
};
@@ -31365,6 +31378,7 @@ function lowerExpression(builder, exprPath) {
kind: 'TypeCastExpression',
value: lowerExpressionToTemporary(builder, expr.get('expression')),
typeAnnotation: typeAnnotation.node,
typeAnnotationKind: 'as',
type: lowerType(typeAnnotation.node),
loc: exprLoc,
};
@@ -43346,7 +43360,12 @@ function codegenInstructionValue(cx, instrValue) {
}
case 'TypeCastExpression': {
if (libExports.isTSType(instrValue.typeAnnotation)) {
value = libExports.tsAsExpression(codegenPlaceToExpression(cx, instrValue.value), instrValue.typeAnnotation);
if (instrValue.typeAnnotationKind === 'satisfies') {
value = libExports.tsSatisfiesExpression(codegenPlaceToExpression(cx, instrValue.value), instrValue.typeAnnotation);
}
else {
value = libExports.tsAsExpression(codegenPlaceToExpression(cx, instrValue.value), instrValue.typeAnnotation);
}
}
else {
value = libExports.typeCastExpression(codegenPlaceToExpression(cx, instrValue.value), libExports.typeAnnotation(instrValue.typeAnnotation));
+1 -1
View File
@@ -1 +1 @@
8039f1b2a05d00437cd29707761aeae098c80adc
ef4bc8b4f91023afac437be9179beef350b32db3
+1 -1
View File
@@ -1 +1 @@
8039f1b2a05d00437cd29707761aeae098c80adc
ef4bc8b4f91023afac437be9179beef350b32db3
+1 -1
View File
@@ -1511,7 +1511,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1511,7 +1511,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -624,4 +624,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
+1 -1
View File
@@ -624,4 +624,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
@@ -628,7 +628,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -628,7 +628,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -18200,10 +18200,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-8039f1b2-20250327",
version: "19.1.0-www-classic-ef4bc8b4-20250328",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18237,7 +18237,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -17972,10 +17972,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-8039f1b2-20250327",
version: "19.1.0-www-modern-ef4bc8b4-20250328",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18009,7 +18009,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11152,10 +11152,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1582 = {
bundleType: 0,
version: "19.1.0-www-classic-8039f1b2-20250327",
version: "19.1.0-www-classic-ef4bc8b4-20250328",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1583 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11181,4 +11181,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
@@ -10865,10 +10865,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1555 = {
bundleType: 0,
version: "19.1.0-www-modern-8039f1b2-20250327",
version: "19.1.0-www-modern-ef4bc8b4-20250328",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1556 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10894,4 +10894,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
@@ -29918,11 +29918,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-8039f1b2-20250327" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-ef4bc8b4-20250328" !== 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-8039f1b2-20250327\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-ef4bc8b4-20250328\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29965,10 +29965,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-8039f1b2-20250327",
version: "19.1.0-www-classic-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30566,7 +30566,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -29704,11 +29704,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-8039f1b2-20250327" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-ef4bc8b4-20250328" !== 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-8039f1b2-20250327\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-ef4bc8b4-20250328\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29751,10 +29751,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-8039f1b2-20250327",
version: "19.1.0-www-modern-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30352,7 +30352,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -18807,14 +18807,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1974 = React.version;
if (
"19.1.0-www-classic-8039f1b2-20250327" !==
"19.1.0-www-classic-ef4bc8b4-20250328" !==
isomorphicReactPackageVersion$jscomp$inline_1974
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1974,
"19.1.0-www-classic-8039f1b2-20250327"
"19.1.0-www-classic-ef4bc8b4-20250328"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18832,10 +18832,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2558 = {
bundleType: 0,
version: "19.1.0-www-classic-8039f1b2-20250327",
version: "19.1.0-www-classic-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2559 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19199,4 +19199,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
@@ -18536,14 +18536,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1964 = React.version;
if (
"19.1.0-www-modern-8039f1b2-20250327" !==
"19.1.0-www-modern-ef4bc8b4-20250328" !==
isomorphicReactPackageVersion$jscomp$inline_1964
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1964,
"19.1.0-www-modern-8039f1b2-20250327"
"19.1.0-www-modern-ef4bc8b4-20250328"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18561,10 +18561,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2540 = {
bundleType: 0,
version: "19.1.0-www-modern-8039f1b2-20250327",
version: "19.1.0-www-modern-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2541 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18928,4 +18928,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
@@ -20540,14 +20540,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2134 = React.version;
if (
"19.1.0-www-classic-8039f1b2-20250327" !==
"19.1.0-www-classic-ef4bc8b4-20250328" !==
isomorphicReactPackageVersion$jscomp$inline_2134
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2134,
"19.1.0-www-classic-8039f1b2-20250327"
"19.1.0-www-classic-ef4bc8b4-20250328"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20565,10 +20565,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2136 = {
bundleType: 0,
version: "19.1.0-www-classic-8039f1b2-20250327",
version: "19.1.0-www-classic-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2136.getLaneLabelMap = getLaneLabelMap),
@@ -20935,7 +20935,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -20338,14 +20338,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2124 = React.version;
if (
"19.1.0-www-modern-8039f1b2-20250327" !==
"19.1.0-www-modern-ef4bc8b4-20250328" !==
isomorphicReactPackageVersion$jscomp$inline_2124
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2124,
"19.1.0-www-modern-8039f1b2-20250327"
"19.1.0-www-modern-ef4bc8b4-20250328"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20363,10 +20363,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2126 = {
bundleType: 0,
version: "19.1.0-www-modern-8039f1b2-20250327",
version: "19.1.0-www-modern-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2126.getLaneLabelMap = getLaneLabelMap),
@@ -20733,7 +20733,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
"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-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
})();
@@ -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-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
})();
@@ -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-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
@@ -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-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
@@ -30239,11 +30239,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-8039f1b2-20250327" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-ef4bc8b4-20250328" !== 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-8039f1b2-20250327\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-ef4bc8b4-20250328\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30286,10 +30286,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-8039f1b2-20250327",
version: "19.1.0-www-classic-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31053,5 +31053,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
})();
@@ -30025,11 +30025,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-8039f1b2-20250327" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-ef4bc8b4-20250328" !== 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-8039f1b2-20250327\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-ef4bc8b4-20250328\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30072,10 +30072,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-8039f1b2-20250327",
version: "19.1.0-www-modern-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30839,5 +30839,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
})();
@@ -19123,14 +19123,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2003 = React.version;
if (
"19.1.0-www-classic-8039f1b2-20250327" !==
"19.1.0-www-classic-ef4bc8b4-20250328" !==
isomorphicReactPackageVersion$jscomp$inline_2003
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2003,
"19.1.0-www-classic-8039f1b2-20250327"
"19.1.0-www-classic-ef4bc8b4-20250328"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19148,10 +19148,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2592 = {
bundleType: 0,
version: "19.1.0-www-classic-8039f1b2-20250327",
version: "19.1.0-www-classic-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2593 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19666,4 +19666,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
@@ -18852,14 +18852,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1993 = React.version;
if (
"19.1.0-www-modern-8039f1b2-20250327" !==
"19.1.0-www-modern-ef4bc8b4-20250328" !==
isomorphicReactPackageVersion$jscomp$inline_1993
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1993,
"19.1.0-www-modern-8039f1b2-20250327"
"19.1.0-www-modern-ef4bc8b4-20250328"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18877,10 +18877,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2574 = {
bundleType: 0,
version: "19.1.0-www-modern-8039f1b2-20250327",
version: "19.1.0-www-modern-ef4bc8b4-20250328",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2575 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19395,4 +19395,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
@@ -20845,7 +20845,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -20626,7 +20626,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13701,7 +13701,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13418,7 +13418,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15031,10 +15031,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-8039f1b2-20250327",
version: "19.1.0-www-classic-ef4bc8b4-20250328",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-classic-ef4bc8b4-20250328"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15169,5 +15169,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-classic-8039f1b2-20250327";
exports.version = "19.1.0-www-classic-ef4bc8b4-20250328";
})();
@@ -15031,10 +15031,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-8039f1b2-20250327",
version: "19.1.0-www-modern-ef4bc8b4-20250328",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-8039f1b2-20250327"
reconcilerVersion: "19.1.0-www-modern-ef4bc8b4-20250328"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15169,5 +15169,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-modern-8039f1b2-20250327";
exports.version = "19.1.0-www-modern-ef4bc8b4-20250328";
})();
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-classic-8039f1b2-20250327
19.1.0-www-classic-ef4bc8b4-20250328
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-modern-8039f1b2-20250327
19.1.0-www-modern-ef4bc8b4-20250328