Flow 0.123.0 in xplat/js

Summary:
Changelog: [Internal]

## Sync of generated files

Ran
```
js1 upgrade www-shared -p core_windowless
```
but had to manually revert
```
RKJSModules/Libraries/www-shared/core_windowless/logging/FBLoggerType.flow.js
RKJSModules/Libraries/www-shared/core_windowless/logging/FBLogger.js
```
because they introduced more errors

## Flow version bump
```
~/fbsource/fbcode/flow/facebook/deploy_xplat.sh 0.123.0
```

Reviewed By: gkz

Differential Revision: D21159821

fbshipit-source-id: e106fcb43e4fc525b9185f8fc8a246e6c3a6b14f
This commit is contained in:
Panagiotis Vekris
2020-04-21 22:43:24 -07:00
committed by Facebook GitHub Bot
parent 6aab3f8946
commit 57fee33898
7 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -85,4 +85,4 @@ untyped-import
untyped-type-import
[version]
^0.122.0
^0.123.0
+1 -1
View File
@@ -85,4 +85,4 @@ untyped-import
untyped-type-import
[version]
^0.122.0
^0.123.0
+3 -3
View File
@@ -32,10 +32,10 @@ function getConstants(): Object {
return NativeUIManagerConstants;
}
/* $FlowFixMe(>=0.123.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.123.0 was deployed. To see the error, delete this comment
* and run Flow. */
const UIManagerJS = {
/* $FlowFixMe(>=0.111.0 site=react_native_fb) This comment suppresses an
* error found when Flow v0.111 was deployed. To see the error, delete this
* comment and run Flow. */
...NativeUIManager,
getConstants(): Object {
return getConstants();
@@ -26,7 +26,6 @@ import {ImplementationWriter} from './ImplementationWriter';
// $FlowFixMe: this isn't a module, just a JSON file.
const standard = require('devtools-protocol/json/js_protocol.json');
// $FlowFixMe: this isn't a module, also just a JSON file.
const custom = require('../src/custom.json');
type Descriptor = {|
+1 -1
View File
@@ -138,7 +138,7 @@
"eslint-plugin-react-hooks": "^3.0.0",
"eslint-plugin-react-native": "3.8.1",
"eslint-plugin-relay": "1.7.0",
"flow-bin": "^0.122.0",
"flow-bin": "^0.123.0",
"flow-remove-types": "1.2.3",
"jest": "^25.4.0",
"jest-junit": "^10.0.0",
+1 -1
View File
@@ -70,4 +70,4 @@ untyped-import
untyped-type-import
[version]
^0.122.0
^0.123.0
+4 -4
View File
@@ -3544,10 +3544,10 @@ flat-cache@^1.2.1:
rimraf "~2.6.2"
write "^0.2.1"
flow-bin@^0.122.0:
version "0.122.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.122.0.tgz#c723a2b33b1a70bd10204704ae1dc776d5d89d79"
integrity sha512-my8N5jgl/A+UVby9E7NDppHdhLgRbWgKbmFZSx2MSYMRh3d9YGnM2MM+wexpUpl0ftY1IM6ZcUwaAhrypLyvlA==
flow-bin@^0.123.0:
version "0.123.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.123.0.tgz#7ba61a0b8775928cf4943ccf78eed2b1b05f7b3a"
integrity sha512-Ylcf8YDIM/KrqtxkPuq+f8O+6sdYA2Nuz5f+sWHlp539DatZz3YMcsO1EiXaf1C11HJgpT/3YGYe7xZ9/UZmvQ==
flow-parser@0.*:
version "0.89.0"