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.148.0 to 0.183.0 #472

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

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

Bumps flow-parser from 0.148.0 to 0.183.0.

Release notes

Sourced from flow-parser's releases.

v0.183.0

Likely to cause new Flow errors:

  • We now emit new errors in places where an object literal has literal types, but doesn't have an annotation. You can usually fix these errors by adding annotations to object literals.

New Features:

  • Allow export of empty object without annotation when exact_empty_objects is enabled.
  • Improve annotate useState codemod to support null/undefined/empty-array arguments.

Notable bug fixes:

  • Allow flowconfigs with blank lines before the first config section.
  • Fix location of error message about legacy octal number types.
  • Fix inconsistent blank lines around auto-imports.
  • Fix bug where Watchman events might be ignored on Windows.

Parser:

  • Fix parser exception on negative binary and octal number types that contain whitespace after the minus sign.

Library Definitions:

  • Improved fs.readdir and fs.readdirSync to allow better overload resolution.
  • Add String.prototype.replaceAll() (Thanks @​dav-s).

v0.182.0

Likely to cause new Flow errors:

  • var re-declarations are now banned. You should use let or const instead.
  • Flow will now emit escaped-generic errors when the return type of a generic predicate function contains type parameters defined by the function.

Notable bug fixes:

  • Improve ordering of autoimport suggestions, so that globals are suggested above named imports.

Misc:

  • Errors related to class expressions might have new locations.

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:

... (truncated)

Changelog

Sourced from flow-parser's changelog.

0.183.0

Likely to cause new Flow errors:

  • We now emit new errors in places where an object literal has literal types, but doesn't have an annotation. You can usually fix these errors by adding annotations to object literals.

New Features:

  • Allow export of empty object without annotation when exact_empty_objects is enabled.
  • Improve annotate useState codemod to support null/undefined/empty-array arguments.

Notable bug fixes:

  • Allow flowconfigs with blank lines before the first config section.
  • Fix location of error message about legacy octal number types.
  • Fix inconsistent blank lines around auto-imports.
  • Fix bug where Watchman events might be ignored on Windows.

Parser:

  • Fix parser exception on negative binary and octal number types that contain whitespace after the minus sign.

Library Definitions:

  • Improved fs.readdir and fs.readdirSync to allow better overload resolution.
  • Add String.prototype.replaceAll() (Thanks @​dav-s).

0.182.0

Likely to cause new Flow errors:

  • var re-declarations are now banned. You should use let or const instead.
  • Flow will now emit escaped-generic errors when the return type of a generic predicate function contains type parameters defined by the function.

Notable bug fixes:

  • Improve ordering of autoimport suggestions, so that globals are suggested above named imports.

Misc:

  • Errors related to class expressions might have new locations.

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

... (truncated)

Commits
  • 63740d9 v0.183.0
  • 86e3845 [resolved-env] Another take on type cycles including tparams: pre-populate tp...
  • 19ffb73 Improve annotate useState codemod to support null/undefined/empty-array argum...
  • 8a435a4 normalize slashes in file watchers on Windows
  • 8df7a2f remove temp_dir config option
  • c5b36a1 remove log.file config
  • d2170cb [resolved-env] Type check only arg of Array.isArray under conditional conte...
  • 13495d4 [resolved-env] Type check LHS of instanceof under conditional context when in...
  • 8bbd96b [resolved-env] Resolve classes as if they are annotated
  • 760e3cf [resolved-env] Type check chain expressions in the first argument of invarian...
  • 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 dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 24, 2022
Bumps [flow-parser](https://github.com/facebook/flow) from 0.148.0 to 0.183.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.183.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 force-pushed the dependabot/npm_and_yarn/flow-parser-0.183.0 branch from a7df87c to 998ac82 Compare July 26, 2022 17:30
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