Socket
Socket
Sign inDemoInstall

bravo-formatter

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bravo-formatter - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

4

lib/languages/clickhouse/clickhouse.formatter.js

@@ -19,3 +19,3 @@ import { expandPhrases } from '../../expandPhrases.js';

// Data definition
'CREATE DATABASE', 'CREATE [OR REPLACE | LIVE | WINDOW] VIEW [IF NOT EXISTS]', 'REPLACE TABLE', 'CREATE [OR REPLACE] TABLE [IF NOT EXISTS]', 'CREATE [OR REPLACE] DICTIONARY [IF NOT EXISTS]']);
'CREATE DATABASE', 'CREATE [OR REPLACE | LIVE | WINDOW] VIEW [IF NOT EXISTS]', 'REPLACE TABLE', 'CREATE [OR REPLACE] TABLE [IF NOT EXISTS]', 'CREATE [OR REPLACE] DICTIONARY [IF NOT EXISTS]', 'GRANT CREATE']);

@@ -44,3 +44,3 @@ // 单行,带作用域

// - update:
'SET', 'SET [DEFAULT] ROLE', 'SHOW']);
'SET', 'SET [DEFAULT] ROLE', 'SHOW', 'SHOW CREATE']);
const reservedSetOperations = expandPhrases(['UNION [ALL | DISTINCT]', 'EXCEPT', 'INTERSECT', 'INTO OUTFILE']);

@@ -47,0 +47,0 @@

@@ -45,3 +45,3 @@ import { expandPhrases } from '../../expandPhrases.js';

// set
'SET', 'SHOW']);
'SET', 'SHOW', 'SHOW CREATE']);
const reservedSetOperations = expandPhrases(['UNION [ALL | DISTINCT]']);

@@ -48,0 +48,0 @@

@@ -14,3 +14,3 @@ import { expandPhrases } from '../../expandPhrases.js';

// Data definition
'CREATE [RECURSIVE] VIEW', 'CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY | EXTERNAL] TABLE']);
'CREATE [RECURSIVE] VIEW', 'CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY | EXTERNAL] TABLE', 'GRANT CREATE']);
const onelineClauses = expandPhrases([

@@ -17,0 +17,0 @@ // - update:

{
"name": "bravo-formatter",
"version": "1.0.10",
"version": "1.0.11",
"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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc