Deploy v0.36.0

Reviewed By: zertosh

Differential Revision: D4237912

fbshipit-source-id: cc251884350ffa3c8715a4920f90bd301e8a9b7f
This commit is contained in:
Gabe Levi 2016-11-28 10:10:38 -08:00 committed by Facebook Github Bot
parent 28275836c9
commit bf901d926e
6 changed files with 16 additions and 5 deletions

View File

@ -39,11 +39,11 @@ suppress_type=$FlowIssue
suppress_type=$FlowFixMe suppress_type=$FlowFixMe
suppress_type=$FixMe suppress_type=$FixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-5]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-6]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-5]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-6]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
unsafe.enable_getters_and_setters=true unsafe.enable_getters_and_setters=true
[version] [version]
^0.35.0 ^0.36.0

View File

@ -1078,6 +1078,9 @@ class AnimatedInterpolation extends AnimatedWithChildren {
typeof parentValue === 'number', typeof parentValue === 'number',
'Cannot interpolate an input which is not a number.' 'Cannot interpolate an input which is not a number.'
); );
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected during the
* deploy of Flow v0.36.0. To see the error, remove this comment and run
* Flow */
return this._interpolation(parentValue); return this._interpolation(parentValue);
} }

View File

@ -240,10 +240,12 @@ const NetInfo = {
eventName: ChangeEventName, eventName: ChangeEventName,
handler: Function handler: Function
): void { ): void {
/* $FlowFixMe */
const listener = _isConnectedSubscriptions.get(handler); const listener = _isConnectedSubscriptions.get(handler);
NetInfo.removeEventListener( NetInfo.removeEventListener(
eventName, eventName,
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected during
* the deploy of Flow v0.36.0. To see the error, remove this comment
* and run Flow */
listener listener
); );
_isConnectedSubscriptions.delete(handler); _isConnectedSubscriptions.delete(handler);

View File

@ -222,7 +222,7 @@
"eslint-plugin-babel": "^3.3.0", "eslint-plugin-babel": "^3.3.0",
"eslint-plugin-flowtype": "^2.20.0", "eslint-plugin-flowtype": "^2.20.0",
"eslint-plugin-react": "^6.4.1", "eslint-plugin-react": "^6.4.1",
"flow-bin": "^0.35.0", "flow-bin": "^0.36.0",
"graphlib-dot": "0.6.2", "graphlib-dot": "0.6.2",
"graphql": "0.8.2", "graphql": "0.8.2",
"jest": "17.0.3", "jest": "17.0.3",

View File

@ -14,6 +14,9 @@ const ModuleTransport = require('../lib/ModuleTransport');
export type FinalizeOptions = { export type FinalizeOptions = {
allowUpdates?: boolean, allowUpdates?: boolean,
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected during the
* deploy of Flow v0.36.0. To see the error, remove this comment and run Flow
*/
runBeforeMainModule?: Array<mixed>, runBeforeMainModule?: Array<mixed>,
runMainModule?: boolean, runMainModule?: boolean,
}; };

View File

@ -161,6 +161,9 @@ class Cache {
const ret = (Object.create(null): Record); const ret = (Object.create(null): Record);
ret.metadata = record.metadata; ret.metadata = record.metadata;
ret.data = Object.create(null); ret.data = Object.create(null);
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected
* during the deploy of Flow v0.36.0. To see the error, remove this
* comment and run Flow */
fieldNames.forEach((field, index) => fieldNames.forEach((field, index) =>
ret.data[field] = ref[index] ret.data[field] = ref[index]
); );