Skip to content

Commit 4aa69e6

Browse files
jbrown215facebook-github-bot
authored andcommitted
0.132 for xplat
Summary: Changelog: [Internal] 0.132 for xplat/js allow-large-files Reviewed By: mroch Differential Revision: D23298358 fbshipit-source-id: 0c75746c0cc2895f63ebc034df386217ffb64c61
1 parent b7afbb1 commit 4aa69e6

File tree

10 files changed

+24
-8
lines changed

10 files changed

+24
-8
lines changed

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ untyped-import
7979
untyped-type-import
8080

8181
[version]
82-
^0.131.0
82+
^0.132.0

.flowconfig.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ untyped-import
7979
untyped-type-import
8080

8181
[version]
82-
^0.131.0
82+
^0.132.0

Libraries/Utilities/ReactNativeTestTools.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const shallowRenderer = new ShallowRenderer();
2323

2424
import type {ReactTestRenderer as ReactTestRendererType} from 'react-test-renderer';
2525

26+
// $FlowFixMe[value-as-type]
2627
export type ReactTestInstance = $PropertyType<ReactTestRendererType, 'root'>;
2728

2829
export type Predicate = (node: ReactTestInstance) => boolean;
@@ -93,6 +94,7 @@ function enter(instance: ReactTestInstance, text: string) {
9394

9495
// Returns null if there is no error, otherwise returns an error message string.
9596
function maximumDepthError(
97+
// $FlowFixMe[value-as-type]
9698
tree: ReactTestRendererType,
9799
maxDepthLimit: number,
98100
): ?string {
@@ -184,6 +186,7 @@ function renderAndEnforceStrictMode(element: React.Node): any {
184186
return renderWithStrictMode(element);
185187
}
186188

189+
// $FlowFixMe[value-as-type]
187190
function renderWithStrictMode(element: React.Node): ReactTestRendererType {
188191
const WorkAroundBugWithStrictModeInTestRenderer = prps => prps.children;
189192
const StrictMode = (React: $FlowFixMe).StrictMode;

Libraries/vendor/emitter/_EmitterSubscription.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import type EventSubscriptionVendor from './_EventSubscriptionVendor';
1818
* EmitterSubscription represents a subscription with listener and context data.
1919
*/
2020
class EmitterSubscription extends EventSubscription {
21+
// $FlowFixMe[value-as-type]
2122
emitter: EventEmitter;
2223
listener: Function;
2324
context: ?Object;
@@ -33,6 +34,7 @@ class EmitterSubscription extends EventSubscription {
3334
* listener
3435
*/
3536
constructor(
37+
// $FlowFixMe[value-as-type]
3638
emitter: EventEmitter,
3739
subscriber: EventSubscriptionVendor,
3840
listener: Function,

index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ module.exports = {
119119
get Button(): Button {
120120
return require('./Libraries/Components/Button');
121121
},
122+
// $FlowFixMe[value-as-type]
122123
get DatePickerIOS(): DatePickerIOS {
123124
warnOnce(
124125
'DatePickerIOS-merged',
@@ -128,6 +129,7 @@ module.exports = {
128129
);
129130
return require('./Libraries/Components/DatePicker/DatePickerIOS');
130131
},
132+
// $FlowFixMe[value-as-type]
131133
get DrawerLayoutAndroid(): DrawerLayoutAndroid {
132134
return require('./Libraries/Components/DrawerAndroid/DrawerLayoutAndroid');
133135
},
@@ -167,6 +169,7 @@ module.exports = {
167169
);
168170
return require('./Libraries/Components/Picker/Picker');
169171
},
172+
// $FlowFixMe[value-as-type]
170173
get PickerIOS(): PickerIOS {
171174
warnOnce(
172175
'pickerios-moved',
@@ -179,6 +182,7 @@ module.exports = {
179182
get Pressable(): Pressable {
180183
return require('./Libraries/Components/Pressable/Pressable').default;
181184
},
185+
// $FlowFixMe[value-as-type]
182186
get ProgressBarAndroid(): ProgressBarAndroid {
183187
warnOnce(
184188
'progress-bar-android-moved',
@@ -188,6 +192,7 @@ module.exports = {
188192
);
189193
return require('./Libraries/Components/ProgressBarAndroid/ProgressBarAndroid');
190194
},
195+
// $FlowFixMe[value-as-type]
191196
get ProgressViewIOS(): ProgressViewIOS {
192197
warnOnce(
193198
'progress-view-ios-moved',
@@ -206,6 +211,7 @@ module.exports = {
206211
get SectionList(): SectionList {
207212
return require('./Libraries/Lists/SectionList');
208213
},
214+
// $FlowFixMe[value-as-type]
209215
get SegmentedControlIOS(): SegmentedControlIOS {
210216
warnOnce(
211217
'segmented-control-ios-moved',
@@ -283,6 +289,7 @@ module.exports = {
283289
get AppState(): AppState {
284290
return require('./Libraries/AppState/AppState');
285291
},
292+
// $FlowFixMe[value-as-type]
286293
get AsyncStorage(): AsyncStorage {
287294
warnOnce(
288295
'async-storage-moved',
@@ -403,6 +410,7 @@ module.exports = {
403410
get Systrace(): Systrace {
404411
return require('./Libraries/Performance/Systrace');
405412
},
413+
// $FlowFixMe[value-as-type]
406414
get ToastAndroid(): ToastAndroid {
407415
return require('./Libraries/Components/ToastAndroid/ToastAndroid');
408416
},
@@ -477,6 +485,7 @@ module.exports = {
477485
);
478486
},
479487
// Prop Types
488+
// $FlowFixMe[value-as-type]
480489
get ColorPropType(): DeprecatedColorPropType {
481490
return require('./Libraries/DeprecatedPropTypes/DeprecatedColorPropType');
482491
},

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
"ws": "^6.1.4"
120120
},
121121
"devDependencies": {
122+
"flow-bin": "^0.132.0",
122123
"react": "16.13.1"
123124
},
124125
"detox": {

packages/rn-tester/js/examples/PanResponder/PanResponderExample.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ exports.simpleExampleContainer = true;
147147
exports.examples = [
148148
{
149149
title: 'Basic gesture handling',
150+
// $FlowFixMe[value-as-type]
150151
render: function(): React.Element<typeof PanResponderExample> {
151152
return <PanResponderExample />;
152153
},

repo-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"eslint-plugin-react-hooks": "^4.0.7",
3434
"eslint-plugin-react-native": "3.8.1",
3535
"eslint-plugin-relay": "1.7.1",
36-
"flow-bin": "^0.131.0",
36+
"flow-bin": "^0.132.0",
3737
"jest": "^26.0.1",
3838
"jest-junit": "^10.0.0",
3939
"jscodeshift": "^0.9.0",

template/_flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ untyped-import
6767
untyped-type-import
6868

6969
[version]
70-
^0.131.0
70+
^0.132.0

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3261,10 +3261,10 @@ flatted@^2.0.0:
32613261
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
32623262
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
32633263

3264-
flow-bin@^0.131.0:
3265-
version "0.131.0"
3266-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.131.0.tgz#d4228b6070afdf3b2a76acdee77a7f3f8e8f5133"
3267-
integrity sha512-fZmoIBcDrtLhy/NNMxwJysSYzMr1ksRcAOMi3AHSoYXfcuQqTvhGJx+wqjlIOqIwz8RRYm8J4V4JrSJbIKP+Xg==
3264+
flow-bin@^0.132.0:
3265+
version "0.132.0"
3266+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.132.0.tgz#8bf80a79630db24bd1422dc2cc4b5e97f97ccb98"
3267+
integrity sha512-S1g/vnAyNaLUdajmuUHCMl30qqye12gS6mr4LVyswf1k+JDF4efs6SfKmptuvnpitF3LGCVf0TIffChP8ljwnw==
32683268

32693269
flow-parser@0.*:
32703270
version "0.89.0"

0 commit comments

Comments
 (0)