Skip to content

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

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

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.

@meta-codesync meta-codesync Bot closed this in a7f81c8 Oct 1, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 1, 2026
@meta-codesync

meta-codesync Bot commented Oct 1, 2026

Copy link
Copy Markdown

@vzaidman merged this pull request in a7f81c8.

meta-codesync Bot pushed a commit to facebook/relay that referenced this pull request Oct 1, 2026
…l/parser`

Summary:
X-link: react/react-native#58762

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

Reviewed By: javache

Differential Revision: D122383746

Pulled By: vzaidman

fbshipit-source-id: f9d47c8e8fb60b10302b7ce5f8378db6ba59b786
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. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants