Skip to content

Bump flow-parser from 0.195.2 to 0.331.0 - #967

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/flow-parser-0.329.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/flow-parser-0.329.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Bumps flow-parser from 0.195.2 to 0.331.0.

Release notes

Sourced from flow-parser's releases.

v0.331.0

Likely to cause new Flow errors:

  • Fixed unsound subtyping of instances against indexer in interfaces (example).
  • Flow will no longer emit method-unbinding errors and instead perform stricter this-type checking (example).

IDE:

  • Improve the primary type displayed by hover
  • Show a single type in type-at-pos and hover
  • Truncate oversized hover types and their reference lists

Library Definitions:

  • React.ReactElement now matches latest type in @types/react. Added missing React.JSX.Element that makes the type in @types/react .

v0.330.0

Likely to cause new Flow errors:

  • Flow will now restrict the allowed syntax forms of .call/apply/bind calls. Only expressions of the form <expr>.m.call(<expr>, ...), <expr>.m.apply(<expr>, ...) and <expr>.m.bind(<expr>, ...) are allowed.
  • [untyped] section of flowconfig will use the glob system. See https://flow.org/en/docs/config/untyped/

Notable bug fixes:

  • Fixed facebook/flow#9407.
  • Support instanceof refinement of constructor objects.
  • Operations like Partial no longer strip readonly-ness of dictionaries. (example)

v0.329.0

Likely to cause new Flow errors:

  • More subtyping errors will print the types that are incompatible. Some errors might have new locations.
  • A unique symbol annotation is now an error unless it is the type of a const variable, of a readonly object type or interface property, or of a static readonly class field.
  • Flow will error on legacy variance syntax in library definition files

New Features:

  • We have released flow-parser and flow-eslint packages that are drop-in replacement for hermes-parser and hermes-eslint. Babel docs and ESLint docs have been updated.
  • Object properties, class fields, methods, and the members of an interface or declare class imported from another module, can be keyed by a unique symbol.

Notable bug fixes:

  • Prevent a race that can leave server hanging
  • Support TypeScript constructor objects in Flow class positions.
  • keyof over a symbol index signature is now symbol rather than string.
  • A class can extend a value with a construct signature.
  • x !== undefined no longer stops refining after a call that passes undefined as an argument: (e.g. try-Flow)

Library Definitions:

  • Well-known symbols on Symbol are typed as unique symbol, and Symbol.metadata is now available.

v0.328.0

Breaking changes:

New Features:

  • this type guards can now be used on non-static methods of regular classes, not just declare class and interface methods. The method body is checked for consistency against the guard type.

... (truncated)

Changelog

Sourced from flow-parser's changelog.

0.331.0

Likely to cause new Flow errors:

  • Fixed unsound subtyping of instances against indexer in interfaces (example).
  • Flow will no longer emit method-unbinding errors and instead perform stricter this-type checking (example).

IDE:

  • Improve the primary type displayed by hover
  • Show a single type in type-at-pos and hover
  • Truncate oversized hover types and their reference lists

Library Definitions:

  • React.ReactElement now matches latest type in @types/react. Added missing React.JSX.Element that makes the type in @types/react .

0.330.0

Likely to cause new Flow errors:

  • Flow will now restrict the allowed syntax forms of .call/apply/bind calls. Only expressions of the form <expr>.m.call(<expr>, ...), <expr>.m.apply(<expr>, ...) and <expr>.m.bind(<expr>, ...) are allowed.
  • [untyped] section of flowconfig will use the glob system. See https://flow.org/en/docs/config/untyped/

Notable bug fixes:

  • Fixed facebook/flow#9407.
  • Support instanceof refinement of constructor objects.
  • Operations like Partial no longer strip readonly-ness of dictionaries. (example)

0.329.0

Likely to cause new Flow errors:

  • More subtyping errors will print the types that are incompatible. Some errors might have new locations.
  • A unique symbol annotation is now an error unless it is the type of a const variable, of a readonly object type or interface property, or of a static readonly class field.
  • Flow will error on legacy variance syntax in library definition files

New Features:

  • We have released flow-parser and flow-eslint packages that are drop-in replacement for hermes-parser and hermes-eslint. Babel docs and ESLint docs have been updated.
  • Object properties, class fields, methods, and the members of an interface or declare class imported from another module, can be keyed by a unique symbol.

Notable bug fixes:

  • Prevent a race that can leave server hanging
  • Support TypeScript constructor objects in Flow class positions.
  • keyof over a symbol index signature is now symbol rather than string.
  • A class can extend a value with a construct signature.
  • x !== undefined no longer stops refining after a call that passes undefined as an argument: (e.g. try-Flow)

Library Definitions:

  • Well-known symbols on Symbol are typed as unique symbol, and Symbol.metadata is now available.

0.328.0

Breaking changes:

... (truncated)

Commits
  • 28ebb88 v0.331.0
  • 3e0855a v0.330.0
  • a77cd16 v0.329.0
  • c21001c [flow][js-tools][flow-parser] Move the babel adapter logic into Rust
  • 87f959f [flow][docs] Update docs to recommend flow-* packages instead of hermes-* pac...
  • 7477cc9 v0.328.0
  • 7e2f591 v0.327.0
  • fc44aa0 v0.326.0
  • 909b49b [flow][js-tools] Modernize legacy Flow variance syntax across the JS packages
  • 8418e32 v0.325.0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 31, 2026
Bumps [flow-parser](https://github.com/facebook/flow/tree/HEAD/packages/flow-parser) from 0.195.2 to 0.331.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/main/Changelog.md)
- [Commits](https://github.com/facebook/flow/commits/v0.331.0/packages/flow-parser)

---
updated-dependencies:
- dependency-name: flow-parser
  dependency-version: 0.329.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump flow-parser from 0.195.2 to 0.329.0 Bump flow-parser from 0.195.2 to 0.331.0 Sep 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/flow-parser-0.329.0 branch from 8b6ea4f to 728ba39 Compare September 9, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants