Skip to content

Bump @babel/parser to ^7.29.9, @babel/types to ^7.29.8 - #58641

Open
vzaidman wants to merge 1 commit into
mainfrom
export-D121188416
Open

vzaidman wants to merge 1 commit into
mainfrom
export-D121188416

Conversation

@vzaidman

Copy link
Copy Markdown
Contributor

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

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
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 22, 2026
@meta-codesync

meta-codesync Bot commented Sep 22, 2026

Copy link
Copy Markdown

@vzaidman has exported this pull request. If you are a Meta employee, you can view the originating Diff in D121188416.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants