[compiler] Patch array and argument spread mutability (#32521)

Array and argument spreads may mutate stateful iterables. Spread sites
should have `ConditionallyMutate` effects (e.g. mutate if the ValueKind
is mutable, otherwise read).

See
- [ecma spec (13.2.4.1 Runtime Semantics: ArrayAccumulation.
SpreadElement : ...
AssignmentExpression)](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-runtime-semantics-arrayaccumulation).
- [ecma spec 13.3.8.1 Runtime Semantics:
ArgumentListEvaluation](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-runtime-semantics-argumentlistevaluation)

Note that
- Object and JSX Attribute spreads do not evaluate iterables (srcs
[mozilla](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax#description),
[ecma](https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-runtime-semantics-propertydefinitionevaluation))
- An ideal mutability inference system could model known collections
(i.e. Arrays or Sets) as a "mutated collection of non-mutable objects"
(see `todo-granular-iterator-semantics`), but this is not what we do
today. As such, an array / argument spread will always extend the range
of built-in arrays, sets, etc
- Due to HIR limitations, call expressions with argument spreads may
cause unnecessary bailouts and/or scope merging when we know the call
itself has `freeze`, `capture`, or `read` semantics (e.g.
`useHook(...mutableValue)`)
We can deal with this by rewriting these call instructions to (1) create
an intermediate array to consume the iterator and (2) capture and spread
the array at the callsite
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32521).
* #32596
* #32595
* #32594
* #32593
* #32522
* __->__ #32521

DiffTrain build for [ed1264f077](https://github.com/facebook/react/commit/ed1264f07701e092ac1a8466611372613d1a0102)
This commit is contained in:
mofeiZ
2025-03-13 09:07:02 -07:00
committed by mofeiZ
parent bb873cb58c
commit 8a728a15a8
33 changed files with 84 additions and 98 deletions
+1 -1
View File
@@ -1532,7 +1532,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1532,7 +1532,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
+1 -1
View File
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -18546,10 +18546,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-38a76009-20250313",
version: "19.1.0-www-classic-ed1264f0-20250313",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18583,7 +18583,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -18318,10 +18318,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-38a76009-20250313",
version: "19.1.0-www-modern-ed1264f0-20250313",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18355,7 +18355,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11341,10 +11341,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1587 = {
bundleType: 0,
version: "19.1.0-www-classic-38a76009-20250313",
version: "19.1.0-www-classic-ed1264f0-20250313",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1588 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11370,4 +11370,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
@@ -11056,10 +11056,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1560 = {
bundleType: 0,
version: "19.1.0-www-modern-38a76009-20250313",
version: "19.1.0-www-modern-ed1264f0-20250313",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1561 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11085,4 +11085,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
@@ -30197,11 +30197,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-38a76009-20250313" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-ed1264f0-20250313" !== 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-38a76009-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-ed1264f0-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30244,10 +30244,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-38a76009-20250313",
version: "19.1.0-www-classic-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30845,7 +30845,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -29983,11 +29983,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-38a76009-20250313" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-ed1264f0-20250313" !== 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-38a76009-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-ed1264f0-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30030,10 +30030,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-38a76009-20250313",
version: "19.1.0-www-modern-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30631,7 +30631,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -18935,14 +18935,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1925 = React.version;
if (
"19.1.0-www-classic-38a76009-20250313" !==
"19.1.0-www-classic-ed1264f0-20250313" !==
isomorphicReactPackageVersion$jscomp$inline_1925
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1925,
"19.1.0-www-classic-38a76009-20250313"
"19.1.0-www-classic-ed1264f0-20250313"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18960,10 +18960,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2505 = {
bundleType: 0,
version: "19.1.0-www-classic-38a76009-20250313",
version: "19.1.0-www-classic-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2506 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19327,4 +19327,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
@@ -18666,14 +18666,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1915 = React.version;
if (
"19.1.0-www-modern-38a76009-20250313" !==
"19.1.0-www-modern-ed1264f0-20250313" !==
isomorphicReactPackageVersion$jscomp$inline_1915
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1915,
"19.1.0-www-modern-38a76009-20250313"
"19.1.0-www-modern-ed1264f0-20250313"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18691,10 +18691,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2487 = {
bundleType: 0,
version: "19.1.0-www-modern-38a76009-20250313",
version: "19.1.0-www-modern-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2488 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19058,4 +19058,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
@@ -20677,14 +20677,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2085 = React.version;
if (
"19.1.0-www-classic-38a76009-20250313" !==
"19.1.0-www-classic-ed1264f0-20250313" !==
isomorphicReactPackageVersion$jscomp$inline_2085
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2085,
"19.1.0-www-classic-38a76009-20250313"
"19.1.0-www-classic-ed1264f0-20250313"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20702,10 +20702,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2087 = {
bundleType: 0,
version: "19.1.0-www-classic-38a76009-20250313",
version: "19.1.0-www-classic-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2087.getLaneLabelMap = getLaneLabelMap),
@@ -21072,7 +21072,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -20475,14 +20475,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2075 = React.version;
if (
"19.1.0-www-modern-38a76009-20250313" !==
"19.1.0-www-modern-ed1264f0-20250313" !==
isomorphicReactPackageVersion$jscomp$inline_2075
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2075,
"19.1.0-www-modern-38a76009-20250313"
"19.1.0-www-modern-ed1264f0-20250313"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20500,10 +20500,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2077 = {
bundleType: 0,
version: "19.1.0-www-modern-38a76009-20250313",
version: "19.1.0-www-modern-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2077.getLaneLabelMap = getLaneLabelMap),
@@ -20870,7 +20870,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9412,5 +9412,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-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
})();
@@ -9238,5 +9238,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-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
})();
@@ -6196,4 +6196,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-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
@@ -6108,4 +6108,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-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
@@ -30518,11 +30518,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-38a76009-20250313" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-ed1264f0-20250313" !== 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-38a76009-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-ed1264f0-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30565,10 +30565,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-38a76009-20250313",
version: "19.1.0-www-classic-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31332,5 +31332,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
})();
@@ -30304,11 +30304,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-38a76009-20250313" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-ed1264f0-20250313" !== 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-38a76009-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-ed1264f0-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30351,10 +30351,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-38a76009-20250313",
version: "19.1.0-www-modern-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31118,5 +31118,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
})();
@@ -19251,14 +19251,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1954 = React.version;
if (
"19.1.0-www-classic-38a76009-20250313" !==
"19.1.0-www-classic-ed1264f0-20250313" !==
isomorphicReactPackageVersion$jscomp$inline_1954
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1954,
"19.1.0-www-classic-38a76009-20250313"
"19.1.0-www-classic-ed1264f0-20250313"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19276,10 +19276,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2539 = {
bundleType: 0,
version: "19.1.0-www-classic-38a76009-20250313",
version: "19.1.0-www-classic-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2540 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19794,4 +19794,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
@@ -18982,14 +18982,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1944 = React.version;
if (
"19.1.0-www-modern-38a76009-20250313" !==
"19.1.0-www-modern-ed1264f0-20250313" !==
isomorphicReactPackageVersion$jscomp$inline_1944
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1944,
"19.1.0-www-modern-38a76009-20250313"
"19.1.0-www-modern-ed1264f0-20250313"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19007,10 +19007,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2521 = {
bundleType: 0,
version: "19.1.0-www-modern-38a76009-20250313",
version: "19.1.0-www-modern-ed1264f0-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2522 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19525,4 +19525,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
@@ -21261,7 +21261,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -21042,7 +21042,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13950,7 +13950,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13669,7 +13669,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15076,10 +15076,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-38a76009-20250313",
version: "19.1.0-www-classic-ed1264f0-20250313",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-38a76009-20250313"
reconcilerVersion: "19.1.0-www-classic-ed1264f0-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15214,5 +15214,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-classic-38a76009-20250313";
exports.version = "19.1.0-www-classic-ed1264f0-20250313";
})();
@@ -15076,10 +15076,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-38a76009-20250313",
version: "19.1.0-www-modern-ed1264f0-20250313",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-38a76009-20250313"
reconcilerVersion: "19.1.0-www-modern-ed1264f0-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15214,5 +15214,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-modern-38a76009-20250313";
exports.version = "19.1.0-www-modern-ed1264f0-20250313";
})();
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-classic-38a76009-20250313
19.1.0-www-classic-ed1264f0-20250313
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-modern-38a76009-20250313
19.1.0-www-modern-ed1264f0-20250313
@@ -42530,20 +42530,6 @@ PERFORMANCE OF THIS SOFTWARE.
returnValueKind: ValueKind.Primitive
})
],
[
"from",
addFunction(DEFAULT_SHAPES, [], {
positionalParams: [
Effect.ConditionallyMutate,
Effect.ConditionallyMutate,
Effect.ConditionallyMutate
],
restParam: Effect.Read,
returnType: { kind: "Object", shapeId: BuiltInArrayId },
calleeEffect: Effect.Read,
returnValueKind: ValueKind.Mutable
})
],
[
"of",
addFunction(DEFAULT_SHAPES, [], {