prettier-plugin-sql-cst 0.11.3 → 0.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -101,7 +101,7 @@ There are also some SQL-specific options:
101
101
  | API Option | Default | Description |
102
102
  | -------------------- | :-----: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
103
103
  | `sqlKeywordCase` | `upper` | Converts SQL keywords to `upper` or `lower` case, or `preserve` existing. Note that for now `preserve` is somewhat incompatible with `sqlCanonicalSyntax: true` (e.g. the added `AS` keywords will always be in uppercase). |
104
- | `sqlParamTypes` | `[]` | Array of bound parameter types: `?`, `?nr`, `:name`, `@name`, `$name`. |
104
+ | `sqlParamTypes` | `[]` | Array of bound parameter types: `?`, `?nr`, `$nr`, `:name`, `@name`, `$name`. |
105
105
  | `sqlCanonicalSyntax` | `true` | When enabled, performs some opinionated changes of keywords and operators, like enforcing the use of `AS` in aliases and replacing `<>` comparisons with `!=`. See [STYLE_GUIDE][] for more details. (Since 0.11.0) |
106
106
 
107
107
  ## FAQ
package/dist/options.js CHANGED
@@ -32,7 +32,7 @@ exports.options = {
32
32
  default: [{ value: [] }],
33
33
  description: "Syntax for bound parameters",
34
34
  // Since 0.7.0
35
- // Possible values in array: "?" | "?nr" | ":name" | "$name" | "@name"
35
+ // Possible values in array: "?" | "?nr" | "$nr" | ":name" | "$name" | "@name"
36
36
  },
37
37
  sqlCanonicalSyntax: {
38
38
  type: "boolean",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prettier-plugin-sql-cst",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "description": "Prettier plugin for SQL",
5
5
  "author": "Rene Saarsoo <nene@triin.net>",
6
6
  "license": "GPL-3.0-or-later",
@@ -33,11 +33,11 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "prettier": "^3.0.3",
36
- "sql-parser-cst": "^0.27.0"
36
+ "sql-parser-cst": "^0.27.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/jest": "^29.2.5",
40
- "chalk": "^4.3.0",
40
+ "chalk": "^4.1.2",
41
41
  "dedent-js": "^1.0.1",
42
42
  "jest": "^29.7.0",
43
43
  "ts-jest": "^29.1.1",