Skip to content

Commit 14f6c68

Browse files
committed
Upgrade Flow to 0.221.0 (#27689)
Upgrades Flow and dependencies ``` yarn add -W flow-bin flow-remove-types hermes-parser hermes-eslint ``` DiffTrain build for commit 432b9f1.
1 parent 6dbeb12 commit 14f6c68

File tree

9 files changed

+21
-16
lines changed

9 files changed

+21
-16
lines changed

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25474,7 +25474,7 @@ if (__DEV__) {
2547425474
return root;
2547525475
}
2547625476

25477-
var ReactVersion = "18.3.0-canary-6b3834a45-20231110";
25477+
var ReactVersion = "18.3.0-canary-432b9f1d9-20231110";
2547825478

2547925479
// Might add PROFILE later.
2548025480

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9083,7 +9083,7 @@ var devToolsConfig$jscomp$inline_1033 = {
90839083
throw Error("TestRenderer does not support findFiberByHostInstance()");
90849084
},
90859085
bundleType: 0,
9086-
version: "18.3.0-canary-6b3834a45-20231110",
9086+
version: "18.3.0-canary-432b9f1d9-20231110",
90879087
rendererPackageName: "react-test-renderer"
90889088
};
90899089
var internals$jscomp$inline_1226 = {
@@ -9114,7 +9114,7 @@ var internals$jscomp$inline_1226 = {
91149114
scheduleRoot: null,
91159115
setRefreshHandler: null,
91169116
getCurrentFiber: null,
9117-
reconcilerVersion: "18.3.0-canary-6b3834a45-20231110"
9117+
reconcilerVersion: "18.3.0-canary-432b9f1d9-20231110"
91189118
};
91199119
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
91209120
var hook$jscomp$inline_1227 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9509,7 +9509,7 @@ var devToolsConfig$jscomp$inline_1075 = {
95099509
throw Error("TestRenderer does not support findFiberByHostInstance()");
95109510
},
95119511
bundleType: 0,
9512-
version: "18.3.0-canary-6b3834a45-20231110",
9512+
version: "18.3.0-canary-432b9f1d9-20231110",
95139513
rendererPackageName: "react-test-renderer"
95149514
};
95159515
var internals$jscomp$inline_1267 = {
@@ -9540,7 +9540,7 @@ var internals$jscomp$inline_1267 = {
95409540
scheduleRoot: null,
95419541
setRefreshHandler: null,
95429542
getCurrentFiber: null,
9543-
reconcilerVersion: "18.3.0-canary-6b3834a45-20231110"
9543+
reconcilerVersion: "18.3.0-canary-432b9f1d9-20231110"
95449544
};
95459545
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
95469546
var hook$jscomp$inline_1268 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<ebe223d3b462ba2b21399f81d78fb244>>
10+
* @generated SignedSource<<30dfd0a48c1491cc7311d26c4bb6319c>>
1111
*/
1212

1313
"use strict";
@@ -24,7 +24,7 @@ if (__DEV__) {
2424
) {
2525
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2626
}
27-
var ReactVersion = "18.3.0-canary-6b3834a45-20231110";
27+
var ReactVersion = "18.3.0-canary-432b9f1d9-20231110";
2828

2929
// ATTENTION
3030
// When adding new symbols to this file,
@@ -1302,6 +1302,7 @@ if (__DEV__) {
13021302

13031303
function mapChildren(children, func, context) {
13041304
if (children == null) {
1305+
// $FlowFixMe limitation refining abstract types in Flow
13051306
return children;
13061307
}
13071308

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
580580
exports.useTransition = function () {
581581
return ReactCurrentDispatcher.current.useTransition();
582582
};
583-
exports.version = "18.3.0-canary-6b3834a45-20231110";
583+
exports.version = "18.3.0-canary-432b9f1d9-20231110";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ exports.useSyncExternalStore = function (
576576
exports.useTransition = function () {
577577
return ReactCurrentDispatcher.current.useTransition();
578578
};
579-
exports.version = "18.3.0-canary-6b3834a45-20231110";
579+
exports.version = "18.3.0-canary-432b9f1d9-20231110";
580580
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
581581
"function" ===
582582
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6b3834a45b585e4340734139841ae81dc1b1a75d
1+
432b9f1d9729aaea010730d546bda89b9842eaa1

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<35562a820289897947536c61435e3dcd>>
10+
* @generated SignedSource<<aaac73d7cc89a43a1238c55b03c67a4e>>
1111
*/
1212

1313
"use strict";
@@ -27812,7 +27812,7 @@ to return true:wantsResponderID| |
2781227812
return root;
2781327813
}
2781427814

27815-
var ReactVersion = "18.3.0-canary-884b3517";
27815+
var ReactVersion = "18.3.0-canary-a3a54342";
2781627816

2781727817
function createPortal$1(
2781827818
children,
@@ -28465,10 +28465,12 @@ to return true:wantsResponderID| |
2846528465
}
2846628466

2846728467
if (hostInstance == null) {
28468+
// $FlowFixMe[incompatible-return] Flow limitation in refining an opaque type
2846828469
return hostInstance;
28469-
} // $FlowFixMe[incompatible-type] For compatibility with legacy renderer instances
28470+
}
2847028471

2847128472
if (hostInstance._nativeTag != null) {
28473+
// $FlowFixMe[incompatible-return] For compatibility with legacy renderer instances
2847228474
return hostInstance._nativeTag;
2847328475
} // $FlowFixMe[incompatible-call] Necessary when running Flow on the legacy renderer
2847428476

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<c54b852b644ab942956e79ee7ac647f1>>
10+
* @generated SignedSource<<5c64b11223ba932392928f8c45e304bf>>
1111
*/
1212

1313
"use strict";
@@ -28253,7 +28253,7 @@ to return true:wantsResponderID| |
2825328253
return root;
2825428254
}
2825528255

28256-
var ReactVersion = "18.3.0-canary-31271153";
28256+
var ReactVersion = "18.3.0-canary-a3e8b15d";
2825728257

2825828258
function createPortal$1(
2825928259
children,
@@ -28900,10 +28900,12 @@ to return true:wantsResponderID| |
2890028900
}
2890128901

2890228902
if (hostInstance == null) {
28903+
// $FlowFixMe[incompatible-return] Flow limitation in refining an opaque type
2890328904
return hostInstance;
28904-
} // $FlowFixMe[incompatible-type] For compatibility with legacy renderer instances
28905+
}
2890528906

2890628907
if (hostInstance._nativeTag != null) {
28908+
// $FlowFixMe[incompatible-return] For compatibility with legacy renderer instances
2890728909
return hostInstance._nativeTag;
2890828910
} // $FlowFixMe[incompatible-call] Necessary when running Flow on the legacy renderer
2890928911

0 commit comments

Comments
 (0)