Skip to content

Commit cc83742

Browse files
pakoitofacebook-github-bot
authored andcommitted
Update xplat/js to 0.92.0
Summary: This diff updates `xplat/js` to Flow 0.92.0 Reviewed By: panagosg7 Differential Revision: D13917049 fbshipit-source-id: 69613182badecd4c23aef25b79f7380d5604a13b
1 parent fcd87ea commit cc83742

File tree

7 files changed

+11
-14
lines changed

7 files changed

+11
-14
lines changed

.flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ untyped-import
100100
untyped-type-import
101101

102102
[version]
103-
^0.91.0
103+
^0.92.0

.flowconfig.android

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ untyped-import
100100
untyped-type-import
101101

102102
[version]
103-
^0.91.0
103+
^0.92.0

Libraries/Components/ScrollView/ScrollView.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ export type Props = $ReadOnly<{|
403403
* - `false`, deprecated, use 'never' instead
404404
* - `true`, deprecated, use 'always' instead
405405
*/
406-
/* $FlowFixMe(>=0.91.0 site=react_native_fb) This comment suppresses an error
407-
* found when Flow v0.91 was deployed. To see the error, delete this comment
406+
/* $FlowFixMe(>=0.92.0 site=react_native_fb) This comment suppresses an error
407+
* found when Flow v0.92 was deployed. To see the error, delete this comment
408408
* and run Flow. */
409409
keyboardShouldPersistTaps?: ?('always' | 'never' | 'handled' | false | true),
410410
/**

Libraries/Inspector/Inspector.js

-3
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ class Inspector extends React.Component<
118118
attachToDevtools = (agent: Object) => {
119119
let _hideWait = null;
120120
const hlSub = agent.sub('highlight', ({node, name, props}) => {
121-
/* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an
122-
* error found when Flow v0.63 was deployed. To see the error delete this
123-
* comment and run Flow. */
124121
clearTimeout(_hideWait);
125122

126123
if (typeof node !== 'number') {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
},
158158
"dependencies": {
159159
"@babel/runtime": "^7.0.0",
160+
"@react-native-community/cli": "^1.1.0",
160161
"absolute-path": "^0.0.0",
161162
"art": "^0.10.0",
162163
"base64-js": "^1.1.2",
@@ -198,7 +199,6 @@
198199
"prop-types": "^15.5.8",
199200
"react-clone-referenced-element": "^1.0.1",
200201
"react-devtools-core": "^3.6.0",
201-
"@react-native-community/cli": "^1.1.0",
202202
"regenerator-runtime": "^0.11.0",
203203
"rimraf": "^2.5.4",
204204
"semver": "^5.0.3",
@@ -226,7 +226,7 @@
226226
"eslint-plugin-prettier": "2.6.0",
227227
"eslint-plugin-react": "7.8.2",
228228
"eslint-plugin-react-native": "3.5.0",
229-
"flow-bin": "^0.91.0",
229+
"flow-bin": "^0.92.0",
230230
"jest": "24.0.0-alpha.6",
231231
"jest-junit": "5.2.0",
232232
"jscodeshift": "^0.6.2",

template/_flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
6666
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
6767

6868
[version]
69-
^0.91.0
69+
^0.92.0

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -3145,10 +3145,10 @@ flat-cache@^1.2.1:
31453145
graceful-fs "^4.1.2"
31463146
write "^0.2.1"
31473147

3148-
flow-bin@^0.91.0:
3149-
version "0.91.0"
3150-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.91.0.tgz#f5c89729f74b2ccbd47df6fbfadbdcc89cc1e478"
3151-
integrity sha512-j+L+xNiUYnZZ27MjVI0y2c9474ZHOvdSQq0Tjwh56mEA7tfxYqp5Dcb6aZSwvs3tGMTjCrZow9aUlZf3OoRyDQ==
3148+
flow-bin@^0.92.0:
3149+
version "0.92.0"
3150+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.92.0.tgz#f5bf3e808b17b480e067ac673829ca715a168bea"
3151+
integrity sha512-3ErXSAXZZlLV5/QPlaUDCWlDUXop1SiH32ifXL3SEiBwsmGbudCLim+HFVZfkegrn1nB4TcNSkMWtW8SnMPyAQ==
31523152

31533153
flow-parser@0.*:
31543154
version "0.89.0"

0 commit comments

Comments
 (0)