Change autodeps configuration (#33800)

DiffTrain build for [074e92777c](https://github.com/facebook/react/commit/074e92777c22a56269647d614fdae80bf6406485)
This commit is contained in:
jbrown215
2025-07-21 13:10:15 -07:00
parent c8dd9b6eb2
commit e674366e63
26 changed files with 157 additions and 105 deletions
+1 -1
View File
@@ -1 +1 @@
19.2.0-native-fb-e9638c33-20250721
19.2.0-native-fb-074e9277-20250721
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<3a9e9d178f83ec61aa7e42b011f9935c>>
* @generated SignedSource<<d3691680387cb3d86d76b1583f16dc35>>
*/
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d68390ad0b8b39ee2d7978274230b7b1>>
* @generated SignedSource<<03557a5f656b23243177a120851db241>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d68390ad0b8b39ee2d7978274230b7b1>>
* @generated SignedSource<<03557a5f656b23243177a120851db241>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<165144841ff0e075c81838b915a2a7fb>>
* @generated SignedSource<<e92cbf79645f71e07f82164c04d062cc>>
*/
/*
@@ -29007,11 +29007,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-e9638c33-20250721" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-074e9277-20250721" !== 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-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-074e9277-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29048,10 +29048,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29189,5 +29189,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8ced9afe514df31667cc3f3dd79cb4da>>
* @generated SignedSource<<975aa2683dcffc186c2a1e7aba45daf0>>
*/
/*
@@ -17123,14 +17123,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2004 = React.version;
if (
"19.2.0-native-fb-e9638c33-20250721" !==
"19.2.0-native-fb-074e9277-20250721" !==
isomorphicReactPackageVersion$jscomp$inline_2004
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2004,
"19.2.0-native-fb-e9638c33-20250721"
"19.2.0-native-fb-074e9277-20250721"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17152,10 +17152,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2523 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2524 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17253,4 +17253,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f5351d439548f2a7dad8c6fb287ec2a7>>
* @generated SignedSource<<f326d39296a977c0f62164b6743463f5>>
*/
/*
@@ -19081,14 +19081,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2244 = React.version;
if (
"19.2.0-native-fb-e9638c33-20250721" !==
"19.2.0-native-fb-074e9277-20250721" !==
isomorphicReactPackageVersion$jscomp$inline_2244
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2244,
"19.2.0-native-fb-e9638c33-20250721"
"19.2.0-native-fb-074e9277-20250721"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19110,10 +19110,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2251 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721",
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$319 = 0;
@@ -19226,4 +19226,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f412d82c0543b5f173aa40839b400117>>
* @generated SignedSource<<652286867a3a3d01bd0e4555f4c16e82>>
*/
/*
@@ -29063,11 +29063,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-e9638c33-20250721" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-074e9277-20250721" !== 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-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-074e9277-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29104,10 +29104,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29561,7 +29561,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<dd9204fe190aafba77dcb946d7fb88ad>>
* @generated SignedSource<<11293040ca7ca5dc12e756b770af6132>>
*/
/*
@@ -17134,14 +17134,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2005 = React.version;
if (
"19.2.0-native-fb-e9638c33-20250721" !==
"19.2.0-native-fb-074e9277-20250721" !==
isomorphicReactPackageVersion$jscomp$inline_2005
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2005,
"19.2.0-native-fb-e9638c33-20250721"
"19.2.0-native-fb-074e9277-20250721"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17163,10 +17163,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2526 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2527 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17417,4 +17417,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<adb5cb40591396ba9056c2013d745b73>>
* @generated SignedSource<<1319401d895484bdecf03e0967c4535f>>
*/
/*
@@ -19096,14 +19096,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2245 = React.version;
if (
"19.2.0-native-fb-e9638c33-20250721" !==
"19.2.0-native-fb-074e9277-20250721" !==
isomorphicReactPackageVersion$jscomp$inline_2245
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2245,
"19.2.0-native-fb-e9638c33-20250721"
"19.2.0-native-fb-074e9277-20250721"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19125,10 +19125,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2252 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721",
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$319 = 0;
@@ -19394,7 +19394,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1bb7c673da75aad5e02323c5c65fcfcd>>
* @generated SignedSource<<3aadcac7db053cf150b7ebd68ba4dac8>>
*/
"use strict";
@@ -15727,10 +15727,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15875,5 +15875,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<db2a974ce2dd5589cee977be69642c24>>
* @generated SignedSource<<b79e2b024bd47462d4c7efe56b104282>>
*/
"use strict";
@@ -9907,10 +9907,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1434 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1435 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10046,4 +10046,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<12b833e8545fa16262c1b6ee1d135c23>>
* @generated SignedSource<<acccd0f6022602965c842e00710ca6fb>>
*/
"use strict";
@@ -10527,10 +10527,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1241 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721",
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$143 = 0;
@@ -10681,4 +10681,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<bc4cb6c3723df6774bd3ad8abb6fdfcb>>
* @generated SignedSource<<a88dca1191772c5f95fc07b1994885b3>>
*/
"use strict";
@@ -1413,7 +1413,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<412837ed111c0068e166addd041acd62>>
* @generated SignedSource<<dba9f11f82e8d3426ec8af84aeff11d9>>
*/
"use strict";
@@ -589,4 +589,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f0405a71ae38b555269f3e0addaaf8c6>>
* @generated SignedSource<<ee92e1fea2a38dc2af24ad94abecd29f>>
*/
"use strict";
@@ -593,7 +593,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-e9638c33-20250721";
exports.version = "19.2.0-native-fb-074e9277-20250721";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
e9638c33d7e79162516b89da31549af4090997a5
074e92777c22a56269647d614fdae80bf6406485
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<181df4e43d45d66e2c10cab2de6a9fd0>>
* @generated SignedSource<<01d71e06c8af6997c756b4ceb736bfa3>>
*/
"use strict";
@@ -19226,10 +19226,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<937f755edbb2776bc87ce75c6e3a89a9>>
* @generated SignedSource<<5047139c61c8085f4ff31d24801c73b5>>
*/
"use strict";
@@ -11011,10 +11011,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1237 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1237.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<dd42b43d1b3e351b0168d225cc09caa8>>
* @generated SignedSource<<c9b0d297d3c34f2fd89e98a4a16ed674>>
*/
"use strict";
@@ -12940,10 +12940,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1472 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1472.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9d9c608130a6c8e28d4afafc62aa8dcc>>
* @generated SignedSource<<8826750763e00f0982e4c989a1b4ca25>>
*/
"use strict";
@@ -19584,11 +19584,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-e9638c33-20250721" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-074e9277-20250721" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-074e9277-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -19614,10 +19614,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<4dcffb8e8ed9ca9542e6e36bb20f9a5d>>
* @generated SignedSource<<f3ece6c4b7021e5b95dd57f3bf1f0dee>>
*/
"use strict";
@@ -11237,11 +11237,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-e9638c33-20250721" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-074e9277-20250721" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-074e9277-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11291,10 +11291,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1295 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1295.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<cced89845729564aa251be7d63550491>>
* @generated SignedSource<<78e10164fe5fc8217d3bf20e0b8cd535>>
*/
"use strict";
@@ -13155,11 +13155,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-e9638c33-20250721" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-074e9277-20250721" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-074e9277-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -13209,10 +13209,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1530 = {
bundleType: 0,
version: "19.2.0-native-fb-e9638c33-20250721",
version: "19.2.0-native-fb-074e9277-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
reconcilerVersion: "19.2.0-native-fb-074e9277-20250721"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1530.rendererConfig = extraDevToolsConfig);
@@ -12,7 +12,7 @@
* @lightSyntaxTransform
* @preventMunge
* @oncall react_core
* @generated SignedSource<<73a2f127fed928a3cc241c714cec3609>>
* @generated SignedSource<<c53cfbb071c13d01aa1b2af9ffa6cba9>>
*/
'use strict';
@@ -30112,7 +30112,7 @@ const EnvironmentConfigSchema = zod.z.object({
inferEffectDependencies: zod.z
.nullable(zod.z.array(zod.z.object({
function: ExternalFunctionSchema,
numRequiredArgs: zod.z.number().min(1, 'numRequiredArgs must be > 0'),
autodepsIndex: zod.z.number().min(1, 'autodepsIndex must be > 0'),
})))
.default(null),
inlineJsxTransform: ReactElementSymbolSchema.nullable().default(null),
@@ -45179,7 +45179,7 @@ function inferEffectDependencies(fn) {
const autodepFnConfigs = new Map();
for (const effectTarget of fn.env.config.inferEffectDependencies) {
const moduleTargets = getOrInsertWith(autodepFnConfigs, effectTarget.function.source, () => new Map());
moduleTargets.set(effectTarget.function.importSpecifierName, effectTarget.numRequiredArgs);
moduleTargets.set(effectTarget.function.importSpecifierName, effectTarget.autodepsIndex);
}
const autodepFnLoads = new Map();
const autodepModuleLoads = new Map();
@@ -45241,8 +45241,10 @@ function inferEffectDependencies(fn) {
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 &&
const autodepsArgExpectedIndex = autodepFnLoads.get(callee.identifier.id);
if (value.args.length > 0 &&
autodepsArgExpectedIndex != null &&
autodepsArgIndex === autodepsArgExpectedIndex &&
autodepFnLoads.has(callee.identifier.id) &&
value.args[0].kind === 'Identifier') {
const effectDeps = [];
@@ -51591,7 +51593,30 @@ function throwInvalidReact(options, { logger, filename }) {
});
CompilerError.throw(detail);
}
function assertValidEffectImportReference(numArgs, paths, context) {
function isAutodepsSigil(arg) {
if (arg.isIdentifier() && arg.node.name === 'AUTODEPS') {
const binding = arg.scope.getBinding(arg.node.name);
if (binding && binding.path.isImportSpecifier()) {
const importSpecifier = binding.path.node;
if (importSpecifier.imported.type === 'Identifier') {
return importSpecifier.imported.name === 'AUTODEPS';
}
}
return false;
}
if (arg.isMemberExpression() && !arg.node.computed) {
const object = arg.get('object');
const property = arg.get('property');
if (object.isIdentifier() &&
object.node.name === 'React' &&
property.isIdentifier() &&
property.node.name === 'AUTODEPS') {
return true;
}
}
return false;
}
function assertValidEffectImportReference(autodepsIndex, paths, context) {
var _a;
for (const path of paths) {
const parent = path.parentPath;
@@ -51600,7 +51625,8 @@ function assertValidEffectImportReference(numArgs, paths, context) {
const maybeCalleeLoc = path.node.loc;
const hasInferredEffect = maybeCalleeLoc != null &&
context.inferredEffectLocations.has(maybeCalleeLoc);
if (args.length === numArgs && !hasInferredEffect) {
const hasAutodepsArg = args.some(isAutodepsSigil);
if (hasAutodepsArg && !hasInferredEffect) {
const maybeErrorDiagnostic = matchCompilerDiagnostic(path, context.transformErrors);
throwInvalidReact({
reason: '[InferEffectDependencies] React Compiler is unable to infer dependencies of this effect. ' +
@@ -51638,9 +51664,9 @@ function validateNoUntransformedReferences(path, filename, logger, env, compileR
}
}
if (env.inferEffectDependencies) {
for (const { function: { source, importSpecifierName }, numRequiredArgs, } of env.inferEffectDependencies) {
for (const { function: { source, importSpecifierName }, autodepsIndex, } of env.inferEffectDependencies) {
const module = getOrInsertWith(moduleLoadChecks, source, () => new Map());
module.set(importSpecifierName, assertValidEffectImportReference.bind(null, numRequiredArgs));
module.set(importSpecifierName, assertValidEffectImportReference.bind(null, autodepsIndex));
}
}
if (moduleLoadChecks.size > 0) {
@@ -6,7 +6,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* @generated SignedSource<<edb548dbaf9002130b0f087072940691>>
* @generated SignedSource<<10dfc473171da37ca7e8575e59c9d826>>
*/
'use strict';
@@ -29891,7 +29891,7 @@ const EnvironmentConfigSchema = zod.z.object({
inferEffectDependencies: zod.z
.nullable(zod.z.array(zod.z.object({
function: ExternalFunctionSchema,
numRequiredArgs: zod.z.number().min(1, 'numRequiredArgs must be > 0'),
autodepsIndex: zod.z.number().min(1, 'autodepsIndex must be > 0'),
})))
.default(null),
inlineJsxTransform: ReactElementSymbolSchema.nullable().default(null),
@@ -44958,7 +44958,7 @@ function inferEffectDependencies(fn) {
const autodepFnConfigs = new Map();
for (const effectTarget of fn.env.config.inferEffectDependencies) {
const moduleTargets = getOrInsertWith(autodepFnConfigs, effectTarget.function.source, () => new Map());
moduleTargets.set(effectTarget.function.importSpecifierName, effectTarget.numRequiredArgs);
moduleTargets.set(effectTarget.function.importSpecifierName, effectTarget.autodepsIndex);
}
const autodepFnLoads = new Map();
const autodepModuleLoads = new Map();
@@ -45020,8 +45020,10 @@ function inferEffectDependencies(fn) {
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 &&
const autodepsArgExpectedIndex = autodepFnLoads.get(callee.identifier.id);
if (value.args.length > 0 &&
autodepsArgExpectedIndex != null &&
autodepsArgIndex === autodepsArgExpectedIndex &&
autodepFnLoads.has(callee.identifier.id) &&
value.args[0].kind === 'Identifier') {
const effectDeps = [];
@@ -51370,7 +51372,30 @@ function throwInvalidReact(options, { logger, filename }) {
});
CompilerError.throw(detail);
}
function assertValidEffectImportReference(numArgs, paths, context) {
function isAutodepsSigil(arg) {
if (arg.isIdentifier() && arg.node.name === 'AUTODEPS') {
const binding = arg.scope.getBinding(arg.node.name);
if (binding && binding.path.isImportSpecifier()) {
const importSpecifier = binding.path.node;
if (importSpecifier.imported.type === 'Identifier') {
return importSpecifier.imported.name === 'AUTODEPS';
}
}
return false;
}
if (arg.isMemberExpression() && !arg.node.computed) {
const object = arg.get('object');
const property = arg.get('property');
if (object.isIdentifier() &&
object.node.name === 'React' &&
property.isIdentifier() &&
property.node.name === 'AUTODEPS') {
return true;
}
}
return false;
}
function assertValidEffectImportReference(autodepsIndex, paths, context) {
var _a;
for (const path of paths) {
const parent = path.parentPath;
@@ -51379,7 +51404,8 @@ function assertValidEffectImportReference(numArgs, paths, context) {
const maybeCalleeLoc = path.node.loc;
const hasInferredEffect = maybeCalleeLoc != null &&
context.inferredEffectLocations.has(maybeCalleeLoc);
if (args.length === numArgs && !hasInferredEffect) {
const hasAutodepsArg = args.some(isAutodepsSigil);
if (hasAutodepsArg && !hasInferredEffect) {
const maybeErrorDiagnostic = matchCompilerDiagnostic(path, context.transformErrors);
throwInvalidReact({
reason: '[InferEffectDependencies] React Compiler is unable to infer dependencies of this effect. ' +
@@ -51417,9 +51443,9 @@ function validateNoUntransformedReferences(path, filename, logger, env, compileR
}
}
if (env.inferEffectDependencies) {
for (const { function: { source, importSpecifierName }, numRequiredArgs, } of env.inferEffectDependencies) {
for (const { function: { source, importSpecifierName }, autodepsIndex, } of env.inferEffectDependencies) {
const module = getOrInsertWith(moduleLoadChecks, source, () => new Map());
module.set(importSpecifierName, assertValidEffectImportReference.bind(null, numRequiredArgs));
module.set(importSpecifierName, assertValidEffectImportReference.bind(null, autodepsIndex));
}
}
if (moduleLoadChecks.size > 0) {
@@ -1,7 +1,7 @@
{
"name": "eslint-plugin-react-hooks",
"description": "ESLint rules for React Hooks",
"version": "0.0.0-experimental-e9638c33-20250721",
"version": "0.0.0-experimental-074e9277-20250721",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",