mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler] Check TSAsExpression and TSNonNullExpression reorderability (#33788)
## Summary
The `TSAsExpression` and `TSNonNullExpression` nodes are supported by
`lowerExpression()` but `isReorderableExpression()` does not check if
they can be reordered. This PR updates `isReorderableExpression()` to
handle these two node types by adding cases that fall through to the
existing `TypeCastExpression` case.
We ran `react-compiler-healthcheck` at scale on several of our repos and
found dozens of `` (BuildHIR::node.lowerReorderableExpression)
Expression type `TSAsExpression` cannot be safely reordered`` errors and
a handful for `TSNonNullExpression`.
## How did you test this change?
In this case I added two fixture tests
DiffTrain build for [fe813143e2](https://github.com/facebook/react/commit/fe813143e23675963f92d25fa1fb35b39db40272)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-97cdd5d3-20250710
|
||||
19.2.0-native-fb-fe813143-20250715
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<f7f345f50160a2fa575bed174fa760fc>>
|
||||
* @generated SignedSource<<adfb41125b5186ad3fa8b5c4f31b0d4e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2ade998e2c2a0dc89117fbb76a26a2eb>>
|
||||
* @generated SignedSource<<62ae8072c8b4ccd14bfb2b8130c3dce9>>
|
||||
*/
|
||||
|
||||
"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-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2ade998e2c2a0dc89117fbb76a26a2eb>>
|
||||
* @generated SignedSource<<62ae8072c8b4ccd14bfb2b8130c3dce9>>
|
||||
*/
|
||||
|
||||
"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-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<17b41f9b2a609ec1fb0d9d149a346e01>>
|
||||
* @generated SignedSource<<b22835f16c9e1979d3e735d0ab0eb16a>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -29006,11 +29006,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-97cdd5d3-20250710" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-fe813143-20250715" !== 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-97cdd5d3-20250710\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-fe813143-20250715\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29047,10 +29047,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29188,5 +29188,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
})();
|
||||
|
||||
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<<b7fd685d836f02d9d4a980ff4062fe09>>
|
||||
* @generated SignedSource<<b4676a5d2e9f5ce5cb61f9699c29f3cf>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17123,14 +17123,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2004 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-97cdd5d3-20250710" !==
|
||||
"19.2.0-native-fb-fe813143-20250715" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2004
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2004,
|
||||
"19.2.0-native-fb-97cdd5d3-20250710"
|
||||
"19.2.0-native-fb-fe813143-20250715"
|
||||
)
|
||||
);
|
||||
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-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
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-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b3a064c8e61697bd26ac2532b42b95bc>>
|
||||
* @generated SignedSource<<b2e80df4111c66200fd65ae916e64fb2>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19080,14 +19080,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2244 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-97cdd5d3-20250710" !==
|
||||
"19.2.0-native-fb-fe813143-20250715" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2244
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2244,
|
||||
"19.2.0-native-fb-97cdd5d3-20250710"
|
||||
"19.2.0-native-fb-fe813143-20250715"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19109,10 +19109,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2251 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$319 = 0;
|
||||
@@ -19225,4 +19225,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e326d7371a7cc26da4b5b01884683093>>
|
||||
* @generated SignedSource<<7e54731647e2a535d2105702d1ea8208>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -29062,11 +29062,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-97cdd5d3-20250710" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-fe813143-20250715" !== 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-97cdd5d3-20250710\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-fe813143-20250715\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29103,10 +29103,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29560,7 +29560,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<51223ca10c541710ebf7753f56ccd2eb>>
|
||||
* @generated SignedSource<<3ef373a70ccc148dcaadd636c6b7cc04>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17134,14 +17134,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2005 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-97cdd5d3-20250710" !==
|
||||
"19.2.0-native-fb-fe813143-20250715" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2005
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2005,
|
||||
"19.2.0-native-fb-97cdd5d3-20250710"
|
||||
"19.2.0-native-fb-fe813143-20250715"
|
||||
)
|
||||
);
|
||||
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-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
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-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<5d506356eaed59dd393f2704ae6b6d19>>
|
||||
* @generated SignedSource<<eac2362a2265f7e85a522ed2b1f09c67>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19095,14 +19095,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2245 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-97cdd5d3-20250710" !==
|
||||
"19.2.0-native-fb-fe813143-20250715" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2245
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2245,
|
||||
"19.2.0-native-fb-97cdd5d3-20250710"
|
||||
"19.2.0-native-fb-fe813143-20250715"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19124,10 +19124,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2252 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$319 = 0;
|
||||
@@ -19393,7 +19393,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<83950976b3a7862f9b90815c18fde22b>>
|
||||
* @generated SignedSource<<6c07fc5fca639b6512b4c92d3f322852>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -15727,10 +15727,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15875,5 +15875,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<553884dfed71acb1b5f0201d9cea8a00>>
|
||||
* @generated SignedSource<<c0234f8e40581528ef3013877bad590e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -9907,10 +9907,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1434 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
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-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<961f7058833934550a318b0c5b056b0c>>
|
||||
* @generated SignedSource<<9e3c5f14f00c9f994c04edb413e122c9>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10527,10 +10527,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1241 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715",
|
||||
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-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<32481c5f240453d085fc8f50be4b287b>>
|
||||
* @generated SignedSource<<ea922537c7a684a35340b815a8829fba>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1413,7 +1413,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c893a09be6ffd9c19d1cb93a60854b05>>
|
||||
* @generated SignedSource<<9a7cfd7488de54869eb7f06164ea054e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -589,4 +589,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8a69f4168349f454b1d6627459e84524>>
|
||||
* @generated SignedSource<<ca72ecf080d2d4d24b27030fb9cdb56f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -593,7 +593,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-97cdd5d3-20250710";
|
||||
exports.version = "19.2.0-native-fb-fe813143-20250715";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
97cdd5d3c33eda77be4f96a43f72d6916d3badbb
|
||||
fe813143e23675963f92d25fa1fb35b39db40272
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ab1190f0ce25f9186754f0d157355abe>>
|
||||
* @generated SignedSource<<625e55c74316d708af9bc3a958a25f1a>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -19236,10 +19236,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<98a7d005996a58b166a3231f23d68d9b>>
|
||||
* @generated SignedSource<<46569f751fdaf60f28e8909e665eb005>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11031,10 +11031,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1238 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1238.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e3cb069919c1870d4044878f1ec94819>>
|
||||
* @generated SignedSource<<c9526ba8a4bf733ab9a14d169920d076>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -12959,10 +12959,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1473 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1473.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<70d7bd0807383a9e00b204ff63b365ec>>
|
||||
* @generated SignedSource<<9b2378089b75a3d1475a632d2f670939>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -19569,11 +19569,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-97cdd5d3-20250710" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-fe813143-20250715" !== 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-97cdd5d3-20250710\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-fe813143-20250715\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -19599,10 +19599,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<5ee22ac2771685511adc19eae9b2bf6f>>
|
||||
* @generated SignedSource<<43b6df7ce81fed98b80ea91013174a44>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11223,11 +11223,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-97cdd5d3-20250710" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-fe813143-20250715" !== 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-97cdd5d3-20250710\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-fe813143-20250715\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11277,10 +11277,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1294 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1294.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<fea1795ef7b942b131c0d3c4af1e8554>>
|
||||
* @generated SignedSource<<65db8583c57dae51e6d18c209b31aba0>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13140,11 +13140,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-97cdd5d3-20250710" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-fe813143-20250715" !== 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-97cdd5d3-20250710\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-fe813143-20250715\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13194,10 +13194,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1529 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-97cdd5d3-20250710",
|
||||
version: "19.2.0-native-fb-fe813143-20250715",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-97cdd5d3-20250710"
|
||||
reconcilerVersion: "19.2.0-native-fb-fe813143-20250715"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1529.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-1
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<e7a6d81bd31c10ba7c77205c75f347c2>>
|
||||
* @generated SignedSource<<24d58c7f3edf4b1587a53208b9c60643>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -24222,6 +24222,8 @@ function isReorderableExpression(builder, expr, allowLocalIdentifiers) {
|
||||
}
|
||||
}
|
||||
}
|
||||
case 'TSAsExpression':
|
||||
case 'TSNonNullExpression':
|
||||
case 'TypeCastExpression': {
|
||||
return isReorderableExpression(builder, expr.get('expression'), allowLocalIdentifiers);
|
||||
}
|
||||
|
||||
+3
-1
@@ -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<<30d570b42bb03e2b1bd6df9e6d3061fd>>
|
||||
* @generated SignedSource<<618e2853cef55247b33a01f301cbe446>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -24207,6 +24207,8 @@ function isReorderableExpression(builder, expr, allowLocalIdentifiers) {
|
||||
}
|
||||
}
|
||||
}
|
||||
case 'TSAsExpression':
|
||||
case 'TSNonNullExpression':
|
||||
case 'TypeCastExpression': {
|
||||
return isReorderableExpression(builder, expr.get('expression'), allowLocalIdentifiers);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-97cdd5d3-20250710",
|
||||
"version": "0.0.0-experimental-fe813143-20250715",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user