Commit b11f9fc
Bump
Summary:
This picks up babel/babel#18241, fixing parsing of arrow function params inside ternaries with Flow (eg `cond ? async (...args) => {} : null`).
(I remember hitting this one internally and not realising where it came from - IIRC it also applies to arrows within conditional types)
The update brings `babel/types` 7.29.7 -> 7.29.8, requiring regeneration of generated flow types. ~~**The `xplat/js/yarn.lock` version will likely need updating to match, or the Babel types sync test will fail**~~ - I've updated specifiers to bring everyone onto that version.
Changelog: [Internal]
X-link: react/metro#1958
Differential Revision: D121188416
Pulled By: vzaidman@babel/parser to ^7.29.9, @babel/types to ^7.29.81 parent 099bcb4 commit b11f9fc
2 files changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
438 | 438 | | |
439 | | - | |
440 | | - | |
441 | | - | |
| 439 | + | |
| 440 | + | |
442 | 441 | | |
443 | 442 | | |
444 | 443 | | |
| |||
3284 | 3283 | | |
3285 | 3284 | | |
3286 | 3285 | | |
3287 | | - | |
| 3286 | + | |
3288 | 3287 | | |
3289 | 3288 | | |
3290 | 3289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments