Skip to content

Commit

Permalink
upgrade to flow 0.187.0
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D39542847

fbshipit-source-id: 2eeb8740dd0a142b7e411fbee4765a8f38685c76
  • Loading branch information
mroch authored and facebook-github-bot committed Sep 15, 2022
1 parent 03cb5ac commit a8ece43
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ untyped-import
untyped-type-import

[version]
^0.186.0
^0.187.0
2 changes: 1 addition & 1 deletion .flowconfig.android
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ untyped-import
untyped-type-import

[version]
^0.186.0
^0.187.0
1 change: 1 addition & 0 deletions Libraries/BatchedBridge/NativeModules.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ function genMethod(moduleID: number, methodID: number, type: MethodType) {
}
};
}
// $FlowFixMe[prop-missing]
fn.type = type;
return fn;
}
Expand Down
2 changes: 2 additions & 0 deletions Libraries/Image/resolveAssetSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,7 @@ function resolveAssetSource(source: any): ?ResolvedAssetSource {
}

module.exports = resolveAssetSource;
// $FlowFixMe[prop-missing]
module.exports.pickScale = pickScale;
// $FlowFixMe[prop-missing]
module.exports.setCustomSourceTransformer = setCustomSourceTransformer;
1 change: 1 addition & 0 deletions Libraries/Pressability/Pressability.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ export default class Pressability {

if (process.env.NODE_ENV === 'test') {
// We are setting this in order to find this node in ReactNativeTestTools
// $FlowFixMe[prop-missing]
responderEventHandlers.onStartShouldSetResponder.testOnly_pressabilityConfig =
() => this._config;
}
Expand Down
1 change: 1 addition & 0 deletions Libraries/ReactNative/getCachedComponentWithDebugName.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function getCachedComponentWithDisplayName(
ComponentWithDisplayName = ({
children,
}: $TEMPORARY$object<{children: Node}>) => children;
// $FlowFixMe[prop-missing]
ComponentWithDisplayName.displayName = displayName;
cache.set(displayName, ComponentWithDisplayName);
}
Expand Down
1 change: 1 addition & 0 deletions Libraries/Utilities/differ/deepDiffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,5 @@ const deepDiffer = function (
};

module.exports = deepDiffer;
// $FlowFixMe[prop-missing]
module.exports.unstable_setLogListeners = unstable_setLogListeners;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"ws": "^6.1.4"
},
"devDependencies": {
"flow-bin": "^0.186.0",
"flow-bin": "^0.187.0",
"hermes-eslint": "0.8.0",
"react": "18.2.0",
"react-test-renderer": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion repo-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.0.0",
"eslint-plugin-relay": "^1.8.3",
"flow-bin": "^0.186.0",
"flow-bin": "^0.187.0",
"inquirer": "^7.1.0",
"jest": "^27.5.1",
"jest-junit": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion template/_flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ untyped-import
untyped-type-import

[version]
^0.186.0
^0.187.0
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4253,10 +4253,10 @@ flatted@^3.1.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.2.tgz#64bfed5cb68fe3ca78b3eb214ad97b63bedce561"
integrity sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==

flow-bin@^0.186.0:
version "0.186.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.186.0.tgz#b60b720dea977516db8e77fdd3911f66e86c6378"
integrity sha512-p5g03TsAipO6Wu22rpphRZQ9EYuhVWANN698MRLWRyP7ZtkEyCpFHDfmzRHM4Ym/tbCQCMdLJ9JX/GmuiDsB2w==
flow-bin@^0.187.0:
version "0.187.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.187.0.tgz#3a2a0331f926b9ce285d726108f8a9af9158e13e"
integrity sha512-f0c3e7D33+xYT7comdqPtckBeSxlaQq+NtckDarGM0LU3ofgDQfMzt0XlyWjL9/8y3QzwwaUdM0JJbI7hTiscA==

flow-parser@0.*:
version "0.163.0"
Expand Down

0 comments on commit a8ece43

Please sign in to comment.