Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

monaco-sql-languages

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monaco-sql-languages - npm Package Compare versions

Comparing version 0.12.3-beta.4 to 0.12.3-beta.5

23

esm/languages/flink/flink.js

@@ -291,7 +291,6 @@ /*---------------------------------------------------------------------------------------------

'CEILING',
'FLOOR',
'SIN',
'SINH',
'SQRT',
'COS',
'MOD',
'TAN',

@@ -336,3 +335,2 @@ 'TANH',

'LPAD',
'RIGHT',
'RPAD',

@@ -346,3 +344,2 @@ 'FROM_BASE64',

'INSTR',
'LEFT',
'LOCATE',

@@ -380,6 +377,4 @@ 'PARSE_URL',

'CURRENT_WATERMARK',
'OVERLAPS',
// Conditional Functions
'COALESCE',
'GREATEST',
'IF',

@@ -390,4 +385,4 @@ 'IFNULL',

'IS_DIGIT',
'GREATEST',
'LEAST',
'NULLIF',
// Type Conversion Functions

@@ -400,8 +395,3 @@ 'CAST',

'ELEMENT',
'array',
'map',
'ARRAY_CONTAINS',
// comparison function
'EXISTS',
'IN',
// JSON Functions

@@ -419,7 +409,5 @@ 'JSON_EXISTS',

'GROUPING',
'GROUPING_ID',
// Hash Functions
'MD5',
'SHA1',
'SHA2',
'SHA224',

@@ -429,2 +417,3 @@ 'SHA256',

'SHA512',
'SHA2',
// Aggregate Functions

@@ -477,2 +466,3 @@ 'COUNT',

'TIMESTAMP_LTZ',
'INTERVAL',
'ARRAY',

@@ -485,3 +475,2 @@ 'MULTISET',

'NUMERIC',
'INT',
'INTERVAL'

@@ -503,3 +492,2 @@ ],

{ include: '@complexDataTypes' },
{ include: '@complexFunctions' },
[/[;,.]/, TokenClassConsts.DELIMITER],

@@ -572,5 +560,4 @@ [/[\(\)\[\]\{\}]/, '@brackets'],

[/WITH\s+LOCAL\s+TIME\s+ZONE\b/i, { token: TokenClassConsts.TYPE }]
],
complexFunctions: [[/NOT\s+IN\b/i, { token: TokenClassConsts.PREDEFINED }]]
]
}
};
{
"name": "monaco-sql-languages",
"version": "0.12.3-beta.4",
"version": "0.12.3-beta.5",
"description": "SQL languages for the Monaco Editor, based on monaco-languages.",

@@ -13,3 +13,3 @@ "scripts": {

"prod": "rm -rf ./docs && node --max_old_space_size=4092 & cd website && npm run build",
"deploy": "npm run prod && gh-pages -d docs -r git@github.com:DTStack/monaco-sql-languages.git",
"deploy": "npm run build && npm run prod && gh-pages -d docs -r git@github.com:liuxy0551/monaco-sql-languages.git",
"format": "prettier --write .",

@@ -71,3 +71,3 @@ "prettier-check": "prettier --check .",

"dependencies": {
"dt-sql-parser": "4.0.2"
"dt-sql-parser": "4.1.0-beta.3"
},

@@ -74,0 +74,0 @@ "peerDependencies": {

@@ -103,3 +103,3 @@ # Monaco SQL Languages

ICompletionItem,
SyntaxContextType
EntityContextType
} from 'monaco-sql-languages';

@@ -129,7 +129,7 @@

syntax.forEach((item) => {
if (item.syntaxContextType === SyntaxContextType.DATABASE) {
if (item.syntaxContextType === EntityContextType.DATABASE) {
const databaseCompletions: ICompletionItem[] = []; // some completions about databaseName
syntaxCompletionItems = [...syntaxCompletionItems, ...databaseCompletions];
}
if (item.syntaxContextType === SyntaxContextType.TABLE) {
if (item.syntaxContextType === EntityContextType.TABLE) {
const tableCompletions: ICompletionItem[] = []; // some completions about tableName

@@ -136,0 +136,0 @@ syntaxCompletionItems = [...syntaxCompletionItems, ...tableCompletions];

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