diff --git a/.flowconfig b/.flowconfig index ac9133e36d65e9..e70c184db7c04c 100644 --- a/.flowconfig +++ b/.flowconfig @@ -100,4 +100,4 @@ untyped-import untyped-type-import [version] -^0.91.0 +^0.92.0 diff --git a/.flowconfig.android b/.flowconfig.android index 2c1e4423e28b2c..3eae482e141c2b 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -100,4 +100,4 @@ untyped-import untyped-type-import [version] -^0.91.0 +^0.92.0 diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 1f9527b2bdb4fa..c237e0a6a4a96d 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -403,8 +403,8 @@ export type Props = $ReadOnly<{| * - `false`, deprecated, use 'never' instead * - `true`, deprecated, use 'always' instead */ - /* $FlowFixMe(>=0.91.0 site=react_native_fb) This comment suppresses an error - * found when Flow v0.91 was deployed. To see the error, delete this comment + /* $FlowFixMe(>=0.92.0 site=react_native_fb) This comment suppresses an error + * found when Flow v0.92 was deployed. To see the error, delete this comment * and run Flow. */ keyboardShouldPersistTaps?: ?('always' | 'never' | 'handled' | false | true), /** diff --git a/Libraries/Inspector/Inspector.js b/Libraries/Inspector/Inspector.js index 7e85c4d099eba1..56d23c16b1a3d8 100644 --- a/Libraries/Inspector/Inspector.js +++ b/Libraries/Inspector/Inspector.js @@ -118,9 +118,6 @@ class Inspector extends React.Component< attachToDevtools = (agent: Object) => { let _hideWait = null; const hlSub = agent.sub('highlight', ({node, name, props}) => { - /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an - * error found when Flow v0.63 was deployed. To see the error delete this - * comment and run Flow. */ clearTimeout(_hideWait); if (typeof node !== 'number') { diff --git a/package.json b/package.json index 477e566158f4cc..b115b296550de9 100644 --- a/package.json +++ b/package.json @@ -157,6 +157,7 @@ }, "dependencies": { "@babel/runtime": "^7.0.0", + "@react-native-community/cli": "^1.1.0", "absolute-path": "^0.0.0", "art": "^0.10.0", "base64-js": "^1.1.2", @@ -198,7 +199,6 @@ "prop-types": "^15.5.8", "react-clone-referenced-element": "^1.0.1", "react-devtools-core": "^3.6.0", - "@react-native-community/cli": "^1.1.0", "regenerator-runtime": "^0.11.0", "rimraf": "^2.5.4", "semver": "^5.0.3", @@ -226,7 +226,7 @@ "eslint-plugin-prettier": "2.6.0", "eslint-plugin-react": "7.8.2", "eslint-plugin-react-native": "3.5.0", - "flow-bin": "^0.91.0", + "flow-bin": "^0.92.0", "jest": "24.0.0-alpha.6", "jest-junit": "5.2.0", "jscodeshift": "^0.6.2", diff --git a/template/_flowconfig b/template/_flowconfig index 07ae14f57241c2..47d80d95414d61 100644 --- a/template/_flowconfig +++ b/template/_flowconfig @@ -66,4 +66,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError [version] -^0.91.0 +^0.92.0 diff --git a/yarn.lock b/yarn.lock index d6aa40353ba730..155523dc713b4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3145,10 +3145,10 @@ flat-cache@^1.2.1: graceful-fs "^4.1.2" write "^0.2.1" -flow-bin@^0.91.0: - version "0.91.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.91.0.tgz#f5c89729f74b2ccbd47df6fbfadbdcc89cc1e478" - integrity sha512-j+L+xNiUYnZZ27MjVI0y2c9474ZHOvdSQq0Tjwh56mEA7tfxYqp5Dcb6aZSwvs3tGMTjCrZow9aUlZf3OoRyDQ== +flow-bin@^0.92.0: + version "0.92.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.92.0.tgz#f5bf3e808b17b480e067ac673829ca715a168bea" + integrity sha512-3ErXSAXZZlLV5/QPlaUDCWlDUXop1SiH32ifXL3SEiBwsmGbudCLim+HFVZfkegrn1nB4TcNSkMWtW8SnMPyAQ== flow-parser@0.*: version "0.89.0"