sql-formatter
Advanced tools
Comparing version 14.1.0-beta.2 to 15.0.0
@@ -29,2 +29,4 @@ declare type ParamItems = { | ||
VARIABLE = "VARIABLE", | ||
RESERVED_DATA_TYPE = "RESERVED_DATA_TYPE", | ||
RESERVED_PARAMETERIZED_DATA_TYPE = "RESERVED_PARAMETERIZED_DATA_TYPE", | ||
RESERVED_KEYWORD = "RESERVED_KEYWORD", | ||
@@ -112,2 +114,3 @@ RESERVED_FUNCTION_NAME = "RESERVED_FUNCTION_NAME", | ||
reservedFunctionNames: string[]; | ||
reservedDataTypes: string[]; | ||
reservedKeywords: string[]; | ||
@@ -130,2 +133,4 @@ stringTypes: QuoteType[]; | ||
declare type IdentifierCase = 'preserve' | 'upper' | 'lower'; | ||
declare type DataTypeCase = 'preserve' | 'upper' | 'lower'; | ||
declare type FunctionCase = 'preserve' | 'upper' | 'lower'; | ||
declare type LogicalOperatorNewline = 'before' | 'after'; | ||
@@ -137,2 +142,4 @@ interface FormatOptions { | ||
identifierCase: IdentifierCase; | ||
dataTypeCase: DataTypeCase; | ||
functionCase: FunctionCase; | ||
indentStyle: IndentStyle; | ||
@@ -139,0 +146,0 @@ logicalOperatorNewline: LogicalOperatorNewline; |
{ | ||
"name": "sql-formatter", | ||
"version": "14.1.0-beta.2", | ||
"version": "15.0.0", | ||
"description": "Format whitespace in a SQL query to make it more readable", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -153,2 +153,4 @@ <a href='https://github.com/sql-formatter-org/sql-formatter'><img src="static/prettier-sql-clean.svg" width="128"/></a> | ||
- [**`keywordCase`**](docs/keywordCase.md) uppercases or lowercases keywords. | ||
- [**`dataTypeCase`**](docs/dataTypeCase.md) uppercases or lowercases data types. | ||
- [**`functionCase`**](docs/functionCase.md) uppercases or lowercases function names. | ||
- [**`identifierCase`**](docs/identifierCase.md) uppercases or lowercases identifiers. (**experimental!**) | ||
@@ -155,0 +157,0 @@ - [**`indentStyle`**](docs/indentStyle.md) defines overall indentation style. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
274
2932399
35806