mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler][gating] Custom opt out directives (experimental option) (#33328)
Adding an experimental / unstable compiler config to enable custom
opt-out directives
DiffTrain build for [f9ae0a4c2e](https://github.com/facebook/react/commit/f9ae0a4c2edc9ad93507b550f2aeb60119955336)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-99efc627-20250523
|
||||
19.2.0-native-fb-f9ae0a4c-20250527
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ab2bd796615f8e3771982a1a2b808421>>
|
||||
* @generated SignedSource<<fe677ae71023fc7542ebfc73e9cdd4f6>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<30e96e6b69cc25313b862edd8025a0f9>>
|
||||
* @generated SignedSource<<2d89a2d235bcdb711cd4116d7bdd8b55>>
|
||||
*/
|
||||
|
||||
"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-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<30e96e6b69cc25313b862edd8025a0f9>>
|
||||
* @generated SignedSource<<2d89a2d235bcdb711cd4116d7bdd8b55>>
|
||||
*/
|
||||
|
||||
"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-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<60254862b6843e68f21a9c1043e25807>>
|
||||
* @generated SignedSource<<3246de9586abd92c38cd20470fbe35ca>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -27026,11 +27026,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-99efc627-20250523" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-f9ae0a4c-20250527" !== 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-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-f9ae0a4c-20250527\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27067,10 +27067,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27208,5 +27208,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
})();
|
||||
|
||||
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<<ea0a299e99739d697302d6e2cb0ae7ad>>
|
||||
* @generated SignedSource<<3485cce4c5785467779b9172877c4ca7>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17094,14 +17094,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2017 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-99efc627-20250523" !==
|
||||
"19.2.0-native-fb-f9ae0a4c-20250527" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2017
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2017,
|
||||
"19.2.0-native-fb-99efc627-20250523"
|
||||
"19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17123,10 +17123,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2536 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2537 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17224,4 +17224,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<038433bb685979a48c2701de18f506cd>>
|
||||
* @generated SignedSource<<a65e0b89d59064cdf8788951a00c3190>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17804,14 +17804,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2120 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-99efc627-20250523" !==
|
||||
"19.2.0-native-fb-f9ae0a4c-20250527" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2120
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2120,
|
||||
"19.2.0-native-fb-99efc627-20250523"
|
||||
"19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17833,10 +17833,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2127 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523",
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$313 = 0;
|
||||
@@ -17949,4 +17949,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<79f0c5586ac2947e06b7cfcb217db2d4>>
|
||||
* @generated SignedSource<<c497e970e9e1131e4441b84695bcb9e8>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -27082,11 +27082,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-99efc627-20250523" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-f9ae0a4c-20250527" !== 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-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-f9ae0a4c-20250527\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27123,10 +27123,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27580,7 +27580,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<14176aa1ed1917a152945adb871d184d>>
|
||||
* @generated SignedSource<<e43854604d4f2b87e693611dd924eae4>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17105,14 +17105,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2018 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-99efc627-20250523" !==
|
||||
"19.2.0-native-fb-f9ae0a4c-20250527" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2018
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2018,
|
||||
"19.2.0-native-fb-99efc627-20250523"
|
||||
"19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17134,10 +17134,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2539 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2540 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17388,4 +17388,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<1ec6d20e379e8ddfdf2a70078b8e8d99>>
|
||||
* @generated SignedSource<<bbf14b52fe98eec6deaaf3ff817a1981>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17819,14 +17819,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2121 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-99efc627-20250523" !==
|
||||
"19.2.0-native-fb-f9ae0a4c-20250527" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2121
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2121,
|
||||
"19.2.0-native-fb-99efc627-20250523"
|
||||
"19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17848,10 +17848,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2128 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523",
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$313 = 0;
|
||||
@@ -18117,7 +18117,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<639c8a455f45352f7325191462889a69>>
|
||||
* @generated SignedSource<<0d4aabfbe987784dd3ee759de4d5b587>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -15675,10 +15675,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15823,5 +15823,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d4deb003bb3db3a59fc6934a8cb22a4c>>
|
||||
* @generated SignedSource<<c5c061ff42d7a48585b2b319eda21f86>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -9896,10 +9896,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1447 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1448 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10035,4 +10035,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<de17b9b3f5ed4c86a4fbb704c684f74a>>
|
||||
* @generated SignedSource<<b57e38d5929d63f5ff26fb3de70bfa34>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10516,10 +10516,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1254 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523",
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$155 = 0;
|
||||
@@ -10670,4 +10670,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d6384dc67a951eaa09138fe64861ae6a>>
|
||||
* @generated SignedSource<<ece0666873758f2e6bcb0d9fb0d37c85>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1411,7 +1411,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ad641042a32dd08585bc3196691aca72>>
|
||||
* @generated SignedSource<<55e9c53099e1d5b3d88cc714cb0ab692>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -586,4 +586,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6d47b4590460ee95479531cd33caad61>>
|
||||
* @generated SignedSource<<bb392313962526bfb5e9f8479b8c9e9a>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -590,7 +590,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-99efc627-20250523";
|
||||
exports.version = "19.2.0-native-fb-f9ae0a4c-20250527";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
99efc627a5a8cb56f50cfffee544c86c49572b6f
|
||||
f9ae0a4c2edc9ad93507b550f2aeb60119955336
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<abaddd931ae179521c2b31209314ad7d>>
|
||||
* @generated SignedSource<<899c6ce2882d284bbcd717295ba54d45>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -17572,10 +17572,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4e624f467ac52658b004f188eba9fa72>>
|
||||
* @generated SignedSource<<c083826e2f5e590bf946060b075e3abd>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11277,10 +11277,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1262 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1262.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<77cc795475b1452a5cac2238a1f296f1>>
|
||||
* @generated SignedSource<<92736833b757f014bdbf603cff5aedfc>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11981,10 +11981,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1363 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1363.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<a9880724ca4455faffc19edd5ebcc45c>>
|
||||
* @generated SignedSource<<31142704a55d266edfafcbe9088eebce>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -17626,11 +17626,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-99efc627-20250523" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-f9ae0a4c-20250527" !== 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-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-f9ae0a4c-20250527\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -17656,10 +17656,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ce76331a173b78b52ddf51cf75fc7e67>>
|
||||
* @generated SignedSource<<701b4480e4e76cbca846d776e519c17e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11212,11 +11212,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-99efc627-20250523" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-f9ae0a4c-20250527" !== 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-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-f9ae0a4c-20250527\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11266,10 +11266,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1307 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1307.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6498b998f8ecbb106553ba5bd9528ab3>>
|
||||
* @generated SignedSource<<8be3b83160537561f2c3d49bc887a916>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11914,11 +11914,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-99efc627-20250523" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-f9ae0a4c-20250527" !== 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-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-f9ae0a4c-20250527\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11968,10 +11968,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1408 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-99efc627-20250523",
|
||||
version: "19.2.0-native-fb-f9ae0a4c-20250527",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-99efc627-20250523"
|
||||
reconcilerVersion: "19.2.0-native-fb-f9ae0a4c-20250527"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1408.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+29
-6
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<d68920f0f0e721c7c5492b0b74e8875d>>
|
||||
* @generated SignedSource<<875ae41d0a179807443a1ce4399fc24b>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -56248,9 +56248,12 @@ function tryFindDirectiveEnablingMemoization(directives, opts) {
|
||||
return Err(dynamicGating.unwrapErr());
|
||||
}
|
||||
}
|
||||
function findDirectiveDisablingMemoization(directives) {
|
||||
var _a;
|
||||
return ((_a = directives.find(directive => OPT_OUT_DIRECTIVES.has(directive.value.value))) !== null && _a !== void 0 ? _a : null);
|
||||
function findDirectiveDisablingMemoization(directives, { customOptOutDirectives }) {
|
||||
var _a, _b;
|
||||
if (customOptOutDirectives != null) {
|
||||
return ((_a = directives.find(directive => customOptOutDirectives.indexOf(directive.value.value) !== -1)) !== null && _a !== void 0 ? _a : null);
|
||||
}
|
||||
return ((_b = directives.find(directive => OPT_OUT_DIRECTIVES.has(directive.value.value))) !== null && _b !== void 0 ? _b : null);
|
||||
}
|
||||
function findDirectivesDynamicGating(directives, opts) {
|
||||
var _a, _b;
|
||||
@@ -56462,7 +56465,8 @@ function compileProgram(program, pass) {
|
||||
filename: pass.filename,
|
||||
code: pass.code,
|
||||
suppressions,
|
||||
hasModuleScopeOptOut: findDirectiveDisablingMemoization(program.node.directives) != null,
|
||||
hasModuleScopeOptOut: findDirectiveDisablingMemoization(program.node.directives, pass.opts) !=
|
||||
null,
|
||||
});
|
||||
const queue = findFunctionsToCompile(program, pass, programContext);
|
||||
const compiledFns = [];
|
||||
@@ -56553,7 +56557,7 @@ function processFn(fn, fnType, programContext) {
|
||||
}
|
||||
directives = {
|
||||
optIn: optIn.unwrapOr(null),
|
||||
optOut: findDirectiveDisablingMemoization(fn.node.body.directives),
|
||||
optOut: findDirectiveDisablingMemoization(fn.node.body.directives, programContext.opts),
|
||||
};
|
||||
}
|
||||
let compiledFn;
|
||||
@@ -57224,6 +57228,9 @@ zod.z.enum([
|
||||
const DynamicGatingOptionsSchema = zod.z.object({
|
||||
source: zod.z.string(),
|
||||
});
|
||||
const CustomOptOutDirectiveSchema = zod.z
|
||||
.nullable(zod.z.array(zod.z.string()))
|
||||
.default(null);
|
||||
const CompilerReactTargetSchema = zod.z.union([
|
||||
zod.z.literal('17'),
|
||||
zod.z.literal('18'),
|
||||
@@ -57254,6 +57261,7 @@ const defaultOptions = {
|
||||
return filename.indexOf('node_modules') === -1;
|
||||
},
|
||||
enableReanimatedCheck: true,
|
||||
customOptOutDirectives: null,
|
||||
target: '19',
|
||||
};
|
||||
function parsePluginOptions(obj) {
|
||||
@@ -57313,6 +57321,21 @@ function parsePluginOptions(obj) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 'customOptOutDirectives': {
|
||||
const result = CustomOptOutDirectiveSchema.safeParse(value);
|
||||
if (result.success) {
|
||||
parsedOptions[key] = result.data;
|
||||
}
|
||||
else {
|
||||
CompilerError.throwInvalidConfig({
|
||||
reason: 'Could not parse custom opt out directives. Update React Compiler config to fix the error',
|
||||
description: `${zodValidationError.fromZodError(result.error)}`,
|
||||
loc: null,
|
||||
suggestions: null,
|
||||
});
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
parsedOptions[key] = value;
|
||||
}
|
||||
|
||||
+29
-6
@@ -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<<889ac8117053af5c38dd22c2455642bf>>
|
||||
* @generated SignedSource<<b01d3694ad5cd6e8f76294ede771ea82>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -56027,9 +56027,12 @@ function tryFindDirectiveEnablingMemoization(directives, opts) {
|
||||
return Err(dynamicGating.unwrapErr());
|
||||
}
|
||||
}
|
||||
function findDirectiveDisablingMemoization(directives) {
|
||||
var _a;
|
||||
return ((_a = directives.find(directive => OPT_OUT_DIRECTIVES.has(directive.value.value))) !== null && _a !== void 0 ? _a : null);
|
||||
function findDirectiveDisablingMemoization(directives, { customOptOutDirectives }) {
|
||||
var _a, _b;
|
||||
if (customOptOutDirectives != null) {
|
||||
return ((_a = directives.find(directive => customOptOutDirectives.indexOf(directive.value.value) !== -1)) !== null && _a !== void 0 ? _a : null);
|
||||
}
|
||||
return ((_b = directives.find(directive => OPT_OUT_DIRECTIVES.has(directive.value.value))) !== null && _b !== void 0 ? _b : null);
|
||||
}
|
||||
function findDirectivesDynamicGating(directives, opts) {
|
||||
var _a, _b;
|
||||
@@ -56241,7 +56244,8 @@ function compileProgram(program, pass) {
|
||||
filename: pass.filename,
|
||||
code: pass.code,
|
||||
suppressions,
|
||||
hasModuleScopeOptOut: findDirectiveDisablingMemoization(program.node.directives) != null,
|
||||
hasModuleScopeOptOut: findDirectiveDisablingMemoization(program.node.directives, pass.opts) !=
|
||||
null,
|
||||
});
|
||||
const queue = findFunctionsToCompile(program, pass, programContext);
|
||||
const compiledFns = [];
|
||||
@@ -56332,7 +56336,7 @@ function processFn(fn, fnType, programContext) {
|
||||
}
|
||||
directives = {
|
||||
optIn: optIn.unwrapOr(null),
|
||||
optOut: findDirectiveDisablingMemoization(fn.node.body.directives),
|
||||
optOut: findDirectiveDisablingMemoization(fn.node.body.directives, programContext.opts),
|
||||
};
|
||||
}
|
||||
let compiledFn;
|
||||
@@ -57003,6 +57007,9 @@ zod.z.enum([
|
||||
const DynamicGatingOptionsSchema = zod.z.object({
|
||||
source: zod.z.string(),
|
||||
});
|
||||
const CustomOptOutDirectiveSchema = zod.z
|
||||
.nullable(zod.z.array(zod.z.string()))
|
||||
.default(null);
|
||||
const CompilerReactTargetSchema = zod.z.union([
|
||||
zod.z.literal('17'),
|
||||
zod.z.literal('18'),
|
||||
@@ -57033,6 +57040,7 @@ const defaultOptions = {
|
||||
return filename.indexOf('node_modules') === -1;
|
||||
},
|
||||
enableReanimatedCheck: true,
|
||||
customOptOutDirectives: null,
|
||||
target: '19',
|
||||
};
|
||||
function parsePluginOptions(obj) {
|
||||
@@ -57092,6 +57100,21 @@ function parsePluginOptions(obj) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 'customOptOutDirectives': {
|
||||
const result = CustomOptOutDirectiveSchema.safeParse(value);
|
||||
if (result.success) {
|
||||
parsedOptions[key] = result.data;
|
||||
}
|
||||
else {
|
||||
CompilerError.throwInvalidConfig({
|
||||
reason: 'Could not parse custom opt out directives. Update React Compiler config to fix the error',
|
||||
description: `${zodValidationError.fromZodError(result.error)}`,
|
||||
loc: null,
|
||||
suggestions: null,
|
||||
});
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
parsedOptions[key] = value;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-99efc627-20250523",
|
||||
"version": "0.0.0-experimental-f9ae0a4c-20250527",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user