sql-formatter
Advanced tools
Comparing version 12.2.2 to 12.2.3
@@ -6,3 +6,3 @@ import { expandPhrases } from '../../expandPhrases.js'; | ||
const reservedClauses = expandPhrases([// queries | ||
'WITH', 'FROM', 'WHERE', 'GROUP BY', 'HAVING', 'WINDOW', 'PARTITION BY', 'ORDER BY', 'OFFSET', 'FETCH {FIRST | NEXT}', // Data manipulation | ||
'WITH', 'INTO', 'FROM', 'WHERE', 'GROUP BY', 'HAVING', 'WINDOW', 'PARTITION BY', 'ORDER BY', 'OFFSET', 'FETCH {FIRST | NEXT}', // Data manipulation | ||
// - insert: | ||
@@ -12,3 +12,3 @@ 'INSERT [INTO]', 'VALUES', // - update: | ||
'MERGE [INTO]', 'WHEN [NOT] MATCHED [BY TARGET | BY SOURCE] [THEN]', 'UPDATE SET', // Data definition | ||
'CREATE [OR ALTER] [MATERIALIZED] VIEW', 'CREATE [OR ALTER] TABLE', 'CREATE [OR ALTER] PROCEDURE']); | ||
'CREATE [OR ALTER] [MATERIALIZED] VIEW', 'CREATE TABLE', 'CREATE [OR ALTER] {PROC | PROCEDURE}']); | ||
const onelineClauses = expandPhrases([// - update: | ||
@@ -15,0 +15,0 @@ 'UPDATE', 'WHERE CURRENT OF', // - delete: |
{ | ||
"name": "sql-formatter", | ||
"version": "12.2.2", | ||
"version": "12.2.3", | ||
"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 too big to display
Sorry, the diff of this file is not supported yet
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
2170068