mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
InferEffectDeps takes a React.AUTODEPS sigil (#33799)
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33799).
* #33800
* __->__ #33799
DiffTrain build for [dffacc7b80](https://github.com/facebook/react/commit/dffacc7b8094576c19790fe8341996f743ba4a89)
This commit is contained in:
@@ -20860,6 +20860,7 @@ const BuiltInFireId = 'BuiltInFire';
|
||||
const BuiltInFireFunctionId = 'BuiltInFireFunction';
|
||||
const BuiltInUseEffectEventId = 'BuiltInUseEffectEvent';
|
||||
const BuiltinEffectEventId = 'BuiltInEffectEventFunction';
|
||||
const BuiltInAutodepsId = 'BuiltInAutoDepsId';
|
||||
const ReanimatedSharedValueId = 'ReanimatedSharedValueId';
|
||||
const BUILTIN_SHAPES = new Map();
|
||||
addObject(BUILTIN_SHAPES, BuiltInPropsId, [
|
||||
@@ -29728,6 +29729,7 @@ const REACT_APIS = [
|
||||
returnValueKind: ValueKind.Frozen,
|
||||
}, BuiltInUseEffectEventId),
|
||||
],
|
||||
['AUTODEPS', addObject(DEFAULT_SHAPES, BuiltInAutodepsId, [])],
|
||||
];
|
||||
TYPED_GLOBALS.push([
|
||||
'React',
|
||||
@@ -45235,7 +45237,12 @@ function inferEffectDependencies(fn) {
|
||||
else if (value.kind === 'CallExpression' ||
|
||||
value.kind === 'MethodCall') {
|
||||
const callee = value.kind === 'CallExpression' ? value.callee : value.property;
|
||||
if (value.args.length === autodepFnLoads.get(callee.identifier.id) &&
|
||||
const autodepsArgIndex = value.args.findIndex(arg => arg.kind === 'Identifier' &&
|
||||
arg.identifier.type.kind === 'Object' &&
|
||||
arg.identifier.type.shapeId === BuiltInAutodepsId);
|
||||
if (value.args.length > 1 &&
|
||||
autodepsArgIndex > 0 &&
|
||||
autodepFnLoads.has(callee.identifier.id) &&
|
||||
value.args[0].kind === 'Identifier') {
|
||||
const effectDeps = [];
|
||||
const deps = {
|
||||
@@ -45302,7 +45309,7 @@ function inferEffectDependencies(fn) {
|
||||
effects: null,
|
||||
},
|
||||
});
|
||||
value.args.push(Object.assign(Object.assign({}, depsPlace), { effect: Effect.Freeze }));
|
||||
value.args[autodepsArgIndex] = Object.assign(Object.assign({}, depsPlace), { effect: Effect.Freeze });
|
||||
fn.env.inferredEffectLocations.add(callee.loc);
|
||||
}
|
||||
else if (loadGlobals.has(value.args[0].identifier.id)) {
|
||||
@@ -45317,7 +45324,7 @@ function inferEffectDependencies(fn) {
|
||||
effects: null,
|
||||
},
|
||||
});
|
||||
value.args.push(Object.assign(Object.assign({}, depsPlace), { effect: Effect.Freeze }));
|
||||
value.args[autodepsArgIndex] = Object.assign(Object.assign({}, depsPlace), { effect: Effect.Freeze });
|
||||
fn.env.inferredEffectLocations.add(callee.loc);
|
||||
}
|
||||
}
|
||||
@@ -45351,6 +45358,7 @@ function inferEffectDependencies(fn) {
|
||||
markPredecessors(fn.body);
|
||||
markInstructionIds(fn.body);
|
||||
fixScopeAndIdentifierRanges(fn.body);
|
||||
deadCodeElimination(fn);
|
||||
fn.env.hasInferredEffect = true;
|
||||
}
|
||||
}
|
||||
@@ -45387,7 +45395,7 @@ function rewriteSplices(originalBlock, splices, rewriteBlocks) {
|
||||
if (rewrite.kind === 'instr') {
|
||||
currBlock.instructions.push(rewrite.value);
|
||||
}
|
||||
else {
|
||||
else if (rewrite.kind === 'block') {
|
||||
const { entry, blocks } = rewrite.value;
|
||||
const entryBlock = blocks.get(entry);
|
||||
currBlock.instructions.push(...entryBlock.instructions);
|
||||
|
||||
@@ -1 +1 @@
|
||||
9fec565a9b9f78558323adff1013291cf46f7de7
|
||||
dffacc7b8094576c19790fe8341996f743ba4a89
|
||||
|
||||
@@ -1 +1 @@
|
||||
9fec565a9b9f78558323adff1013291cf46f7de7
|
||||
dffacc7b8094576c19790fe8341996f743ba4a89
|
||||
|
||||
@@ -1434,7 +1434,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1434,7 +1434,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
|
||||
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
|
||||
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -19300,10 +19300,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-classic-9fec565a-20250716",
|
||||
version: "19.2.0-www-classic-dffacc7b-20250717",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -19337,7 +19337,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -19071,10 +19071,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-modern-9fec565a-20250716",
|
||||
version: "19.2.0-www-modern-dffacc7b-20250717",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -19108,7 +19108,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -11305,10 +11305,10 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1610 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-classic-9fec565a-20250716",
|
||||
version: "19.2.0-www-classic-dffacc7b-20250717",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1611 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -11334,4 +11334,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
|
||||
@@ -11017,10 +11017,10 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1583 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-modern-9fec565a-20250716",
|
||||
version: "19.2.0-www-modern-dffacc7b-20250717",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1584 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -11046,4 +11046,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
|
||||
@@ -31749,11 +31749,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-www-classic-9fec565a-20250716" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-www-classic-dffacc7b-20250717" !== 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-9fec565a-20250716\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-www-classic-dffacc7b-20250717\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -31796,10 +31796,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-classic-9fec565a-20250716",
|
||||
version: "19.2.0-www-classic-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -32399,7 +32399,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -31534,11 +31534,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-www-modern-9fec565a-20250716" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-www-modern-dffacc7b-20250717" !== 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-9fec565a-20250716\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-www-modern-dffacc7b-20250717\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -31581,10 +31581,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-modern-9fec565a-20250716",
|
||||
version: "19.2.0-www-modern-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -32184,7 +32184,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -19564,14 +19564,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2069 = React.version;
|
||||
if (
|
||||
"19.2.0-www-classic-9fec565a-20250716" !==
|
||||
"19.2.0-www-classic-dffacc7b-20250717" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2069
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2069,
|
||||
"19.2.0-www-classic-9fec565a-20250716"
|
||||
"19.2.0-www-classic-dffacc7b-20250717"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19589,10 +19589,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2682 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-classic-9fec565a-20250716",
|
||||
version: "19.2.0-www-classic-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2683 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -20004,4 +20004,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
|
||||
@@ -19293,14 +19293,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2059 = React.version;
|
||||
if (
|
||||
"19.2.0-www-modern-9fec565a-20250716" !==
|
||||
"19.2.0-www-modern-dffacc7b-20250717" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059,
|
||||
"19.2.0-www-modern-9fec565a-20250716"
|
||||
"19.2.0-www-modern-dffacc7b-20250717"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19318,10 +19318,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2664 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-modern-9fec565a-20250716",
|
||||
version: "19.2.0-www-modern-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2665 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -19733,4 +19733,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
|
||||
@@ -21572,14 +21572,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2315 = React.version;
|
||||
if (
|
||||
"19.2.0-www-classic-9fec565a-20250716" !==
|
||||
"19.2.0-www-classic-dffacc7b-20250717" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2315
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2315,
|
||||
"19.2.0-www-classic-9fec565a-20250716"
|
||||
"19.2.0-www-classic-dffacc7b-20250717"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -21597,10 +21597,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2317 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-classic-9fec565a-20250716",
|
||||
version: "19.2.0-www-classic-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_2317.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -22015,7 +22015,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -21366,14 +21366,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2305 = React.version;
|
||||
if (
|
||||
"19.2.0-www-modern-9fec565a-20250716" !==
|
||||
"19.2.0-www-modern-dffacc7b-20250717" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2305
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2305,
|
||||
"19.2.0-www-modern-9fec565a-20250716"
|
||||
"19.2.0-www-modern-dffacc7b-20250717"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -21391,10 +21391,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2307 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-modern-9fec565a-20250716",
|
||||
version: "19.2.0-www-modern-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_2307.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -21809,7 +21809,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -10137,5 +10137,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-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
})();
|
||||
|
||||
@@ -10066,5 +10066,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-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
})();
|
||||
|
||||
@@ -6868,4 +6868,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-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
|
||||
@@ -6801,4 +6801,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-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
|
||||
@@ -32070,11 +32070,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-www-classic-9fec565a-20250716" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-www-classic-dffacc7b-20250717" !== 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-9fec565a-20250716\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-www-classic-dffacc7b-20250717\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -32117,10 +32117,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-classic-9fec565a-20250716",
|
||||
version: "19.2.0-www-classic-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -32886,5 +32886,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
})();
|
||||
|
||||
@@ -31855,11 +31855,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-www-modern-9fec565a-20250716" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-www-modern-dffacc7b-20250717" !== 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-9fec565a-20250716\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-www-modern-dffacc7b-20250717\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -31902,10 +31902,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-modern-9fec565a-20250716",
|
||||
version: "19.2.0-www-modern-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -32671,5 +32671,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
})();
|
||||
|
||||
@@ -19880,14 +19880,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2098 = React.version;
|
||||
if (
|
||||
"19.2.0-www-classic-9fec565a-20250716" !==
|
||||
"19.2.0-www-classic-dffacc7b-20250717" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2098
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2098,
|
||||
"19.2.0-www-classic-9fec565a-20250716"
|
||||
"19.2.0-www-classic-dffacc7b-20250717"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19905,10 +19905,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2716 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-classic-9fec565a-20250716",
|
||||
version: "19.2.0-www-classic-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2717 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -20471,4 +20471,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
|
||||
@@ -19609,14 +19609,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2088 = React.version;
|
||||
if (
|
||||
"19.2.0-www-modern-9fec565a-20250716" !==
|
||||
"19.2.0-www-modern-dffacc7b-20250717" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2088
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2088,
|
||||
"19.2.0-www-modern-9fec565a-20250716"
|
||||
"19.2.0-www-modern-dffacc7b-20250717"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19634,10 +19634,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2698 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-www-modern-9fec565a-20250716",
|
||||
version: "19.2.0-www-modern-dffacc7b-20250717",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2699 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -20200,4 +20200,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
|
||||
@@ -22127,7 +22127,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -21907,7 +21907,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -14061,7 +14061,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -13778,7 +13778,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -15434,10 +15434,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-classic-9fec565a-20250716",
|
||||
version: "19.2.0-www-classic-dffacc7b-20250717",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-classic-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-classic-dffacc7b-20250717"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15572,5 +15572,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.2.0-www-classic-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-classic-dffacc7b-20250717";
|
||||
})();
|
||||
|
||||
@@ -15434,10 +15434,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-www-modern-9fec565a-20250716",
|
||||
version: "19.2.0-www-modern-dffacc7b-20250717",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-www-modern-9fec565a-20250716"
|
||||
reconcilerVersion: "19.2.0-www-modern-dffacc7b-20250717"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15572,5 +15572,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.2.0-www-modern-9fec565a-20250716";
|
||||
exports.version = "19.2.0-www-modern-dffacc7b-20250717";
|
||||
})();
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.2.0-www-classic-9fec565a-20250716
|
||||
19.2.0-www-classic-dffacc7b-20250717
|
||||
@@ -1 +1 @@
|
||||
19.2.0-www-modern-9fec565a-20250716
|
||||
19.2.0-www-modern-dffacc7b-20250717
|
||||
Reference in New Issue
Block a user