Repository navigation
Commit 3a1c361
Upgrade Flow to 0.337.0 (#59326)
Summary:
X-link: facebook/relay#5432
Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.
Pull Request resolved: #59326
X-link: react/metro#2086
[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)
Changelog: [Internal]
Reviewed By: SamChou19815
Differential Revision: D1267558861 parent 5709e80 commit 3a1c361
5 files changed
Lines changed: 8 additions & 10 deletions
File tree
- flow-typed/npm
- packages/react-native/src/private/animated/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
| |||
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
103 | | - | |
| 100 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
| 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