benjamn / recast

JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator
MIT License
4.95k stars 346 forks source link

Bump flow-parser from 0.195.0 to 0.211.0 #1335

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps flow-parser from 0.195.0 to 0.211.0.

Release notes

Sourced from flow-parser's releases.

v0.211.0

Likely to cause new Flow errors:

  • We fixed an issue where the intersection of two identical object types are turned into empty in spreads. As a result, more errors might be revealed. example

Notable bug fixes:

  • We fixed an eager evaluation bug that can lead to some bad interactions between conditional type and mapped type. (example)

Parser:

  • We fixed the parser size regression since 0.210.0.

Library Definitions:

  • We rewrote the Omit type implementation. Now it will preserve the optionality and the variance of the input object. example

v0.210.2

Notable bug fixes:

  • Fix a bug where autocompleting a keyword deleted the next 7 characters on the same line
  • "Fix" sorting of autoimports. An experimental option (autoimports_ranked_by_usage=true) to sort autoimports by how often they are imported was influencing the sorting even when the option was not enabled. This was likely an improvement, but it was a bug to not obey the option.

v0.210.1

Misc:

  • Improvements in preparation of new feature rollout

v0.210.0

Likely to cause new Flow errors:

  • We further strictified React.Element and React refs related typing. You might also see some existing errors related to React.Element and React ref moved around. Example

New Features:

  • Added Pick, Omit, and Record utility types. [try-flow]

Notable bug fixes:

  • Fixed a bug where void would appear in autocomplete suggestions more than once

Misc:

  • Improved keyword autocomplete ordering

Parser:

Library Definitions:

  • Added missing CSSOM replace and replaceSync
  • Added arrayBuffers to Node libdefs for process.memoryUsage()'s return type

v0.209.1

Misc:

  • Bug fixes in preparation of new feature rollout

v0.209.0

Likely to cause new Flow errors:

  • We removed support for React PropTypes. All related Flow builtin types like React$PropType$Primitive are deleted. React has deprecated PropTypes since v15.5.
  • We will now catch errors related to generic indexed access types. Example

... (truncated)

Changelog

Sourced from flow-parser's changelog.

0.211.0

Likely to cause new Flow errors:

  • We fixed an issue where the intersection of two identical object types are turned into empty in spreads. As a result, more errors might be revealed. example

Notable bug fixes:

  • We fixed an eager evaluation bug that can lead to some bad interactions between conditional type and mapped type. (example)

Parser:

  • We fixed the parser size regression since 0.210.0.

Library Definitions:

  • We rewrote the Omit type implementation. Now it will preserve the optionality and the variance of the input object. example

0.210.2

Notable bug fixes:

  • Fix a bug where autocompleting a keyword deleted the next 7 characters on the same line
  • "Fix" sorting of autoimports. An experimental option (autoimports_ranked_by_usage=true) to sort autoimports by how often they are imported was influencing the sorting even when the option was not enabled. This was likely an improvement, but it was a bug to not obey the option.

0.210.1

Misc:

  • Improvements in preparation of new feature rollout

0.210.0

Likely to cause new Flow errors:

  • We further strictified React.Element and React refs related typing. You might also see some existing errors related to React.Element and React ref moved around. Example

New Features:

  • Added Pick, Omit, and Record utility types. [try-flow]

Notable bug fixes:

  • Fixed a bug where void would appear in autocomplete suggestions more than once

Misc:

  • Improved keyword autocomplete ordering

Parser:

Library Definitions:

  • Added missing CSSOM replace and replaceSync
  • Added arrayBuffers to Node libdefs for process.memoryUsage()'s return type

0.209.1

Misc:

  • Bug fixes in preparation of new feature rollout

... (truncated)

Commits
  • 3fe9d3f v0.211.0
  • dd4a1e6 Fix flow-parser size issue
  • 582fb0e Fully resolve more kinds of type destructor results
  • acdbac3 [debug] Add debug log when conditional type refuses to evaluate
  • 5914a18 Perform simple substitution for distributive tparams
  • f3a324e Fully resolve EvalT resposition result if the EvalT result will be fully reso...
  • ac0bc62 [debug] Print more details of opaque type
  • 328d949 [lib] Rewrite Omit make it semi-homomorphic
  • cd8bced Perform basic intersection type normalization during implicit instantiation
  • eda020b [hermes-parser] Upgrade hermes-* packages in xplat and arvr to 0.14.0
  • 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[bot] commented 1 year ago

Superseded by #1344.