Skip to content

Commit c40988c

Browse files
nmotefacebook-github-bot
authored andcommitted
Deploy Flow v0.116 to xplat
Summary: Changelog: [Internal] Reviewed By: gkz Differential Revision: D19416307 fbshipit-source-id: 32767f24e5bfeb1912f7dd5527eb8c4db7a08a1a
1 parent ce18521 commit c40988c

File tree

8 files changed

+12
-16
lines changed

8 files changed

+12
-16
lines changed

.flowconfig

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

8686
[version]
87-
^0.115.0
87+
^0.116.0

.flowconfig.android

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

8686
[version]
87-
^0.115.0
87+
^0.116.0

Libraries/Image/ImageViewNativeComponent.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@ if (global.RN$Bridgeless) {
5252
);
5353
}
5454

55-
export default ((ImageViewNativeComponent: any): HostComponent<NativeProps>); // flowlint-line unclear-type:off
55+
// flowlint-next-line unclear-type:off
56+
export default ((ImageViewNativeComponent: any): HostComponent<NativeProps>);

Libraries/Image/ImageViewViewConfig.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ const ImageViewViewConfig = {
3939
validAttributes: {
4040
...ReactNativeViewViewConfig.validAttributes,
4141
blurRadius: true,
42-
capInsets: {diff: (require('../Utilities/differ/insetsDiffer'): any)}, // flowlint-line unclear-type:off
42+
// flowlint-next-line unclear-type:off
43+
capInsets: {diff: (require('../Utilities/differ/insetsDiffer'): any)},
4344
defaultSource: {
4445
process: require('./resolveAssetSource'),
4546
},

Libraries/StyleSheet/processTransform.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,6 @@ function _validateTransform(key, value, transformation) {
170170
switch (key) {
171171
case 'matrix':
172172
invariant(
173-
/* $FlowFixMe(>=0.88.0 site=react_native_fb) This comment suppresses an
174-
* error found when Flow v0.88 was deployed. To see the error, delete
175-
* this comment and run Flow. */
176173
value.length === 9 || value.length === 16,
177174
'Matrix transform must have a length of 9 (2d) or 16 (3d). ' +
178175
'Provided matrix has a length of %s: %s',
@@ -185,9 +182,6 @@ function _validateTransform(key, value, transformation) {
185182
break;
186183
case 'translate':
187184
invariant(
188-
/* $FlowFixMe(>=0.88.0 site=react_native_fb) This comment suppresses an
189-
* error found when Flow v0.88 was deployed. To see the error, delete
190-
* this comment and run Flow. */
191185
value.length === 2 || value.length === 3,
192186
'Transform with key translate must be an array of length 2 or 3, found %s: %s',
193187
/* $FlowFixMe(>=0.84.0 site=react_native_fb) This comment suppresses an

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"eslint-plugin-react-hooks": "^2.0.1",
142142
"eslint-plugin-react-native": "3.8.1",
143143
"eslint-plugin-relay": "1.4.1",
144-
"flow-bin": "^0.115.0",
144+
"flow-bin": "^0.116.0",
145145
"flow-remove-types": "1.2.3",
146146
"jest": "^24.8.0",
147147
"jest-junit": "^6.3.0",

template/_flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ untyped-import
7373
untyped-type-import
7474

7575
[version]
76-
^0.115.0
76+
^0.116.0

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3382,10 +3382,10 @@ flat-cache@^1.2.1:
33823382
rimraf "~2.6.2"
33833383
write "^0.2.1"
33843384

3385-
flow-bin@^0.115.0:
3386-
version "0.115.0"
3387-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.115.0.tgz#22e3ad9e5c7198967de80138ba8a9154ff387960"
3388-
integrity sha512-xW+U2SrBaAr0EeLvKmXAmsdnrH6x0Io17P6yRJTNgrrV42G8KXhBAD00s6oGbTTqRyHD0nP47kyuU34zljZpaQ==
3385+
flow-bin@^0.116.0:
3386+
version "0.116.0"
3387+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.116.0.tgz#f2e5ef318838ceb760e3f588b66076bc8ee1dc87"
3388+
integrity sha512-6q1f84mhAzHlUp9eTpIIJqINFBXf2+HGQllYfrkdQ+DfOLkF2wEZNHpVlYX1DL0G3uS8D//XEfsN2seZAc7jiw==
33893389

33903390
flow-parser@0.*:
33913391
version "0.89.0"

0 commit comments

Comments
 (0)