prettier-plugin-sql-cst
Advanced tools
Comparing version 0.11.3 to 0.11.4
@@ -35,3 +35,3 @@ "use strict"; | ||
// Since 0.7.0 | ||
// Possible values in array: "?" | "?nr" | ":name" | "$name" | "@name" | ||
// Possible values in array: "?" | "?nr" | "$nr" | ":name" | "$name" | "@name" | ||
}, | ||
@@ -38,0 +38,0 @@ sqlCanonicalSyntax: { |
{ | ||
"name": "prettier-plugin-sql-cst", | ||
"version": "0.11.3", | ||
"version": "0.11.4", | ||
"description": "Prettier plugin for SQL", | ||
@@ -36,7 +36,7 @@ "author": "Rene Saarsoo <nene@triin.net>", | ||
"prettier": "^3.0.3", | ||
"sql-parser-cst": "^0.27.0" | ||
"sql-parser-cst": "^0.27.1" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.2.5", | ||
"chalk": "^4.3.0", | ||
"chalk": "^4.1.2", | ||
"dedent-js": "^1.0.1", | ||
@@ -43,0 +43,0 @@ "jest": "^29.7.0", |
@@ -104,3 +104,3 @@ # Prettier plugin SQL-CST [![npm version](https://img.shields.io/npm/v/prettier-plugin-sql-cst)](https://www.npmjs.com/package/prettier-plugin-sql-cst) ![build status](https://github.com/nene/prettier-plugin-sql-cst/actions/workflows/build.yml/badge.svg) | ||
| `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). | | ||
| `sqlParamTypes` | `[]` | Array of bound parameter types: `?`, `?nr`, `:name`, `@name`, `$name`. | | ||
| `sqlParamTypes` | `[]` | Array of bound parameter types: `?`, `?nr`, `$nr`, `:name`, `@name`, `$name`. | | ||
| `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) | | ||
@@ -107,0 +107,0 @@ |
173755
Updatedsql-parser-cst@^0.27.1