Conversation
…l/parser` Bumps the Flow tooling packages from 0.331.0 to 0.333.0, matching `flow-bin`. 0.332.0 onwards translates `declare module.exports` to TypeScript's `export =` (facebook/flow#9491), which the next PR uses to generate definitions for CommonJS modules. On its own, this changes no generated output. Also declares `@babel/parser` as a root dev dependency. `scripts/generateApiSnapshots.js` has imported it since #1988, but it only resolved because other packages hoist it. The range matches theirs, so the lockfile doesn't change for it. Changelog: Internal Test plan: Generated `.d.ts` and all 14 API snapshots are unchanged, and `tsc`, Flow and lint are clean.
robhogan
added this pull request to stack #1999
September 29, 2026 15:13
Collaborator
Author
|
@vzaidman (or @SamChou19815?) - I've split this out from #1977 because it's the bit that'll need importing and landing in Phabricator (maybe with a |
Contributor
|
I'll import it soon. I need to land one more small diff regarding flow internally before. |
Contributor
|
@vzaidman has imported this pull request. If you are a Meta employee, you can view this in D122383746. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This bumps the Flow tooling packages from 0.331.0 to 0.333.0, matching
flow-bin. From 0.332.0,flow-api-translatortranslatesdeclare module.exportsto TypeScript'sexport =(facebook/flow#9491), which #1996 uses to generate definitions for CommonJS modules.It also declares
@babel/parseras a root dev dependency. The API snapshot script has imported it since #1988, but it only resolved because other packages hoist it. The range matches theirs, so it doesn't change the lockfile.Changelog: Internal
Test plan:
Generated
.d.ts(gitignored) and all 14 API snapshots are unchanged on the new versions.