mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler] Delete PropagatePhiTypes (#34107)
We moved this logic into InferTypes a long time ago and the PRs to clean
it up keep getting lost in the shuffle.
DiffTrain build for [7deda941f7](https://github.com/facebook/react/commit/7deda941f7f77e82de0311fc3e0cf94d8a863069)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-d3b26b29-20250804
|
||||
19.2.0-native-fb-7deda941-20250804
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<98274d0c5e07e896c92618930d3f525f>>
|
||||
* @generated SignedSource<<5ebc6ae6295bb9ff989fa09cc00fc370>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<fabe59dd5de1e00d658b66342a577e9f>>
|
||||
* @generated SignedSource<<056fd38b30c9b0fd72f21869ebe8ee97>>
|
||||
*/
|
||||
|
||||
"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-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<fabe59dd5de1e00d658b66342a577e9f>>
|
||||
* @generated SignedSource<<056fd38b30c9b0fd72f21869ebe8ee97>>
|
||||
*/
|
||||
|
||||
"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-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8525ad18f88b91625c6f74798178ca33>>
|
||||
* @generated SignedSource<<ec3e8690d841b31981561e1162dbb43a>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -29025,11 +29025,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-d3b26b29-20250804" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-7deda941-20250804" !== 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-d3b26b29-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-7deda941-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29066,10 +29066,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29207,5 +29207,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
})();
|
||||
|
||||
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<<f34e0d4128a8764184d6fd7a0b70d671>>
|
||||
* @generated SignedSource<<c34f1691a23a6cbc2eda183a7868b1d0>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17128,14 +17128,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2002 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-d3b26b29-20250804" !==
|
||||
"19.2.0-native-fb-7deda941-20250804" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2002
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2002,
|
||||
"19.2.0-native-fb-d3b26b29-20250804"
|
||||
"19.2.0-native-fb-7deda941-20250804"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17157,10 +17157,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2521 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2522 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17258,4 +17258,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<148ab4a939817b3178316d90027c9690>>
|
||||
* @generated SignedSource<<317198f422e08494cba18dc825fd7e75>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19086,14 +19086,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2242 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-d3b26b29-20250804" !==
|
||||
"19.2.0-native-fb-7deda941-20250804" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2242
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2242,
|
||||
"19.2.0-native-fb-d3b26b29-20250804"
|
||||
"19.2.0-native-fb-7deda941-20250804"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19115,10 +19115,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2249 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$319 = 0;
|
||||
@@ -19231,4 +19231,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ce0a415ff4090204856d724df47f2bd1>>
|
||||
* @generated SignedSource<<bbd1f9949318d02610cc025dd67e2ceb>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -29081,11 +29081,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-d3b26b29-20250804" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-7deda941-20250804" !== 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-d3b26b29-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-7deda941-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -29122,10 +29122,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29579,7 +29579,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7d3c27718cca7ab582231c98ecd94ce2>>
|
||||
* @generated SignedSource<<e65822f4ecef81d0c94cb9327b188f49>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17139,14 +17139,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2003 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-d3b26b29-20250804" !==
|
||||
"19.2.0-native-fb-7deda941-20250804" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2003
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2003,
|
||||
"19.2.0-native-fb-d3b26b29-20250804"
|
||||
"19.2.0-native-fb-7deda941-20250804"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17168,10 +17168,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2524 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2525 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17422,4 +17422,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<12b4fe45b268036a270c136f6d04d585>>
|
||||
* @generated SignedSource<<538e439c1fc9ff717b3cbe76eba2636e>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19101,14 +19101,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2243 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-d3b26b29-20250804" !==
|
||||
"19.2.0-native-fb-7deda941-20250804" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2243
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2243,
|
||||
"19.2.0-native-fb-d3b26b29-20250804"
|
||||
"19.2.0-native-fb-7deda941-20250804"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19130,10 +19130,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2250 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$319 = 0;
|
||||
@@ -19399,7 +19399,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0a69ac1907ba12b9879595e0f1ec6d89>>
|
||||
* @generated SignedSource<<e1d7511b7175ec5908898445b50bb21e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -15739,10 +15739,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15887,5 +15887,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3805192e0733e94ebef3a709d667e4ca>>
|
||||
* @generated SignedSource<<e64469086516a58bff3fc5403de6a0db>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -9912,10 +9912,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1432 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1433 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10051,4 +10051,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<66efd123094574afb2a87a8bf50c2912>>
|
||||
* @generated SignedSource<<dda74db33a2ebfc9e651739d8d2875d0>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10532,10 +10532,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1239 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$143 = 0;
|
||||
@@ -10686,4 +10686,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c6945560dcd8a71abc6a972bc39d5c07>>
|
||||
* @generated SignedSource<<92268ebbc444f858b978b55bc9d6c37f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1413,7 +1413,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<fb48f7a7626a97bd813d04ac6411ac62>>
|
||||
* @generated SignedSource<<dd0cd218308177767cacd452584b1add>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -589,4 +589,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7ff083cecfd744e5def29bd5124b86ed>>
|
||||
* @generated SignedSource<<9ef8ad171e9bc9d50b9e49edee6503b6>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -593,7 +593,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-d3b26b29-20250804";
|
||||
exports.version = "19.2.0-native-fb-7deda941-20250804";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
d3b26b2953c7e780abaa49f422c53fd4cda08e47
|
||||
7deda941f7f77e82de0311fc3e0cf94d8a863069
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<bf3eb3416f945929a4af38d650597197>>
|
||||
* @generated SignedSource<<582e01a75d9e6fa271e2a7c4be3fe942>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -19244,10 +19244,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<84287a6bbd50f0c3890a2eb73151e7c4>>
|
||||
* @generated SignedSource<<6d8da979682c6d66ea1d67f94c002bfc>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11016,10 +11016,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1235 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1235.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c8c30844a26f74645be68f16e00fba90>>
|
||||
* @generated SignedSource<<5cb2a0635c271b6f9c7def4e7693cfac>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -12945,10 +12945,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1470 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1470.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2765bae7b74f0d381326e6ae3a8fc7f0>>
|
||||
* @generated SignedSource<<49fc475a657a5c26459b341b810e820a>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -19602,11 +19602,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-d3b26b29-20250804" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-7deda941-20250804" !== 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-d3b26b29-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-7deda941-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -19632,10 +19632,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<03d634c412fde76107f253626b4b405e>>
|
||||
* @generated SignedSource<<eeb8cb1658b673d2dd4d26fb2b2d517f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11242,11 +11242,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-d3b26b29-20250804" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-7deda941-20250804" !== 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-d3b26b29-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-7deda941-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11296,10 +11296,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1293 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1293.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7f3b4d69cc1295616bcf6a34c925abf7>>
|
||||
* @generated SignedSource<<282823debc726fbad616526c51ac3323>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13160,11 +13160,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-d3b26b29-20250804" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-7deda941-20250804" !== 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-d3b26b29-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-7deda941-20250804\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13214,10 +13214,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1528 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-d3b26b29-20250804",
|
||||
version: "19.2.0-native-fb-7deda941-20250804",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-d3b26b29-20250804"
|
||||
reconcilerVersion: "19.2.0-native-fb-7deda941-20250804"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1528.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+1
-47
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<4e37e896f362a0c21f96d8e6c65897ba>>
|
||||
* @generated SignedSource<<147294d7e9cbcd95816dba1d3d96c2fc>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -49631,46 +49631,6 @@ function outlineFunctions(fn, fbtOperands) {
|
||||
}
|
||||
}
|
||||
|
||||
function propagatePhiTypes(fn) {
|
||||
const propagated = new Set();
|
||||
for (const [, block] of fn.body.blocks) {
|
||||
for (const phi of block.phis) {
|
||||
if (phi.place.identifier.type.kind !== 'Type' ||
|
||||
phi.place.identifier.name !== null) {
|
||||
continue;
|
||||
}
|
||||
let type = null;
|
||||
for (const [, operand] of phi.operands) {
|
||||
if (type === null) {
|
||||
type = operand.identifier.type;
|
||||
}
|
||||
else if (!typeEquals(type, operand.identifier.type)) {
|
||||
type = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (type !== null) {
|
||||
phi.place.identifier.type = type;
|
||||
propagated.add(phi.place.identifier.id);
|
||||
}
|
||||
}
|
||||
for (const instr of block.instructions) {
|
||||
const { value } = instr;
|
||||
switch (value.kind) {
|
||||
case 'StoreLocal': {
|
||||
const lvalue = value.lvalue.place;
|
||||
if (propagated.has(value.value.identifier.id) &&
|
||||
lvalue.identifier.type.kind === 'Type' &&
|
||||
lvalue.identifier.name === null) {
|
||||
lvalue.identifier.type = value.value.identifier.type;
|
||||
propagated.add(lvalue.identifier.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function lowerContextAccess(fn, loweredContextCalleeConfig) {
|
||||
const contextAccess = new Map();
|
||||
const contextKeys = new Map();
|
||||
@@ -51360,12 +51320,6 @@ function runWithEnvironment(func, env) {
|
||||
name: 'RewriteInstructionKindsBasedOnReassignment',
|
||||
value: hir,
|
||||
});
|
||||
propagatePhiTypes(hir);
|
||||
log({
|
||||
kind: 'hir',
|
||||
name: 'PropagatePhiTypes',
|
||||
value: hir,
|
||||
});
|
||||
if (env.isInferredMemoEnabled) {
|
||||
if (env.config.validateStaticComponents) {
|
||||
env.logErrors(validateStaticComponents(hir));
|
||||
|
||||
+1
-47
@@ -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<<b10c4f3a1d9f07318577eb58ae4b8549>>
|
||||
* @generated SignedSource<<3e79d84e2f93dfb2b1fe8e1a0785659c>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -49410,46 +49410,6 @@ function outlineFunctions(fn, fbtOperands) {
|
||||
}
|
||||
}
|
||||
|
||||
function propagatePhiTypes(fn) {
|
||||
const propagated = new Set();
|
||||
for (const [, block] of fn.body.blocks) {
|
||||
for (const phi of block.phis) {
|
||||
if (phi.place.identifier.type.kind !== 'Type' ||
|
||||
phi.place.identifier.name !== null) {
|
||||
continue;
|
||||
}
|
||||
let type = null;
|
||||
for (const [, operand] of phi.operands) {
|
||||
if (type === null) {
|
||||
type = operand.identifier.type;
|
||||
}
|
||||
else if (!typeEquals(type, operand.identifier.type)) {
|
||||
type = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (type !== null) {
|
||||
phi.place.identifier.type = type;
|
||||
propagated.add(phi.place.identifier.id);
|
||||
}
|
||||
}
|
||||
for (const instr of block.instructions) {
|
||||
const { value } = instr;
|
||||
switch (value.kind) {
|
||||
case 'StoreLocal': {
|
||||
const lvalue = value.lvalue.place;
|
||||
if (propagated.has(value.value.identifier.id) &&
|
||||
lvalue.identifier.type.kind === 'Type' &&
|
||||
lvalue.identifier.name === null) {
|
||||
lvalue.identifier.type = value.value.identifier.type;
|
||||
propagated.add(lvalue.identifier.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function lowerContextAccess(fn, loweredContextCalleeConfig) {
|
||||
const contextAccess = new Map();
|
||||
const contextKeys = new Map();
|
||||
@@ -51139,12 +51099,6 @@ function runWithEnvironment(func, env) {
|
||||
name: 'RewriteInstructionKindsBasedOnReassignment',
|
||||
value: hir,
|
||||
});
|
||||
propagatePhiTypes(hir);
|
||||
log({
|
||||
kind: 'hir',
|
||||
name: 'PropagatePhiTypes',
|
||||
value: hir,
|
||||
});
|
||||
if (env.isInferredMemoEnabled) {
|
||||
if (env.config.validateStaticComponents) {
|
||||
env.logErrors(validateStaticComponents(hir));
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-d3b26b29-20250804",
|
||||
"version": "0.0.0-experimental-7deda941-20250804",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user