Skip to content

Bump flow-{api-translator,eslint,parser} to 0.333.0, declare @babel/parser - #58762

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

vzaidman wants to merge 1 commit into
mainfrom
export-D122383746

Conversation

@vzaidman

Copy link
Copy Markdown
Contributor

Summary:
This bumps the Flow tooling packages from 0.331.0 to 0.333.0, matching flow-bin. From 0.332.0, flow-api-translator translates declare module.exports to TypeScript's export = (facebook/flow#9491), which react/metro#1996 uses to generate definitions for CommonJS modules.

It also declares babel/parser as a root dev dependency. The API snapshot script has imported it since react/metro#1988, but it only resolved because other packages hoist it. The range matches theirs, so it doesn't change the lockfile.

Changelog: [Internal]

X-link: react/metro#1998

Differential Revision: D122383746

Pulled By: vzaidman

…l/parser`

Summary:
This bumps the Flow tooling packages from 0.331.0 to 0.333.0, matching `flow-bin`. From 0.332.0, `flow-api-translator` translates `declare module.exports` to TypeScript's `export =` (facebook/flow#9491), which react/metro#1996 uses to generate definitions for CommonJS modules.

It also declares `babel/parser` as a root dev dependency. The API snapshot script has imported it since react/metro#1988, but it only resolved because other packages hoist it. The range matches theirs, so it doesn't change the lockfile.

Changelog: [Internal]

X-link: react/metro#1998

Differential Revision: D122383746

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

meta-codesync Bot commented Sep 30, 2026

Copy link
Copy Markdown

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

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