Skip to content

Commit bf901d9

Browse files
gabeleviFacebook Github Bot
authored andcommitted
Deploy v0.36.0
Reviewed By: zertosh Differential Revision: D4237912 fbshipit-source-id: cc251884350ffa3c8715a4920f90bd301e8a9b7f
1 parent 2827583 commit bf901d9

File tree

6 files changed

+16
-5
lines changed

6 files changed

+16
-5
lines changed

.flowconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ suppress_type=$FlowIssue
3939
suppress_type=$FlowFixMe
4040
suppress_type=$FixMe
4141

42-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-5]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
43-
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]+
42+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-6]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
43+
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]+
4444
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
4545

4646
unsafe.enable_getters_and_setters=true
4747

4848
[version]
49-
^0.35.0
49+
^0.36.0

Libraries/Animated/src/AnimatedImplementation.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,6 +1078,9 @@ class AnimatedInterpolation extends AnimatedWithChildren {
10781078
typeof parentValue === 'number',
10791079
'Cannot interpolate an input which is not a number.'
10801080
);
1081+
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected during the
1082+
* deploy of Flow v0.36.0. To see the error, remove this comment and run
1083+
* Flow */
10811084
return this._interpolation(parentValue);
10821085
}
10831086

Libraries/Network/NetInfo.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,12 @@ const NetInfo = {
240240
eventName: ChangeEventName,
241241
handler: Function
242242
): void {
243-
/* $FlowFixMe */
244243
const listener = _isConnectedSubscriptions.get(handler);
245244
NetInfo.removeEventListener(
246245
eventName,
246+
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected during
247+
* the deploy of Flow v0.36.0. To see the error, remove this comment
248+
* and run Flow */
247249
listener
248250
);
249251
_isConnectedSubscriptions.delete(handler);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
"eslint-plugin-babel": "^3.3.0",
223223
"eslint-plugin-flowtype": "^2.20.0",
224224
"eslint-plugin-react": "^6.4.1",
225-
"flow-bin": "^0.35.0",
225+
"flow-bin": "^0.36.0",
226226
"graphlib-dot": "0.6.2",
227227
"graphql": "0.8.2",
228228
"jest": "17.0.3",

packager/react-packager/src/Bundler/BundleBase.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ const ModuleTransport = require('../lib/ModuleTransport');
1414

1515
export type FinalizeOptions = {
1616
allowUpdates?: boolean,
17+
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected during the
18+
* deploy of Flow v0.36.0. To see the error, remove this comment and run Flow
19+
*/
1720
runBeforeMainModule?: Array<mixed>,
1821
runMainModule?: boolean,
1922
};

packager/react-packager/src/node-haste/Cache/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ class Cache {
161161
const ret = (Object.create(null): Record);
162162
ret.metadata = record.metadata;
163163
ret.data = Object.create(null);
164+
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected
165+
* during the deploy of Flow v0.36.0. To see the error, remove this
166+
* comment and run Flow */
164167
fieldNames.forEach((field, index) =>
165168
ret.data[field] = ref[index]
166169
);

0 commit comments

Comments
 (0)