mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deploy Flow v0.116 to xplat
Summary: Changelog: [Internal] Reviewed By: gkz Differential Revision: D19416307 fbshipit-source-id: 32767f24e5bfeb1912f7dd5527eb8c4db7a08a1a
This commit is contained in:
committed by
Facebook Github Bot
parent
ce18521c9e
commit
c40988cc22
+1
-1
@@ -84,4 +84,4 @@ untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
^0.115.0
|
||||
^0.116.0
|
||||
|
||||
+1
-1
@@ -84,4 +84,4 @@ untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
^0.115.0
|
||||
^0.116.0
|
||||
|
||||
@@ -52,4 +52,5 @@ if (global.RN$Bridgeless) {
|
||||
);
|
||||
}
|
||||
|
||||
export default ((ImageViewNativeComponent: any): HostComponent<NativeProps>); // flowlint-line unclear-type:off
|
||||
// flowlint-next-line unclear-type:off
|
||||
export default ((ImageViewNativeComponent: any): HostComponent<NativeProps>);
|
||||
|
||||
@@ -39,7 +39,8 @@ const ImageViewViewConfig = {
|
||||
validAttributes: {
|
||||
...ReactNativeViewViewConfig.validAttributes,
|
||||
blurRadius: true,
|
||||
capInsets: {diff: (require('../Utilities/differ/insetsDiffer'): any)}, // flowlint-line unclear-type:off
|
||||
// flowlint-next-line unclear-type:off
|
||||
capInsets: {diff: (require('../Utilities/differ/insetsDiffer'): any)},
|
||||
defaultSource: {
|
||||
process: require('./resolveAssetSource'),
|
||||
},
|
||||
|
||||
@@ -170,9 +170,6 @@ function _validateTransform(key, value, transformation) {
|
||||
switch (key) {
|
||||
case 'matrix':
|
||||
invariant(
|
||||
/* $FlowFixMe(>=0.88.0 site=react_native_fb) This comment suppresses an
|
||||
* error found when Flow v0.88 was deployed. To see the error, delete
|
||||
* this comment and run Flow. */
|
||||
value.length === 9 || value.length === 16,
|
||||
'Matrix transform must have a length of 9 (2d) or 16 (3d). ' +
|
||||
'Provided matrix has a length of %s: %s',
|
||||
@@ -185,9 +182,6 @@ function _validateTransform(key, value, transformation) {
|
||||
break;
|
||||
case 'translate':
|
||||
invariant(
|
||||
/* $FlowFixMe(>=0.88.0 site=react_native_fb) This comment suppresses an
|
||||
* error found when Flow v0.88 was deployed. To see the error, delete
|
||||
* this comment and run Flow. */
|
||||
value.length === 2 || value.length === 3,
|
||||
'Transform with key translate must be an array of length 2 or 3, found %s: %s',
|
||||
/* $FlowFixMe(>=0.84.0 site=react_native_fb) This comment suppresses an
|
||||
|
||||
+1
-1
@@ -141,7 +141,7 @@
|
||||
"eslint-plugin-react-hooks": "^2.0.1",
|
||||
"eslint-plugin-react-native": "3.8.1",
|
||||
"eslint-plugin-relay": "1.4.1",
|
||||
"flow-bin": "^0.115.0",
|
||||
"flow-bin": "^0.116.0",
|
||||
"flow-remove-types": "1.2.3",
|
||||
"jest": "^24.8.0",
|
||||
"jest-junit": "^6.3.0",
|
||||
|
||||
@@ -73,4 +73,4 @@ untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
^0.115.0
|
||||
^0.116.0
|
||||
|
||||
@@ -3382,10 +3382,10 @@ flat-cache@^1.2.1:
|
||||
rimraf "~2.6.2"
|
||||
write "^0.2.1"
|
||||
|
||||
flow-bin@^0.115.0:
|
||||
version "0.115.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.115.0.tgz#22e3ad9e5c7198967de80138ba8a9154ff387960"
|
||||
integrity sha512-xW+U2SrBaAr0EeLvKmXAmsdnrH6x0Io17P6yRJTNgrrV42G8KXhBAD00s6oGbTTqRyHD0nP47kyuU34zljZpaQ==
|
||||
flow-bin@^0.116.0:
|
||||
version "0.116.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.116.0.tgz#f2e5ef318838ceb760e3f588b66076bc8ee1dc87"
|
||||
integrity sha512-6q1f84mhAzHlUp9eTpIIJqINFBXf2+HGQllYfrkdQ+DfOLkF2wEZNHpVlYX1DL0G3uS8D//XEfsN2seZAc7jiw==
|
||||
|
||||
flow-parser@0.*:
|
||||
version "0.89.0"
|
||||
|
||||
Reference in New Issue
Block a user