@allow-large-files [flow] deploy flow 0.60
Reviewed By: gabelevi Differential Revision: D6466441 fbshipit-source-id: c51eeb53a2465498ad77b3865b5f8c03758d1d35
This commit is contained in:
parent
4ebe76d559
commit
c8e72bb8b8
|
@ -45,12 +45,12 @@ suppress_type=$FlowFixMe
|
|||
suppress_type=$FlowFixMeProps
|
||||
suppress_type=$FlowFixMeState
|
||||
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-9]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-9]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||||
|
||||
unsafe.enable_getters_and_setters=true
|
||||
|
||||
[version]
|
||||
^0.59.0
|
||||
^0.60.0
|
||||
|
|
|
@ -474,6 +474,9 @@ var ScrollResponderMixin = {
|
|||
) {
|
||||
invariant(ScrollViewManager && ScrollViewManager.zoomToRect, 'zoomToRect is not implemented');
|
||||
if ('animated' in rect) {
|
||||
/* $FlowFixMe(>=0.60.0 site=react_native_fb) This comment suppresses an
|
||||
* error found when Flow v0.60 was deployed. To see the error delete this
|
||||
* comment and run Flow. */
|
||||
var { animated, ...rect } = rect;
|
||||
} else if (typeof animated !== 'undefined') {
|
||||
console.warn('`scrollResponderZoomTo` `animated` argument is deprecated. Use `options.animated` instead');
|
||||
|
|
|
@ -324,7 +324,6 @@ class StatusBar extends React.Component<{
|
|||
componentWillUnmount() {
|
||||
// When a StatusBar is unmounted, remove itself from the stack and update
|
||||
// the native bar with the next props.
|
||||
// $FlowFixMe found when converting React.createClass to ES6
|
||||
const index = StatusBar._propsStack.indexOf(this._stackEntry);
|
||||
StatusBar._propsStack.splice(index, 1);
|
||||
|
||||
|
@ -332,7 +331,6 @@ class StatusBar extends React.Component<{
|
|||
}
|
||||
|
||||
componentDidUpdate() {
|
||||
// $FlowFixMe found when converting React.createClass to ES6
|
||||
const index = StatusBar._propsStack.indexOf(this._stackEntry);
|
||||
this._stackEntry = createStackEntry(this.props);
|
||||
StatusBar._propsStack[index] = this._stackEntry;
|
||||
|
|
|
@ -39,9 +39,6 @@ class StyleSheetValidation {
|
|||
/* $FlowFixMe(>=0.56.0 site=react_native_oss) This comment suppresses an
|
||||
* error found when Flow v0.56 was deployed. To see the error delete this
|
||||
* comment and run Flow. */
|
||||
/* $FlowFixMe(>=0.56.0 site=react_native_fb,react_native_oss) This
|
||||
* comment suppresses an error found when Flow v0.56 was deployed. To see
|
||||
* the error delete this comment and run Flow. */
|
||||
styleError(message1, style, caller, message2);
|
||||
}
|
||||
var error = allStylePropTypes[prop](
|
||||
|
|
|
@ -89,8 +89,6 @@ function runServer(
|
|||
var wsProxy = null;
|
||||
var ms = null;
|
||||
|
||||
/* $FlowFixMe: Flow is wrong, Node.js docs specify that process.stdout is an
|
||||
* instance of a net.Socket (a local socket, not network). */
|
||||
const terminal = new Terminal(process.stdout);
|
||||
const ReporterImpl = getReporterImpl(args.customLogReporterPath || null);
|
||||
const reporter = new ReporterImpl(terminal);
|
||||
|
|
|
@ -41,12 +41,12 @@ suppress_type=$FlowFixMe
|
|||
suppress_type=$FlowFixMeProps
|
||||
suppress_type=$FlowFixMeState
|
||||
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-9]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-9]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||||
|
||||
unsafe.enable_getters_and_setters=true
|
||||
|
||||
[version]
|
||||
^0.59.0
|
||||
^0.60.0
|
||||
|
|
|
@ -208,7 +208,7 @@
|
|||
"eslint-plugin-flowtype": "^2.33.0",
|
||||
"eslint-plugin-prettier": "2.1.1",
|
||||
"eslint-plugin-react": "^7.2.1",
|
||||
"flow-bin": "^0.59.0",
|
||||
"flow-bin": "^0.60.1",
|
||||
"jest": "21.3.0-beta.8",
|
||||
"prettier": "1.7.0",
|
||||
"react": "16.2.0",
|
||||
|
|
Loading…
Reference in New Issue