Skip to content

Commit

Permalink
Deploy Flow v0.136.0
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Reviewed By: dsainati1

Differential Revision: D24364950

fbshipit-source-id: 42a81b155d803c3580cfac7d56c98f93a310d0fc
  • Loading branch information
pieterv authored and facebook-github-bot committed Oct 19, 2020
1 parent 6c88afc commit 500bdf7
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ untyped-import
untyped-type-import

[version]
^0.135.0
^0.136.0
2 changes: 1 addition & 1 deletion .flowconfig.android
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ untyped-import
untyped-type-import

[version]
^0.135.0
^0.136.0
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,21 @@ const AccessibilityInfo = {
);
}

// $FlowFixMe[escaped-generic]
_subscriptions.set(handler, listener);
},

removeEventListener: function<T>(
eventName: ChangeEventName,
handler: T,
): void {
// $FlowFixMe[escaped-generic]
const listener = _subscriptions.get(handler);
if (!listener) {
return;
}
listener.remove();
// $FlowFixMe[escaped-generic]
_subscriptions.delete(handler);
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ const AccessibilityInfo = {
listener = RCTDeviceEventEmitter.addListener(eventName, handler);
}

// $FlowFixMe[escaped-generic]
_subscriptions.set(handler, listener);
return {
remove: AccessibilityInfo.removeEventListener.bind(
Expand Down Expand Up @@ -258,11 +259,13 @@ const AccessibilityInfo = {
eventName: ChangeEventName,
handler: T,
): void {
// $FlowFixMe[escaped-generic]
const listener = _subscriptions.get(handler);
if (!listener) {
return;
}
listener.remove();
// $FlowFixMe[escaped-generic]
_subscriptions.delete(handler);
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ module.exports = {
*
* [Styles](docs/style.html)
*/
// $FlowFixMe[incompatible-use]
style: Text.propTypes.style,
/**
* The color of the `TextInput` underline.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"ws": "^6.1.4"
},
"devDependencies": {
"flow-bin": "^0.135.0",
"flow-bin": "^0.136.0",
"react": "16.13.1"
},
"detox": {
Expand Down
2 changes: 1 addition & 1 deletion repo-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint-plugin-react-hooks": "^4.0.7",
"eslint-plugin-react-native": "3.8.1",
"eslint-plugin-relay": "1.7.1",
"flow-bin": "^0.135.0",
"flow-bin": "^0.136.0",
"jest": "^26.5.2",
"jest-junit": "^10.0.0",
"jscodeshift": "^0.11.0",
Expand Down
2 changes: 1 addition & 1 deletion template/_flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ untyped-import
untyped-type-import

[version]
^0.135.0
^0.136.0
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3056,10 +3056,10 @@ flatted@^2.0.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==

flow-bin@^0.135.0:
version "0.135.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.135.0.tgz#70bcd7bae0231777dd05cc8707ff34b37824bbad"
integrity sha512-E0JIKWopjULE/fl1X+j7rh0zgcgD5nubLs3HWYeYPo+nWFy8dALvrQbFcCFoPePrkhY/fffhN28t8P1zBxB2Yg==
flow-bin@^0.136.0:
version "0.136.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.136.0.tgz#2c1be64496d791ea3160047ce22968ef166835f1"
integrity sha512-Z0sycQDyWXiNsGAhOBUrvHPzz7Q4g38BT57+YzZGffbaBmWRNC6MGZb+R6XTzeWb30bZin5V21nPQZezJzm9cQ==

flow-parser@0.*, flow-parser@^0.121.0:
version "0.121.0"
Expand Down

0 comments on commit 500bdf7

Please sign in to comment.