Repository navigation
Commit 7a0f27f
Deploy 0.343.0 to xplat
Summary:
X-link: react/metro#2323
Deploy `flow-bin` 0.343.0 for React Native, Metro, and Relay, updating the OSS Flow version constraints, dependency lockfiles, and the shared Yarn offline mirror, with one generated suppression in `NewAppScreen.js`.
Flow 0.343.0 merges library `declare module` blocks, so the second `declare export default` of `babel/generator` in the React Native and Metro `babel_v7.x.x.js` libdefs is now a `name-already-bound` error; it is suppressed. Flow 0.343.0 also gives `void` TypeScript semantics, so Metro's Jest libdef types hook callbacks as returning `void | Promise<unknown>` and an unimplemented mock's `getMockImplementation` as `undefined`. Too few or too many arguments for a fixed-length tuple rest param are now reported as `incompatible-type` or `extra-arg` instead of `invalid-tuple-arity`, so `EventEmitter-flowtest.js` carries both codes while it is still also checked with 0.342.
Changelog: [Internal]
Differential Revision: D1354588641 parent b49769c commit 7a0f27f
6 files changed
Lines changed: 12 additions & 6 deletions
File tree
- flow-typed/npm
- packages
- new-app-screen/src
- react-native/Libraries/vendor/emitter/__flowtests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1255 | 1255 | | |
1256 | 1256 | | |
1257 | 1257 | | |
| 1258 | + | |
1258 | 1259 | | |
1259 | 1260 | | |
1260 | 1261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4855 | 4855 | | |
4856 | 4856 | | |
4857 | 4857 | | |
4858 | | - | |
4859 | | - | |
4860 | | - | |
4861 | | - | |
| 4858 | + | |
| 4859 | + | |
| 4860 | + | |
| 4861 | + | |
4862 | 4862 | | |
4863 | 4863 | | |
4864 | 4864 | | |
| |||
0 commit comments