rsksmart / rif-storage-pinner

MIT License
2 stars 3 forks source link

chore(deps): bump sql-formatter from 2.3.3 to 6.1.1 #536

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps sql-formatter from 2.3.3 to 6.1.1.

Release notes

Sourced from sql-formatter's releases.

6.1.1

Fixes:

  • Add CASE expression support for DB2 and Redshift. This means, all SQL dialects now support CASE..END syntax.

Internals:

  • Reorganization of CASE expression formatting code.
  • Reorganization of token preprocessing.

6.1.0

New language: SQLite

  • Merged in support for SQLite formatting #189

Fixes

  • Restore regression in DELETE FROM formatting

6.0.2

Minor enhancements:

  • Don't crash with default "sql" language when encountering "@" character #214
  • Better error message when tokenizer fails

6.0.1

Single bugfix:

  • Avoid breaking up ON UPDATE and ON DELETE #215

6.0.0

From 4.x to 6.x

This release is mostly a back-merge of the Prettier SQL fork.

The latest stable release of SQL Formatter was 4.0.2. Prettier SQL continued from that, releasing Prettier SQL 5.0 ... 5.1.1. Now back in SQL Formatter we're skipping the 5.x versions and going straight to 6.

Breaking changes since 4.x

Command line options --indent (-i), --tab-indent (-t), --uppercase (-u) and --lines-between-queries have been removed in favor of using a JSON config file which can be specified using --config (-c) option.

The equivalent options in a config file are as follows:

{
  "tabWidth": 4,
  "useTabs": true,
  "keywordCase": "upper",
  "linesBetweenQueries": 2
}
</tr></table> 

... (truncated)

Commits
  • 6622ee0 Release v6.1.1
  • ccd6342 Apparently CASE..END is supported in all dialects
  • 077575b Add CASE expression support for Redshift
  • 0e5cfba Add CASE expression support for DB2
  • 0fdfce7 Remove .END override code for Spark
  • 7ad90a2 Remove duplicate END keywords
  • c31d756 Separate CASE..END from open-close parenthesis tokens
  • b0c7430 Remove dead code for CASE..END formatting
  • 67d3d67 Rename formatSql() to formatAst()
  • dff6634 Rewrite Parser in more generic way
  • 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 2 years ago

Superseded by #538.