Skip to content

Commit

Permalink
Upgrade Flow to 0.221.0 (#27689)
Browse files Browse the repository at this point in the history
Upgrades Flow and dependencies
```
yarn add -W flow-bin flow-remove-types hermes-parser hermes-eslint
```

DiffTrain build for commit 432b9f1.
  • Loading branch information
kassens committed Nov 10, 2023
1 parent 6dbeb12 commit 14f6c68
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25474,7 +25474,7 @@ if (__DEV__) {
return root;
}

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

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9083,7 +9083,7 @@ var devToolsConfig$jscomp$inline_1033 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-6b3834a45-20231110",
version: "18.3.0-canary-432b9f1d9-20231110",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1226 = {
Expand Down Expand Up @@ -9114,7 +9114,7 @@ var internals$jscomp$inline_1226 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-6b3834a45-20231110"
reconcilerVersion: "18.3.0-canary-432b9f1d9-20231110"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1227 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9509,7 +9509,7 @@ var devToolsConfig$jscomp$inline_1075 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-6b3834a45-20231110",
version: "18.3.0-canary-432b9f1d9-20231110",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1267 = {
Expand Down Expand Up @@ -9540,7 +9540,7 @@ var internals$jscomp$inline_1267 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-6b3834a45-20231110"
reconcilerVersion: "18.3.0-canary-432b9f1d9-20231110"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1268 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ebe223d3b462ba2b21399f81d78fb244>>
* @generated SignedSource<<30dfd0a48c1491cc7311d26c4bb6319c>>
*/

"use strict";
Expand All @@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-canary-6b3834a45-20231110";
var ReactVersion = "18.3.0-canary-432b9f1d9-20231110";

// ATTENTION
// When adding new symbols to this file,
Expand Down Expand Up @@ -1302,6 +1302,7 @@ if (__DEV__) {

function mapChildren(children, func, context) {
if (children == null) {
// $FlowFixMe limitation refining abstract types in Flow
return children;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-6b3834a45-20231110";
exports.version = "18.3.0-canary-432b9f1d9-20231110";
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-6b3834a45-20231110";
exports.version = "18.3.0-canary-432b9f1d9-20231110";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6b3834a45b585e4340734139841ae81dc1b1a75d
432b9f1d9729aaea010730d546bda89b9842eaa1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<35562a820289897947536c61435e3dcd>>
* @generated SignedSource<<aaac73d7cc89a43a1238c55b03c67a4e>>
*/

"use strict";
Expand Down Expand Up @@ -27812,7 +27812,7 @@ to return true:wantsResponderID| |
return root;
}

var ReactVersion = "18.3.0-canary-884b3517";
var ReactVersion = "18.3.0-canary-a3a54342";

function createPortal$1(
children,
Expand Down Expand Up @@ -28465,10 +28465,12 @@ to return true:wantsResponderID| |
}

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<c54b852b644ab942956e79ee7ac647f1>>
* @generated SignedSource<<5c64b11223ba932392928f8c45e304bf>>
*/

"use strict";
Expand Down Expand Up @@ -28253,7 +28253,7 @@ to return true:wantsResponderID| |
return root;
}

var ReactVersion = "18.3.0-canary-31271153";
var ReactVersion = "18.3.0-canary-a3e8b15d";

function createPortal$1(
children,
Expand Down Expand Up @@ -28900,10 +28900,12 @@ to return true:wantsResponderID| |
}

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

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

Expand Down

0 comments on commit 14f6c68

Please sign in to comment.