Deploy v0.30.0
Reviewed By: avikchaudhuri Differential Revision: D3654213 fbshipit-source-id: b03879345ad9beae73a055c1b2e7211d074a08f0
This commit is contained in:
parent
c2cf510ff8
commit
e34dd4f938
|
@ -47,11 +47,11 @@ suppress_type=$FlowIssue
|
|||
suppress_type=$FlowFixMe
|
||||
suppress_type=$FixMe
|
||||
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-9]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-9]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(30\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(30\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||
|
||||
unsafe.enable_getters_and_setters=true
|
||||
|
||||
[version]
|
||||
^0.29.0
|
||||
^0.30.0
|
||||
|
|
|
@ -71,9 +71,11 @@ function installConsoleErrorReporter() {
|
|||
if (console._errorOriginal) {
|
||||
return; // already installed
|
||||
}
|
||||
console._errorOriginal = console.error.bind(console);
|
||||
// Flow doesn't like it when you set arbitrary values on a global object
|
||||
(console: any)._errorOriginal = console.error.bind(console);
|
||||
console.error = function reactConsoleError() {
|
||||
console._errorOriginal.apply(null, arguments);
|
||||
// Flow doesn't like it when you set arbitrary values on a global object
|
||||
(console: any)._errorOriginal.apply(null, arguments);
|
||||
if (!console.reportErrorsAsExceptions) {
|
||||
return;
|
||||
}
|
||||
|
@ -95,7 +97,8 @@ function installConsoleErrorReporter() {
|
|||
}
|
||||
};
|
||||
if (console.reportErrorsAsExceptions === undefined) {
|
||||
console.reportErrorsAsExceptions = true; // Individual apps can disable this
|
||||
// Flow doesn't like it when you set arbitrary values on a global object
|
||||
(console: any).reportErrorsAsExceptions = true; // Individual apps can disable this
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -201,7 +201,7 @@
|
|||
"eslint-plugin-babel": "^3.2.0",
|
||||
"eslint-plugin-flow-vars": "^0.2.1",
|
||||
"eslint-plugin-react": "^4.2.1",
|
||||
"flow-bin": "^0.29.0",
|
||||
"flow-bin": "^0.30.0",
|
||||
"jest": "latest",
|
||||
"jest-repl": "latest",
|
||||
"jest-runtime": "latest",
|
||||
|
|
Loading…
Reference in New Issue