Skip to content

Build(deps): Bump flow-parser from 0.148.0 to 0.181.2 #461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 3, 2022

Bumps flow-parser from 0.148.0 to 0.181.2.

Release notes

Sourced from flow-parser's releases.

v0.181.2

  • Fix the rendering of classes in autocomplete results
  • Fix the ordering of class methods in autocomplete results
  • Improve ability to recover from Watchman restarting (the fix in 0.181.0 was incomplete)
  • Fix a bug where warnings would be incorrectly reported when using saved state, and could cause a crash.
  • Add --saved-state-verify flag to check that a saved state matches what is expected to be on disk.

v0.181.1

Notable bug fixes:

  • The JS build for try-flow is now fixed. It's recently broken since the 0.181.0 release.

v0.181.0

Notable bug fixes:

  • Fix unsound spreading of empty array literals (example)
  • Fix a race condition that could cause individual requests from the IDE to hang indefinitely
  • Improve ability to recover from Watchman restarting

Parser:

  • Fix parsing of invalid UTF-8 to raise the correct "Malformed unicode" parse error
  • Fix line numbers when regex character classes contain an (invalid) newline, which could've led to a crash

Library Definitions:

  • Add AudioContext constructor options
  • Update Node's v8 module

v0.180.1

Notable bug fixes: Reverted changes that cause Flow to generate a corrupted saved-state when libdef changes.

v0.180.0

Likely to cause new Flow errors:

  • Generator functions without return type annotations now default the type of the next parameter to void. If a non-void next type is desired for a function, it will have to be annotated.
  • When experimental.enforce_local_inference_annotations is enabled, Flow now requires annotations on functions returned from async or generator functions.
  • Return statements that return objects no longer widen the object type to match the return annotation, if present. This may lead to additional errors, which can be addressed by adding annotations onto variables that are returned.

New Features:

  • Optimize initialization from saved state.
  • When experimental.enforce_local_inference_annotations is enabled, Flow now has a code action to auto-annotate parameters of functions that have missing-local-annot errors.

Notable bug fixes:

  • Fix broken IDE services when the file contains certain invalid type annotations, import type * ..., export async ... statements or nameless named exports.
  • Fix some potential deadlocks on Windows.

Misc:

  • Add --no-enums flag to flow ast.

Parser:

  • Fix a runtime exception when parsing regexes via the JS version of the parser.
  • Fix crash when the input is a lone quote.
  • Fix missing syntax errors when functions with non-simple params contain "use strict"

... (truncated)

Changelog

Sourced from flow-parser's changelog.

0.181.2

  • Fix the rendering of classes in autocomplete results
  • Fix the ordering of class methods in autocomplete results
  • Improve ability to recover from Watchman restarting (the fix in 0.181.0 was incomplete)
  • Fix a bug where warnings would be incorrectly reported when using saved state, and could cause a crash.
  • Add --saved-state-verify flag to check that a saved state matches what is expected to be on disk.

0.181.1

Notable bug fixes:

  • The JS build for try-flow is now fixed. It's recently broken since the 0.181.0 release.

0.181.0

Notable bug fixes:

  • Fix unsound spreading of empty array literals (example)
  • Fix a race condition that could cause individual requests from the IDE to hang indefinitely
  • Improve ability to recover from Watchman restarting

Parser:

  • Fix parsing of invalid UTF-8 to raise the correct "Malformed unicode" parse error
  • Fix line numbers when regex character classes contain an (invalid) newline, which could've led to a crash

Library Definitions:

  • Add AudioContext constructor options
  • Update Node's v8 module

0.180.1

Notable bug fixes: Reverted changes that cause Flow to generate a corrupted saved-state when libdef changes.

0.180.0

Likely to cause new Flow errors:

  • Generator functions without return type annotations now default the type of the next parameter to void. If a non-void next type is desired for a function, it will have to be annotated.
  • When experimental.enforce_local_inference_annotations is enabled, Flow now requires annotations on functions returned from async or generator functions.
  • Return statements that return objects no longer widen the object type to match the return annotation, if present. This may lead to additional errors, which can be addressed by adding annotations onto variables that are returned.

New Features:

  • Optimize initialization from saved state.
  • When experimental.enforce_local_inference_annotations is enabled, Flow now has a code action to auto-annotate parameters of functions that have missing-local-annot errors.

Notable bug fixes:

  • Fix broken IDE services when the file contains certain invalid type annotations, import type * ..., export async ... statements or nameless named exports.
  • Fix some potential deadlocks on Windows.

Misc:

  • Add --no-enums flag to flow ast.

... (truncated)

Commits
  • bbae783 Track autocomplete session in Persistent_connection
  • 555861e refactor autocomplete token into its own module
  • efadb4e v0.181.2
  • fcc77bf Added Rank to the "Log" command of each suggestion
  • 7d0cf6f Autocomplete ranks non-proto methods incorrectly
  • 78dbbe9 Fix malformed autocomplete label details for classes
  • 1c085bd fix watchman restart recovery (2)
  • d0ccf59 add --saved-state-verify flag
  • 134695a don't store warnings in saved state
  • 5774b3b catch EBADF exceptions from Lwt_process.with_process_full
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [flow-parser](https://github.com/facebook/flow) from 0.148.0 to 0.181.2.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/main/Changelog.md)
- [Commits](facebook/flow@v0.148.0...v0.181.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 3, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 10, 2022

Superseded by #464.

@dependabot dependabot bot closed this Jul 10, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/flow-parser-0.181.2 branch July 10, 2022 02:17
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