sql-formatter
Advanced tools
Comparing version 15.4.5 to 15.4.6
@@ -1,2 +0,2 @@ | ||
declare type ParamItems = { | ||
type ParamItems = { | ||
[k: string]: string; | ||
@@ -84,3 +84,3 @@ }; | ||
} | ||
declare type PlainQuoteType = keyof typeof quotePatterns; | ||
type PlainQuoteType = keyof typeof quotePatterns; | ||
interface PrefixedQuoteType { | ||
@@ -94,4 +94,4 @@ quote: PlainQuoteType; | ||
} | ||
declare type QuoteType = PlainQuoteType | PrefixedQuoteType | RegexPattern; | ||
declare type VariableType = RegexPattern | PrefixedQuoteType; | ||
type QuoteType = PlainQuoteType | PrefixedQuoteType | RegexPattern; | ||
type VariableType = RegexPattern | PrefixedQuoteType; | ||
interface ParamTypes { | ||
@@ -132,8 +132,8 @@ positional?: boolean; | ||
declare type IndentStyle = 'standard' | 'tabularLeft' | 'tabularRight'; | ||
declare type KeywordCase = 'preserve' | 'upper' | 'lower'; | ||
declare type IdentifierCase = KeywordCase; | ||
declare type DataTypeCase = KeywordCase; | ||
declare type FunctionCase = KeywordCase; | ||
declare type LogicalOperatorNewline = 'before' | 'after'; | ||
type IndentStyle = 'standard' | 'tabularLeft' | 'tabularRight'; | ||
type KeywordCase = 'preserve' | 'upper' | 'lower'; | ||
type IdentifierCase = KeywordCase; | ||
type DataTypeCase = KeywordCase; | ||
type FunctionCase = KeywordCase; | ||
type LogicalOperatorNewline = 'before' | 'after'; | ||
interface FormatOptions { | ||
@@ -228,7 +228,7 @@ tabWidth: number; | ||
declare const supportedDialects: string[]; | ||
declare type SqlLanguage = keyof typeof dialectNameMap; | ||
declare type FormatOptionsWithLanguage = Partial<FormatOptions> & { | ||
type SqlLanguage = keyof typeof dialectNameMap; | ||
type FormatOptionsWithLanguage = Partial<FormatOptions> & { | ||
language?: SqlLanguage; | ||
}; | ||
declare type FormatOptionsWithDialect = Partial<FormatOptions> & { | ||
type FormatOptionsWithDialect = Partial<FormatOptions> & { | ||
dialect: DialectOptions; | ||
@@ -235,0 +235,0 @@ }; |
{ | ||
"name": "sql-formatter", | ||
"version": "15.4.5", | ||
"version": "15.4.6", | ||
"description": "Format whitespace in a SQL query to make it more readable", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
3059857