From 73a43901b424e82cf8a74fef43371ea6d6a3863a Mon Sep 17 00:00:00 2001 From: Evan Yeung Date: Fri, 6 May 2022 10:51:36 -0700 Subject: [PATCH] Deploy 0.177.0 to xplat Summary: Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D36141544 fbshipit-source-id: 7e322faa6f902547bb68997d02a50352c525d543 --- .flowconfig | 2 +- .flowconfig.android | 2 +- Libraries/Components/ScrollView/ScrollView.js | 1 + Libraries/Lists/VirtualizedSectionList.js | 1 + package.json | 2 +- packages/rn-tester/js/utils/RNTesterStatePersister.js | 1 + repo-config/package.json | 2 +- template/_flowconfig | 2 +- yarn.lock | 8 ++++---- 9 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.flowconfig b/.flowconfig index 185349ad4ec..b89c9f5a9b9 100644 --- a/.flowconfig +++ b/.flowconfig @@ -71,4 +71,4 @@ untyped-import untyped-type-import [version] -^0.176.3 +^0.177.0 diff --git a/.flowconfig.android b/.flowconfig.android index 28405c2f596..ed1a28111b4 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -71,4 +71,4 @@ untyped-import untyped-type-import [version] -^0.176.3 +^0.177.0 diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index c3eccd2049e..b0de7dd98b9 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -1519,6 +1519,7 @@ class ScrollView extends React.Component { keyboardNeverPersistTaps && this._keyboardIsDismissible() && e.target != null && + // $FlowFixMe[incompatible-call] !TextInputState.isTextInput(e.target) ) { return true; diff --git a/Libraries/Lists/VirtualizedSectionList.js b/Libraries/Lists/VirtualizedSectionList.js index 20586c16b49..396ad7b58ca 100644 --- a/Libraries/Lists/VirtualizedSectionList.js +++ b/Libraries/Lists/VirtualizedSectionList.js @@ -148,6 +148,7 @@ class VirtualizedSectionList< viewOffset, index, }; + // $FlowFixMe[incompatible-use] this._listRef.scrollToIndex(toIndexParams); } diff --git a/package.json b/package.json index 471be965906..5b818cea7f8 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "ws": "^6.1.4" }, "devDependencies": { - "flow-bin": "^0.176.3", + "flow-bin": "^0.177.0", "react": "18.0.0", "react-test-renderer": "^18.0.0" }, diff --git a/packages/rn-tester/js/utils/RNTesterStatePersister.js b/packages/rn-tester/js/utils/RNTesterStatePersister.js index 495de54a5c0..4839327bbe8 100644 --- a/packages/rn-tester/js/utils/RNTesterStatePersister.js +++ b/packages/rn-tester/js/utils/RNTesterStatePersister.js @@ -57,6 +57,7 @@ function createContainer( _passSetState = (stateLamda: (state: State) => State): void => { this.setState(state => { const value = stateLamda(state.value); + // $FlowFixMe[incompatible-call] AsyncStorage.setItem(this._cacheKey, JSON.stringify(value)); return {value}; }); diff --git a/repo-config/package.json b/repo-config/package.json index c1f3daa8076..adfd6c8ce96 100644 --- a/repo-config/package.json +++ b/repo-config/package.json @@ -34,7 +34,7 @@ "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-react-native": "^3.11.0", "eslint-plugin-relay": "^1.8.2", - "flow-bin": "^0.176.3", + "flow-bin": "^0.177.0", "inquirer": "^7.1.0", "jest": "^26.6.3", "jest-junit": "^10.0.0", diff --git a/template/_flowconfig b/template/_flowconfig index 74f3a75e7b2..be9800d3542 100644 --- a/template/_flowconfig +++ b/template/_flowconfig @@ -63,4 +63,4 @@ untyped-import untyped-type-import [version] -^0.176.3 +^0.177.0 diff --git a/yarn.lock b/yarn.lock index 81168c1c37a..a5e51129051 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3226,10 +3226,10 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.2.tgz#64bfed5cb68fe3ca78b3eb214ad97b63bedce561" integrity sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA== -flow-bin@^0.176.3: - version "0.176.3" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.176.3.tgz#d32de04e044ab474afe543b9fd245608bb6a6ac8" - integrity sha512-lbNqgjr2GlGLAEVp5+dhG4LdnFE7ekbvVNifAdlvTx58/nE8GrCOMiUwEQy4dLnfL2NIRMk2dbEVTrugeQJ3mA== +flow-bin@^0.177.0: + version "0.177.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.177.0.tgz#dd537424dcbdd56f3cc85fd72330840a590e4711" + integrity sha512-hEm9VDf07iGcfjiCaxZAbpp/bRcgPf/Q3f7UucWpMotrM0MmyZ2hCBvhw53XCd3M7+fP8eyZKRvUWtrMqEC/Sg== flow-parser@0.*: version "0.163.0"