Skip to content

Commit

Permalink
chore: bump (dev)Dependencies (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin authored Nov 10, 2023
1 parent 678810a commit 432933e
Show file tree
Hide file tree
Showing 11 changed files with 1,387 additions and 818 deletions.
5 changes: 5 additions & 0 deletions .changeset/slimy-bulldogs-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"prettier-plugin-sql": minor
---

chore: bump `sql-formatter` v13
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ This repository is a monorepo managed by [changesets][] what means we actually p

## Backers

[![Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)

| 1stG | RxTS | UnTS |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |
Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
"@1stg/lib-config": "^12.0.0",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@mdx-js/rollup": "^2.3.0",
"@types/lodash": "^4.14.200",
"@types/mvdan-sh": "^0.10.8",
"@types/node": "^20.4.2",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"@mdx-js/rollup": "^3.0.0",
"@types/lodash": "^4.14.201",
"@types/mvdan-sh": "^0.10.9",
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/web": "^0.0.119",
"@vitejs/plugin-react-swc": "^3.3.2",
"@vitest/coverage-istanbul": "^0.33.0",
"github-markdown-css": "^5.2.0",
"linguist-languages": "^7.26.1",
"@vitejs/plugin-react-swc": "^3.4.1",
"@vitest/coverage-istanbul": "^0.34.6",
"github-markdown-css": "^5.4.0",
"linguist-languages": "^7.27.0",
"lodash": "^4.17.21",
"prettier": "^3.0.3",
"prettier-plugin-autocorrect": "workspace:*",
Expand All @@ -56,18 +56,18 @@
"prettier-plugin-sql": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.14.1",
"remark-gfm": "^3.0.1",
"sass": "^1.63.6",
"react-router-dom": "^6.18.0",
"remark-gfm": "^4.0.0",
"sass": "^1.69.5",
"sirv-cli": "^2.0.2",
"size-limit": "^8.2.6",
"size-limit-preset-node-lib": "^0.2.0",
"tsx": "^3.12.7",
"type-coverage": "^2.26.0",
"typescript": "^5.1.6",
"size-limit": "^10.0.2",
"size-limit-preset-node-lib": "^0.3.0",
"tsx": "^4.0.0",
"type-coverage": "^2.27.0",
"typescript": "^5.2.2",
"unplugin-auto-import": "^0.16.7",
"vite": "^4.4.3",
"vitest": "^0.33.0"
"vite": "^4.5.0",
"vitest": "^0.34.6"
},
"resolutions": {
"eslint-plugin-prettier": "^5.0.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/autocorrect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ yarn prettier --write writing.md

## Backers

[![Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)

| 1stG | RxTS | UnTS |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |
Expand Down
2 changes: 1 addition & 1 deletion packages/autocorrect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"prettier": "^3.0.3"
},
"dependencies": {
"autocorrect-node": "^2.6.2"
"autocorrect-node": "^2.8.4"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 2 additions & 0 deletions packages/pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ Thanks for [@shellscape](https://github.com/shellscape)'s original great work of

## Backers

[![Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)

| 1stG | RxTS | UnTS |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |
Expand Down
2 changes: 2 additions & 0 deletions packages/sh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ More details on [godoc](https://godoc.org/mvdan.cc/sh/syntax#NewParser)

## Backers

[![Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)

| 1stG | RxTS | UnTS |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |
Expand Down
2 changes: 2 additions & 0 deletions packages/sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ More details on [sql-formatter][] and [node-sql-parser][].

## Backers

[![Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)

| 1stG | RxTS | UnTS |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |
Expand Down
6 changes: 3 additions & 3 deletions packages/sql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
},
"dependencies": {
"jsox": "^1.2.118",
"node-sql-parser": "^4.7.0",
"sql-formatter": "^12.2.4",
"tslib": "^2.6.0"
"node-sql-parser": "^4.11.0",
"sql-formatter": "^13.1.0",
"tslib": "^2.6.2"
},
"publishConfig": {
"access": "public"
Expand Down
167 changes: 6 additions & 161 deletions packages/sql/test/__snapshots__/fixtures.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,167 +17,12 @@ WITH
`;

exports[`parser and printer > should format all fixtures > 277.sql 1`] = `
[Error: Parse error at token: {table_name} at line 1 column 77
Unexpected CUSTOM_PARAMETER token: {"type":"CUSTOM_PARAMETER","raw":"{table_name}","text":"{table_name}","start":76,"key":"{table_name}"}. Instead, I was expecting to see one of the following:
A LINE_COMMENT token based on:
comment → ● %LINE_COMMENT
_$ebnf$1 → _$ebnf$1 ● comment
_ → ● _$ebnf$1
property_access → expression _ %DOT ● _ property_access$subexpression$1
asteriskless_andless_expression$subexpression$1 → ● property_access
asteriskless_andless_expression → ● asteriskless_andless_expression$subexpression$1
asteriskless_free_form_sql$subexpression$1 → ● asteriskless_andless_expression
asteriskless_free_form_sql → ● asteriskless_free_form_sql$subexpression$1
free_form_sql$subexpression$1 → ● asteriskless_free_form_sql
free_form_sql → ● free_form_sql$subexpression$1
other_clause$ebnf$1 → other_clause$ebnf$1 ● free_form_sql
other_clause → %RESERVED_CLAUSE ● other_clause$ebnf$1
clause$subexpression$1 → ● other_clause
clause → ● clause$subexpression$1
expressions_or_clauses$ebnf$2 → expressions_or_clauses$ebnf$2 ● clause
expressions_or_clauses → expressions_or_clauses$ebnf$1 ● expressions_or_clauses$ebnf$2
statement → ● expressions_or_clauses statement$subexpression$1
main$ebnf$1 → main$ebnf$1 ● statement
main → ● main$ebnf$1
A BLOCK_COMMENT token based on:
comment → ● %BLOCK_COMMENT
_$ebnf$1 → _$ebnf$1 ● comment
_ → ● _$ebnf$1
property_access → expression _ %DOT ● _ property_access$subexpression$1
asteriskless_andless_expression$subexpression$1 → ● property_access
asteriskless_andless_expression → ● asteriskless_andless_expression$subexpression$1
asteriskless_free_form_sql$subexpression$1 → ● asteriskless_andless_expression
asteriskless_free_form_sql → ● asteriskless_free_form_sql$subexpression$1
free_form_sql$subexpression$1 → ● asteriskless_free_form_sql
free_form_sql → ● free_form_sql$subexpression$1
other_clause$ebnf$1 → other_clause$ebnf$1 ● free_form_sql
other_clause → %RESERVED_CLAUSE ● other_clause$ebnf$1
clause$subexpression$1 → ● other_clause
clause → ● clause$subexpression$1
expressions_or_clauses$ebnf$2 → expressions_or_clauses$ebnf$2 ● clause
expressions_or_clauses → expressions_or_clauses$ebnf$1 ● expressions_or_clauses$ebnf$2
statement → ● expressions_or_clauses statement$subexpression$1
main$ebnf$1 → main$ebnf$1 ● statement
main → ● main$ebnf$1
A ARRAY_IDENTIFIER token based on:
array_subscript → ● %ARRAY_IDENTIFIER _ square_brackets
property_access$subexpression$1 → ● array_subscript
property_access → expression _ %DOT _ ● property_access$subexpression$1
asteriskless_andless_expression$subexpression$1 → ● property_access
asteriskless_andless_expression → ● asteriskless_andless_expression$subexpression$1
asteriskless_free_form_sql$subexpression$1 → ● asteriskless_andless_expression
asteriskless_free_form_sql → ● asteriskless_free_form_sql$subexpression$1
free_form_sql$subexpression$1 → ● asteriskless_free_form_sql
free_form_sql → ● free_form_sql$subexpression$1
other_clause$ebnf$1 → other_clause$ebnf$1 ● free_form_sql
other_clause → %RESERVED_CLAUSE ● other_clause$ebnf$1
clause$subexpression$1 → ● other_clause
clause → ● clause$subexpression$1
expressions_or_clauses$ebnf$2 → expressions_or_clauses$ebnf$2 ● clause
expressions_or_clauses → expressions_or_clauses$ebnf$1 ● expressions_or_clauses$ebnf$2
statement → ● expressions_or_clauses statement$subexpression$1
main$ebnf$1 → main$ebnf$1 ● statement
main → ● main$ebnf$1
A ARRAY_KEYWORD token based on:
array_subscript → ● %ARRAY_KEYWORD _ square_brackets
property_access$subexpression$1 → ● array_subscript
property_access → expression _ %DOT _ ● property_access$subexpression$1
asteriskless_andless_expression$subexpression$1 → ● property_access
asteriskless_andless_expression → ● asteriskless_andless_expression$subexpression$1
asteriskless_free_form_sql$subexpression$1 → ● asteriskless_andless_expression
asteriskless_free_form_sql → ● asteriskless_free_form_sql$subexpression$1
free_form_sql$subexpression$1 → ● asteriskless_free_form_sql
free_form_sql → ● free_form_sql$subexpression$1
other_clause$ebnf$1 → other_clause$ebnf$1 ● free_form_sql
other_clause → %RESERVED_CLAUSE ● other_clause$ebnf$1
clause$subexpression$1 → ● other_clause
clause → ● clause$subexpression$1
expressions_or_clauses$ebnf$2 → expressions_or_clauses$ebnf$2 ● clause
expressions_or_clauses → expressions_or_clauses$ebnf$1 ● expressions_or_clauses$ebnf$2
statement → ● expressions_or_clauses statement$subexpression$1
main$ebnf$1 → main$ebnf$1 ● statement
main → ● main$ebnf$1
A ASTERISK token based on:
all_columns_asterisk → ● %ASTERISK
property_access$subexpression$1 → ● all_columns_asterisk
property_access → expression _ %DOT _ ● property_access$subexpression$1
asteriskless_andless_expression$subexpression$1 → ● property_access
asteriskless_andless_expression → ● asteriskless_andless_expression$subexpression$1
asteriskless_free_form_sql$subexpression$1 → ● asteriskless_andless_expression
asteriskless_free_form_sql → ● asteriskless_free_form_sql$subexpression$1
free_form_sql$subexpression$1 → ● asteriskless_free_form_sql
free_form_sql → ● free_form_sql$subexpression$1
other_clause$ebnf$1 → other_clause$ebnf$1 ● free_form_sql
other_clause → %RESERVED_CLAUSE ● other_clause$ebnf$1
clause$subexpression$1 → ● other_clause
clause → ● clause$subexpression$1
expressions_or_clauses$ebnf$2 → expressions_or_clauses$ebnf$2 ● clause
expressions_or_clauses → expressions_or_clauses$ebnf$1 ● expressions_or_clauses$ebnf$2
statement → ● expressions_or_clauses statement$subexpression$1
main$ebnf$1 → main$ebnf$1 ● statement
main → ● main$ebnf$1
A IDENTIFIER token based on:
identifier$subexpression$1 → ● %IDENTIFIER
identifier → ● identifier$subexpression$1
property_access$subexpression$1 → ● identifier
property_access → expression _ %DOT _ ● property_access$subexpression$1
asteriskless_andless_expression$subexpression$1 → ● property_access
asteriskless_andless_expression → ● asteriskless_andless_expression$subexpression$1
asteriskless_free_form_sql$subexpression$1 → ● asteriskless_andless_expression
asteriskless_free_form_sql → ● asteriskless_free_form_sql$subexpression$1
free_form_sql$subexpression$1 → ● asteriskless_free_form_sql
free_form_sql → ● free_form_sql$subexpression$1
other_clause$ebnf$1 → other_clause$ebnf$1 ● free_form_sql
other_clause → %RESERVED_CLAUSE ● other_clause$ebnf$1
clause$subexpression$1 → ● other_clause
clause → ● clause$subexpression$1
expressions_or_clauses$ebnf$2 → expressions_or_clauses$ebnf$2 ● clause
expressions_or_clauses → expressions_or_clauses$ebnf$1 ● expressions_or_clauses$ebnf$2
statement → ● expressions_or_clauses statement$subexpression$1
main$ebnf$1 → main$ebnf$1 ● statement
main → ● main$ebnf$1
A QUOTED_IDENTIFIER token based on:
identifier$subexpression$1 → ● %QUOTED_IDENTIFIER
identifier → ● identifier$subexpression$1
property_access$subexpression$1 → ● identifier
property_access → expression _ %DOT _ ● property_access$subexpression$1
asteriskless_andless_expression$subexpression$1 → ● property_access
asteriskless_andless_expression → ● asteriskless_andless_expression$subexpression$1
asteriskless_free_form_sql$subexpression$1 → ● asteriskless_andless_expression
asteriskless_free_form_sql → ● asteriskless_free_form_sql$subexpression$1
free_form_sql$subexpression$1 → ● asteriskless_free_form_sql
free_form_sql → ● free_form_sql$subexpression$1
other_clause$ebnf$1 → other_clause$ebnf$1 ● free_form_sql
other_clause → %RESERVED_CLAUSE ● other_clause$ebnf$1
clause$subexpression$1 → ● other_clause
clause → ● clause$subexpression$1
expressions_or_clauses$ebnf$2 → expressions_or_clauses$ebnf$2 ● clause
expressions_or_clauses → expressions_or_clauses$ebnf$1 ● expressions_or_clauses$ebnf$2
statement → ● expressions_or_clauses statement$subexpression$1
main$ebnf$1 → main$ebnf$1 ● statement
main → ● main$ebnf$1
A VARIABLE token based on:
identifier$subexpression$1 → ● %VARIABLE
identifier → ● identifier$subexpression$1
property_access$subexpression$1 → ● identifier
property_access → expression _ %DOT _ ● property_access$subexpression$1
asteriskless_andless_expression$subexpression$1 → ● property_access
asteriskless_andless_expression → ● asteriskless_andless_expression$subexpression$1
asteriskless_free_form_sql$subexpression$1 → ● asteriskless_andless_expression
asteriskless_free_form_sql → ● asteriskless_free_form_sql$subexpression$1
free_form_sql$subexpression$1 → ● asteriskless_free_form_sql
free_form_sql → ● free_form_sql$subexpression$1
other_clause$ebnf$1 → other_clause$ebnf$1 ● free_form_sql
other_clause → %RESERVED_CLAUSE ● other_clause$ebnf$1
clause$subexpression$1 → ● other_clause
clause → ● clause$subexpression$1
expressions_or_clauses$ebnf$2 → expressions_or_clauses$ebnf$2 ● clause
expressions_or_clauses → expressions_or_clauses$ebnf$1 ● expressions_or_clauses$ebnf$2
statement → ● expressions_or_clauses statement$subexpression$1
main$ebnf$1 → main$ebnf$1 ● statement
main → ● main$ebnf$1
]
"SELECT
*,
current_date - interval {interval} {period}
FROM
{database_name}.{table_name}
"
`;

exports[`parser and printer > should format all fixtures > 279.sql 1`] = `
Expand Down
Loading

0 comments on commit 432933e

Please sign in to comment.