Skip to content

Build(deps): Bump flow-parser from 0.148.0 to 0.181.0 #457

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 Jun 26, 2022

Bumps flow-parser from 0.148.0 to 0.181.0.

Release notes

Sourced from flow-parser's releases.

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"

Library Definitions:

  • Add type signature for Navigator.canShare().

v0.179.0

Likely to cause new Flow errors:

  • Improve the type checking of function parameters that use destructuring, have an annotation, and also have a default value.

Notable bug fixes:

  • Fix IDE services in the presence of certain types of parse errors.
  • Fix crash when encountering an unexpected \/. This could have broken IDE integrations while typing.

... (truncated)

Changelog

Sourced from flow-parser's changelog.

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.

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"

Library Definitions:

  • Add type signature for Navigator.canShare().

0.179.0

Likely to cause new Flow errors:

  • Improve the type checking of function parameters that use destructuring, have an annotation, and also have a default value.

... (truncated)

Commits
  • f2266d3 v0.181.0
  • 2290de7 fix watchman restart recovery
  • e4e2f7d add status message when fetching saved state
  • a87da8c [parser] fix handling of invalid newlines in regexp character classes
  • 2568249 fix parser crash on invalid UTF8 codepoints
  • d09d4e3 add flag to disable restarting to save time
  • 5e39ecb v0.180.1
  • 8389ec4 Backout D36041629
  • 2cb75e7 add --saved-state-skip-version-check-DO_NOT_USE_OR_YOU_WILL_BE_FIRED flag
  • 9758ad3 remove unused ImmQueue.pop_unsafe
  • 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.0.
- [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.0)

---
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 Jun 26, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 3, 2022

Superseded by #461.

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