Skip to content
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

Build(deps): Bump flow-parser from 0.152.0 to 0.153.0 #11095

Merged
merged 1 commit into from Jun 21, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 20, 2021

Bumps flow-parser from 0.152.0 to 0.153.0.

Release notes

Sourced from flow-parser's releases.

v0.153.0

Likely to cause new Flow errors:

New Features:

  • You can require an exhaustive check of an enum in a switch statement that includes a default branch. This is enabled with the comment // flowlint-next-line require-explicit-enum-switch-cases:error.
  • Autocomplete for object keys.
  • Introduce a flow fix command to apply autofixes from the command line to a list of files.
  • Enable a new check mode that uses significantly less RAM for large projects.

Notable bug fixes:

  • Fix a bug that allowed nested anonymous functions inside a default export.
  • Using the --ignore-version flag also prevents Flow from crashing when an invalid option is in the .flowconfig.

Library Definitions:

  • Support the options parameter for require.resolve. (thanks @​skeggse)
  • Return a TypedArray instead of void from TypedArray sort function. (thanks @​goodmind)
  • Return a DOMStringList instead of a string array from IDBDatabase.objectStoreNames. (thanks @​bnelo12)

Misc:

  • Add --binary to the flow version command to see the path to the current binary.
  • Prevent the LSP from exiting when an invalid option is in the .flowconfig.
  • Autofix for a method-unbinding error to replace the method with an arrow function.
  • Autofix for a class-object-subtyping error to replace the object type with an interface.
Changelog

Sourced from flow-parser's changelog.

0.153.0

Likely to cause new Flow errors:

New Features:

  • You can require an exhaustive check of an enum in a switch statement that includes a default branch. This is enabled with the comment // flowlint-next-line require-explicit-enum-switch-cases:error.
  • Autocomplete for object keys.
  • Introduce a flow fix command to apply autofixes from the command line to a list of files.
  • Enable a new check mode that uses significantly less RAM for large projects.

Notable bug fixes:

  • Fix a bug that allowed nested anonymous functions inside a default export.
  • Using the --ignore-version flag also prevents Flow from crashing when an invalid option is in the .flowconfig.

Library Definitions:

  • Support the options parameter for require.resolve. (thanks @​skeggse)
  • Return a TypedArray instead of void from TypedArray sort function. (thanks @​goodmind)
  • Return a DOMStringList instead of a string array from IDBDatabase.objectStoreNames. (thanks @​bnelo12)

Misc:

  • Add --binary to the flow version command to see the path to the current binary.
  • Prevent the LSP from exiting when an invalid option is in the .flowconfig.
  • Autofix for a method-unbinding error to replace the method with an arrow function.
  • Autofix for a class-object-subtyping error to replace the object type with an interface.
Commits
  • 8388166 v0.153.0
  • dcabd73 [enums] Add lint for requiring explicit enum switch cases
  • 361dc39 [react][easy] chore: fix React$AbstractComponent typevar comments
  • c10fd8f [parser] Fix env in body of export default function
  • b98c203 move util functions out of file type of Type_sig_merge
  • a1a24ed Simplify support for async/await in type_sig_merge
  • f3206ba Do not export Flow_js.lookup_builtin functions
  • 36edf0c functorize Type_sig_merge
  • 5354e71 remove a Not_found from flowLsp
  • 17d1c9f log when watchman restarts
  • 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)

@dependabot dependabot bot added javascript Pull requests that update Javascript code scope:dependency Issues that cannot be solved inside Prettier itself, and must be fixed in a dependency labels Jun 20, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/flow-parser-0.153.0 branch from 331d0f5 to 1ef154d Compare June 20, 2021 03:02
Bumps [flow-parser](https://github.com/facebook/flow) from 0.152.0 to 0.153.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](facebook/flow@v0.152.0...v0.153.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/flow-parser-0.153.0 branch from 1ef154d to 7753f24 Compare June 20, 2021 11:14
@sosukesuzuki sosukesuzuki merged commit 0b5a795 into main Jun 21, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/flow-parser-0.153.0 branch June 21, 2021 11:38
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript Pull requests that update Javascript code scope:dependency Issues that cannot be solved inside Prettier itself, and must be fixed in a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants