sql-autocomplete-parsers
Advanced tools
Comparing version 1.2.0 to 1.3.0
# Changelog | ||
## [1.3.0](https://github.com/gravity-ui/sql-autocomplete-parsers/compare/v1.2.0...v1.3.0) (2023-06-06) | ||
### Features | ||
* expand ParseResult interface ([7235b0d](https://github.com/gravity-ui/sql-autocomplete-parsers/commit/7235b0dce5d27a2385c1253f07fce2fd2ae56922)) | ||
## [1.2.0](https://github.com/gravity-ui/sql-autocomplete-parsers/compare/v1.1.1...v1.2.0) (2023-06-05) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "sql-autocomplete-parsers", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "A library that provides autocompletion and errors highlighting for various sql dialects", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -30,2 +30,3 @@ // @ts-ignore | ||
suggestGroupBys?: unknown; | ||
suggestIdentifiers?: IdentifierSuggestion[]; | ||
} | ||
@@ -63,2 +64,7 @@ | ||
export interface IdentifierSuggestion { | ||
name: string; | ||
type: string; | ||
} | ||
export function parseGenericSql(queryBeforeCursor: string, queryAfterCursor: string, debug?: boolean): ParseResult { | ||
@@ -65,0 +71,0 @@ let parser = genericAutocompleteParser as unknown as Parser; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6438929
89385
18