Skip to content

Bump @babel/parser to ^7.29.9, @babel/types to ^7.29.8 (#1962) - #1962

Merged
meta-codesync[bot] merged 1 commit into
mainfrom
export-D121188416
Sep 24, 2026
Merged

meta-codesync[bot] merged 1 commit into
mainfrom
export-D121188416

Conversation

@vzaidman

@vzaidman vzaidman commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

X-link: react/react-native#58641

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]

Test Plan: CI

Reviewed By: javache

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 23, 2026
@meta-codesync

meta-codesync Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

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

meta-codesync Bot pushed a commit that referenced this pull request Sep 23, 2026
Summary:
Pull Request resolved: #1962

X-link: react/react-native#58641

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]

Pull Request resolved: #1958

Test Plan: CI

Differential Revision: D121188416

Pulled By: vzaidman
@meta-codesync meta-codesync Bot changed the title Bump @babel/parser to ^7.29.9, @babel/types to ^7.29.8 (#1958) Bump @babel/parser to ^7.29.9, @babel/types to ^7.29.8 (#1962) Sep 23, 2026
meta-codesync Bot pushed a commit to react/react-native that referenced this pull request Sep 23, 2026
Summary:
X-link: react/metro#1962




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

Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
meta-codesync Bot pushed a commit that referenced this pull request Sep 23, 2026
Summary:

X-link: react/react-native#58641



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]


Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
meta-codesync Bot pushed a commit that referenced this pull request Sep 23, 2026
Summary:
Pull Request resolved: #1962

X-link: react/react-native#58641

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]

Pull Request resolved: #1958

Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
meta-codesync Bot pushed a commit that referenced this pull request Sep 24, 2026
Summary:

X-link: react/react-native#58641



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]


Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
meta-codesync Bot pushed a commit that referenced this pull request Sep 24, 2026
Summary:
Pull Request resolved: #1962

X-link: react/react-native#58641

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]

Pull Request resolved: #1958

Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
meta-codesync Bot pushed a commit to react/react-native that referenced this pull request Sep 24, 2026
Summary:
X-link: react/metro#1962




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

Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
meta-codesync Bot pushed a commit that referenced this pull request Sep 24, 2026
Summary:

X-link: react/react-native#58641



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]


Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
meta-codesync Bot pushed a commit that referenced this pull request Sep 24, 2026
Summary:

X-link: react/react-native#58641



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]


Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
Summary:
Pull Request resolved: #1962

X-link: react/react-native#58641

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]

Pull Request resolved: #1958

Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
meta-codesync Bot pushed a commit to react/react-native that referenced this pull request Sep 24, 2026
Summary:
X-link: react/metro#1962

Pull Request resolved: #58641

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

Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman
@vzaidman
vzaidman requested a review from robhogan September 24, 2026 14:51
@robhogan

Copy link
Copy Markdown
Collaborator

@vzaidman - I assume you don't want me to merge this from this end? It looks like one that needs to land across xplat/js atomically.

Anything I can help with?

@meta-codesync
meta-codesync Bot merged commit 427f857 into main Sep 24, 2026
17 of 18 checks passed
meta-codesync Bot pushed a commit to react/react-native that referenced this pull request Sep 24, 2026
Summary:
X-link: react/metro#1962

Pull Request resolved: #58641

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

Test Plan: CI

Reviewed By: javache

Differential Revision: D121188416

Pulled By: vzaidman

fbshipit-source-id: 60f9c3514b5d6018825423644c47e66b3610b652
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants