mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[lint] Remove experimental gating useEffectEvent rules (#34660)
Stacked on https://github.com/facebook/react/pull/34637
`useEffectEvent` is now in canary so we need to remove this
`__EXPERIMENTAL__` gating on the rules and tests
DiffTrain build for [57b16e3788](https://github.com/facebook/react/commit/57b16e37887b324e4a077fd302b805d63421b695)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-92cfdc3a-20250930
|
||||
19.2.0-native-fb-57b16e37-20250930
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<afe364d7d464dd4c9a1915395766cf43>>
|
||||
* @generated SignedSource<<38f84b26e6e6420bfefc9c3942d1cd51>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4ddc7aa666e05f9113eba8c6dcc4082f>>
|
||||
* @generated SignedSource<<44f2daae37318744c1f70512890d9281>>
|
||||
*/
|
||||
|
||||
"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-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4ddc7aa666e05f9113eba8c6dcc4082f>>
|
||||
* @generated SignedSource<<44f2daae37318744c1f70512890d9281>>
|
||||
*/
|
||||
|
||||
"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-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<f1a9ca58e5ec0daf418b5e1fdc167de6>>
|
||||
* @generated SignedSource<<4445945023e5fb167c4aa018c2e07056>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -30042,11 +30042,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-92cfdc3a-20250930" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-57b16e37-20250930" !== 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-92cfdc3a-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-57b16e37-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -30083,10 +30083,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30236,5 +30236,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c19ada7fdb3b21a4093c52b8c8cb924d>>
|
||||
* @generated SignedSource<<b86d077a428d6688a5c017713f8fbc0e>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17577,14 +17577,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2059 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-92cfdc3a-20250930" !==
|
||||
"19.2.0-native-fb-57b16e37-20250930" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059,
|
||||
"19.2.0-native-fb-92cfdc3a-20250930"
|
||||
"19.2.0-native-fb-57b16e37-20250930"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17606,10 +17606,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2636 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2637 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17716,4 +17716,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6621b2d86eeae904280b790b1ccf1c49>>
|
||||
* @generated SignedSource<<e46a36db13f65b05306b58aa55c6fc3e>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19697,14 +19697,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2374 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-92cfdc3a-20250930" !==
|
||||
"19.2.0-native-fb-57b16e37-20250930" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2374
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2374,
|
||||
"19.2.0-native-fb-92cfdc3a-20250930"
|
||||
"19.2.0-native-fb-57b16e37-20250930"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19726,10 +19726,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2381 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$331 = 0;
|
||||
@@ -19852,4 +19852,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<17efb7963fa0ba99901dc0d59685d1bf>>
|
||||
* @generated SignedSource<<73ffb8b63ad9c0ba79c7e76b238f9847>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -30098,11 +30098,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-92cfdc3a-20250930" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-57b16e37-20250930" !== 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-92cfdc3a-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-57b16e37-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -30139,10 +30139,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30608,7 +30608,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<5709390436692924d78ceec48e61178e>>
|
||||
* @generated SignedSource<<cd8275adae235ccad33005ae4bd9fd3e>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17588,14 +17588,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2060 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-92cfdc3a-20250930" !==
|
||||
"19.2.0-native-fb-57b16e37-20250930" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2060
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2060,
|
||||
"19.2.0-native-fb-92cfdc3a-20250930"
|
||||
"19.2.0-native-fb-57b16e37-20250930"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17617,10 +17617,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2639 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2640 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17880,4 +17880,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3f75474034d10497d357e3f3cb9eb4ec>>
|
||||
* @generated SignedSource<<934da3be5f1e79f5914cf121921116b9>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19712,14 +19712,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2375 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-92cfdc3a-20250930" !==
|
||||
"19.2.0-native-fb-57b16e37-20250930" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2375
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2375,
|
||||
"19.2.0-native-fb-92cfdc3a-20250930"
|
||||
"19.2.0-native-fb-57b16e37-20250930"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19741,10 +19741,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2382 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$331 = 0;
|
||||
@@ -20020,7 +20020,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b0c6f006605f0ece58a183783997b87e>>
|
||||
* @generated SignedSource<<37f816b1e29a7eb6605194b30c6c221c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -16015,10 +16015,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16164,5 +16164,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8df10f52b7a080914396eb14974ce4d9>>
|
||||
* @generated SignedSource<<9f62bea9925c08ffaac3d19072b4b769>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10104,10 +10104,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1493 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1494 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10243,4 +10243,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4a11d9808455b5ff0181c41c28d3036c>>
|
||||
* @generated SignedSource<<a981a2e28f20ee729f8545d8044e3a2d>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10725,10 +10725,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1274 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$146 = 0;
|
||||
@@ -10879,4 +10879,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6633ec063759c6df0cb3477b9999bb3d>>
|
||||
* @generated SignedSource<<7b9e2387221ac38f0c694d6c33e46981>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1400,7 +1400,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<335a4ded8c43fa212e8acb8e8923ad4b>>
|
||||
* @generated SignedSource<<0c2d1475918198db88946e51da528d4f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -583,4 +583,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b93d1550a4c47c835305dbe2209ded4d>>
|
||||
* @generated SignedSource<<2b8e391e3390fb4f08a6867ca54d662b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -587,7 +587,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-92cfdc3a-20250930";
|
||||
exports.version = "19.2.0-native-fb-57b16e37-20250930";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
92cfdc3a4ed8f3350b746bd79d87f6549db8003c
|
||||
57b16e37887b324e4a077fd302b805d63421b695
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<15be4359bc51ffd51b4517d1b3568c3c>>
|
||||
* @generated SignedSource<<214045427050597836e3a60aff2eaafb>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -19978,10 +19978,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2e7759ae3aced478cc75a4f114e95185>>
|
||||
* @generated SignedSource<<5e713ca5393804468394d7896287554e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11255,10 +11255,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1319 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1319.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<352c139312c6f8bc25115e8038e0d00d>>
|
||||
* @generated SignedSource<<6a31c7d2cdde366d8f265d60caf24590>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13303,10 +13303,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1627 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1627.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<13aa67733b258fad28c77e1af2de4d53>>
|
||||
* @generated SignedSource<<5802f735e36c75be317f1e851c75f358>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -20270,11 +20270,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-92cfdc3a-20250930" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-57b16e37-20250930" !== 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-92cfdc3a-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-57b16e37-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -20300,10 +20300,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6c89b35caa99d66b4e2c4a8d8d8255f4>>
|
||||
* @generated SignedSource<<c7e4de79d429366a7eca98651e4b70aa>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11425,11 +11425,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-92cfdc3a-20250930" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-57b16e37-20250930" !== 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-92cfdc3a-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-57b16e37-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11479,10 +11479,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1326 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1326.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8ceacc7d910b8875a5f84261bca734a5>>
|
||||
* @generated SignedSource<<782bfe934d62b063a1a0ad978a9a6c32>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13466,11 +13466,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-92cfdc3a-20250930" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-57b16e37-20250930" !== 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-92cfdc3a-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-57b16e37-20250930\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13520,10 +13520,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1634 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-92cfdc3a-20250930",
|
||||
version: "19.2.0-native-fb-57b16e37-20250930",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-92cfdc3a-20250930"
|
||||
reconcilerVersion: "19.2.0-native-fb-57b16e37-20250930"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1634.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+19
-22
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<224ad190107133468e04c23ff73058f8>>
|
||||
* @generated SignedSource<<013287e9866147d7472a083baf2431bb>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -30,6 +30,17 @@ var PluginProposalPrivateMethods = require('@babel/plugin-proposal-private-metho
|
||||
var HermesParser = require('hermes-parser');
|
||||
var util = require('util');
|
||||
|
||||
const SETTINGS_KEY = 'react-hooks';
|
||||
const SETTINGS_ADDITIONAL_EFFECT_HOOKS_KEY = 'additionalEffectHooks';
|
||||
function getAdditionalEffectHooksFromSettings(settings) {
|
||||
var _a;
|
||||
const additionalHooks = (_a = settings[SETTINGS_KEY]) === null || _a === void 0 ? void 0 : _a[SETTINGS_ADDITIONAL_EFFECT_HOOKS_KEY];
|
||||
if (additionalHooks != null && typeof additionalHooks === 'string') {
|
||||
return new RegExp(additionalHooks);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const rule$1 = {
|
||||
meta: {
|
||||
type: 'suggestion',
|
||||
@@ -60,23 +71,24 @@ const rule$1 = {
|
||||
},
|
||||
requireExplicitEffectDeps: {
|
||||
type: 'boolean',
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
create(context) {
|
||||
const rawOptions = context.options && context.options[0];
|
||||
const settings = context.settings || {};
|
||||
const additionalHooks = rawOptions && rawOptions.additionalHooks
|
||||
? new RegExp(rawOptions.additionalHooks)
|
||||
: undefined;
|
||||
: getAdditionalEffectHooksFromSettings(settings);
|
||||
const enableDangerousAutofixThisMayCauseInfiniteLoops = (rawOptions &&
|
||||
rawOptions.enableDangerousAutofixThisMayCauseInfiniteLoops) ||
|
||||
false;
|
||||
const experimental_autoDependenciesHooks = rawOptions && Array.isArray(rawOptions.experimental_autoDependenciesHooks)
|
||||
? rawOptions.experimental_autoDependenciesHooks
|
||||
: [];
|
||||
const requireExplicitEffectDeps = rawOptions && rawOptions.requireExplicitEffectDeps || false;
|
||||
const requireExplicitEffectDeps = (rawOptions && rawOptions.requireExplicitEffectDeps) || false;
|
||||
const options = {
|
||||
additionalHooks,
|
||||
experimental_autoDependenciesHooks,
|
||||
@@ -945,7 +957,7 @@ const rule$1 = {
|
||||
reportProblem({
|
||||
node: reactiveHook,
|
||||
message: `React Hook ${reactiveHookName} always requires dependencies. ` +
|
||||
`Please add a dependency array or an explicit \`undefined\``
|
||||
`Please add a dependency array or an explicit \`undefined\``,
|
||||
});
|
||||
}
|
||||
const isAutoDepsHook = options.experimental_autoDependenciesHooks.includes(reactiveHookName);
|
||||
@@ -1447,9 +1459,7 @@ function isAncestorNodeOf(a, b) {
|
||||
a.range[1] >= b.range[1]);
|
||||
}
|
||||
function isUseEffectEventIdentifier$1(node) {
|
||||
{
|
||||
return node.type === 'Identifier' && node.name === 'useEffectEvent';
|
||||
}
|
||||
return node.type === 'Identifier' && node.name === 'useEffectEvent';
|
||||
}
|
||||
function getUnknownDependenciesMessage(reactiveHookName) {
|
||||
return (`React Hook ${reactiveHookName} received a function whose dependencies ` +
|
||||
@@ -57292,17 +57302,6 @@ function requireCodePathAnalyzer() {
|
||||
var codePathAnalyzerExports = requireCodePathAnalyzer();
|
||||
var CodePathAnalyzer = /*@__PURE__*/getDefaultExportFromCjs(codePathAnalyzerExports);
|
||||
|
||||
const SETTINGS_KEY = 'react-hooks';
|
||||
const SETTINGS_ADDITIONAL_EFFECT_HOOKS_KEY = 'additionalEffectHooks';
|
||||
function getAdditionalEffectHooksFromSettings(settings) {
|
||||
var _a;
|
||||
const additionalHooks = (_a = settings[SETTINGS_KEY]) === null || _a === void 0 ? void 0 : _a[SETTINGS_ADDITIONAL_EFFECT_HOOKS_KEY];
|
||||
if (additionalHooks != null && typeof additionalHooks === 'string') {
|
||||
return new RegExp(additionalHooks);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
function isHookName(s) {
|
||||
return s === 'use' || /^use[A-Z0-9]/.test(s);
|
||||
}
|
||||
@@ -57401,9 +57400,7 @@ function isEffectIdentifier(node, additionalHooks) {
|
||||
return false;
|
||||
}
|
||||
function isUseEffectEventIdentifier(node) {
|
||||
{
|
||||
return node.type === 'Identifier' && node.name === 'useEffectEvent';
|
||||
}
|
||||
return node.type === 'Identifier' && node.name === 'useEffectEvent';
|
||||
}
|
||||
function isUseIdentifier(node) {
|
||||
return isReactFunction(node, 'use');
|
||||
|
||||
+19
-22
@@ -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<<94a4c49f3cd93cdae0dd6d9923d219cc>>
|
||||
* @generated SignedSource<<d643f8eb32773aa2d8d8702611600ada>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -20,6 +20,17 @@ var PluginProposalPrivateMethods = require('@babel/plugin-proposal-private-metho
|
||||
var HermesParser = require('hermes-parser');
|
||||
var util = require('util');
|
||||
|
||||
const SETTINGS_KEY = 'react-hooks';
|
||||
const SETTINGS_ADDITIONAL_EFFECT_HOOKS_KEY = 'additionalEffectHooks';
|
||||
function getAdditionalEffectHooksFromSettings(settings) {
|
||||
var _a;
|
||||
const additionalHooks = (_a = settings[SETTINGS_KEY]) === null || _a === void 0 ? void 0 : _a[SETTINGS_ADDITIONAL_EFFECT_HOOKS_KEY];
|
||||
if (additionalHooks != null && typeof additionalHooks === 'string') {
|
||||
return new RegExp(additionalHooks);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const rule$1 = {
|
||||
meta: {
|
||||
type: 'suggestion',
|
||||
@@ -50,23 +61,24 @@ const rule$1 = {
|
||||
},
|
||||
requireExplicitEffectDeps: {
|
||||
type: 'boolean',
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
create(context) {
|
||||
const rawOptions = context.options && context.options[0];
|
||||
const settings = context.settings || {};
|
||||
const additionalHooks = rawOptions && rawOptions.additionalHooks
|
||||
? new RegExp(rawOptions.additionalHooks)
|
||||
: undefined;
|
||||
: getAdditionalEffectHooksFromSettings(settings);
|
||||
const enableDangerousAutofixThisMayCauseInfiniteLoops = (rawOptions &&
|
||||
rawOptions.enableDangerousAutofixThisMayCauseInfiniteLoops) ||
|
||||
false;
|
||||
const experimental_autoDependenciesHooks = rawOptions && Array.isArray(rawOptions.experimental_autoDependenciesHooks)
|
||||
? rawOptions.experimental_autoDependenciesHooks
|
||||
: [];
|
||||
const requireExplicitEffectDeps = rawOptions && rawOptions.requireExplicitEffectDeps || false;
|
||||
const requireExplicitEffectDeps = (rawOptions && rawOptions.requireExplicitEffectDeps) || false;
|
||||
const options = {
|
||||
additionalHooks,
|
||||
experimental_autoDependenciesHooks,
|
||||
@@ -935,7 +947,7 @@ const rule$1 = {
|
||||
reportProblem({
|
||||
node: reactiveHook,
|
||||
message: `React Hook ${reactiveHookName} always requires dependencies. ` +
|
||||
`Please add a dependency array or an explicit \`undefined\``
|
||||
`Please add a dependency array or an explicit \`undefined\``,
|
||||
});
|
||||
}
|
||||
const isAutoDepsHook = options.experimental_autoDependenciesHooks.includes(reactiveHookName);
|
||||
@@ -1437,9 +1449,7 @@ function isAncestorNodeOf(a, b) {
|
||||
a.range[1] >= b.range[1]);
|
||||
}
|
||||
function isUseEffectEventIdentifier$1(node) {
|
||||
{
|
||||
return node.type === 'Identifier' && node.name === 'useEffectEvent';
|
||||
}
|
||||
return node.type === 'Identifier' && node.name === 'useEffectEvent';
|
||||
}
|
||||
function getUnknownDependenciesMessage(reactiveHookName) {
|
||||
return (`React Hook ${reactiveHookName} received a function whose dependencies ` +
|
||||
@@ -57071,17 +57081,6 @@ function requireCodePathAnalyzer() {
|
||||
var codePathAnalyzerExports = requireCodePathAnalyzer();
|
||||
var CodePathAnalyzer = /*@__PURE__*/getDefaultExportFromCjs(codePathAnalyzerExports);
|
||||
|
||||
const SETTINGS_KEY = 'react-hooks';
|
||||
const SETTINGS_ADDITIONAL_EFFECT_HOOKS_KEY = 'additionalEffectHooks';
|
||||
function getAdditionalEffectHooksFromSettings(settings) {
|
||||
var _a;
|
||||
const additionalHooks = (_a = settings[SETTINGS_KEY]) === null || _a === void 0 ? void 0 : _a[SETTINGS_ADDITIONAL_EFFECT_HOOKS_KEY];
|
||||
if (additionalHooks != null && typeof additionalHooks === 'string') {
|
||||
return new RegExp(additionalHooks);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
function isHookName(s) {
|
||||
return s === 'use' || /^use[A-Z0-9]/.test(s);
|
||||
}
|
||||
@@ -57180,9 +57179,7 @@ function isEffectIdentifier(node, additionalHooks) {
|
||||
return false;
|
||||
}
|
||||
function isUseEffectEventIdentifier(node) {
|
||||
{
|
||||
return node.type === 'Identifier' && node.name === 'useEffectEvent';
|
||||
}
|
||||
return node.type === 'Identifier' && node.name === 'useEffectEvent';
|
||||
}
|
||||
function isUseIdentifier(node) {
|
||||
return isReactFunction(node, 'use');
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-92cfdc3a-20250930",
|
||||
"version": "0.0.0-experimental-57b16e37-20250930",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user