Skip to content

Commit 37e7b41

Browse files
mvitousekfacebook-github-bot
authored andcommitted
deploy Flow 0.125.1 to xplat
Summary: Changelog: [Internal] allow-large-files Reviewed By: gkz Differential Revision: D21597387 fbshipit-source-id: dddec43885daa5a9c5c4dfe8e338ecedc9abcd1e
1 parent f0bf4b0 commit 37e7b41

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ untyped-import
8585
untyped-type-import
8686

8787
[version]
88-
^0.124.0
88+
^0.125.0

.flowconfig.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ untyped-import
8585
untyped-type-import
8686

8787
[version]
88-
^0.124.0
88+
^0.125.0

Libraries/Utilities/ReactNativeTestTools.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const React = require('react');
1616

1717
const ReactTestRenderer = require('react-test-renderer');
1818
const ShallowRenderer = require('react-test-renderer/shallow');
19-
/* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses an error
20-
* found when Flow v0.122.0 was deployed. To see the error, delete this comment
19+
/* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses an error
20+
* found when Flow v0.125.1 was deployed. To see the error, delete this comment
2121
* and run Flow. */
2222
const shallowRenderer = new ShallowRenderer();
2323

@@ -28,8 +28,8 @@ export type ReactTestInstance = $PropertyType<ReactTestRendererType, 'root'>;
2828
export type Predicate = (node: ReactTestInstance) => boolean;
2929

3030
type $ReturnType<Fn> = $Call<<Ret, A>((...A) => Ret) => Ret, Fn>;
31-
/* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses an error
32-
* found when Flow v0.122.0 was deployed. To see the error, delete this comment
31+
/* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses an error
32+
* found when Flow v0.125.1 was deployed. To see the error, delete this comment
3333
* and run Flow. */
3434
export type ReactTestRendererJSON = $ReturnType<ReactTestRenderer.create.toJSON>;
3535

@@ -56,12 +56,12 @@ function byClickable(): Predicate {
5656
// HACK: Find components that use `Pressability`.
5757
node.instance?.state?.pressability != null ||
5858
// TODO: Remove this after deleting `Touchable`.
59-
/* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses an
60-
* error found when Flow v0.122.0 was deployed. To see the error, delete
59+
/* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses an
60+
* error found when Flow v0.125.1 was deployed. To see the error, delete
6161
* this comment and run Flow. */
6262
(node.instance &&
63-
/* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses
64-
* an error found when Flow v0.122.0 was deployed. To see the error,
63+
/* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses
64+
* an error found when Flow v0.125.1 was deployed. To see the error,
6565
* delete this comment and run Flow. */
6666
typeof node.instance.touchableHandlePress === 'function'),
6767
'is clickable',
@@ -77,8 +77,8 @@ function byTestID(testID: string): Predicate {
7777

7878
function byTextMatching(regex: RegExp): Predicate {
7979
return withMessage(
80-
/* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses an
81-
* error found when Flow v0.122.0 was deployed. To see the error, delete
80+
/* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses an
81+
* error found when Flow v0.125.1 was deployed. To see the error, delete
8282
* this comment and run Flow. */
8383
node => node.props && regex.exec(node.props.children),
8484
`text content matches ${regex.toString()}`,

jest/renderer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const React = require('react');
1515
const ShallowRenderer = require('react-test-renderer/shallow');
1616
const TestRenderer = require('react-test-renderer');
1717

18-
/* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses an error
19-
* found when Flow v0.122.0 was deployed. To see the error, delete this comment
18+
/* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses an error
19+
* found when Flow v0.125.1 was deployed. To see the error, delete this comment
2020
* and run Flow. */
2121
const renderer = new ShallowRenderer();
2222

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"eslint-plugin-react-hooks": "^3.0.0",
140140
"eslint-plugin-react-native": "3.8.1",
141141
"eslint-plugin-relay": "1.7.1",
142-
"flow-bin": "^0.124.0",
142+
"flow-bin": "^0.125.1",
143143
"jest": "^26.0.1",
144144
"jest-junit": "^10.0.0",
145145
"jscodeshift": "^0.9.0",

template/_flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ untyped-import
7070
untyped-type-import
7171

7272
[version]
73-
^0.124.0
73+
^0.125.0

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3349,10 +3349,10 @@ flat-cache@^1.2.1:
33493349
rimraf "~2.6.2"
33503350
write "^0.2.1"
33513351

3352-
flow-bin@^0.124.0:
3353-
version "0.124.0"
3354-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.124.0.tgz#24b2e55874e1e2041f9247f42473b3db2ef32758"
3355-
integrity sha512-KEtDJ7CFUjcuhw6N52FTZshDd1krf1fxpp4APSIrwhVm+IrlcKJ+EMXpeXKM1kKNSZ347dYGh8wEvXQl4pHZEA==
3352+
flow-bin@^0.125.1:
3353+
version "0.125.1"
3354+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.125.1.tgz#7edbc71e7dc39ddef18086ef75c714bbf1c5917f"
3355+
integrity sha512-jEury9NTXylxQEOAXLWEE945BjBwYcMwwKVnb+5XORNwMQE7i5hQYF0ysYfsaaYOa7rW/U16rHBfwLuaZfWV7A==
33563356

33573357
flow-parser@0.*:
33583358
version "0.89.0"

0 commit comments

Comments
 (0)