@kusto/monaco-kusto 10.0.18 → 10.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/release/dev/Kusto.Language.Bridge.min.js +193 -190
- package/release/dev/kustoMode.js +2 -2
- package/release/dev/kustoWorker.js +4 -3
- package/release/dev/{main-c910771c.js → main-bcfd4a96.js} +2 -2
- package/release/dev/monaco.contribution.js +2 -2
- package/release/dev/{schema-b22b3e98.js → schema-5e9a5443.js} +2 -2
- package/release/esm/kusto.worker.js +4 -3
- package/release/esm/languageService/kustoLanguageService.js +2 -1
- package/release/esm/{schema-4f210ece.js → schema-9c51bbd6.js} +1 -1
- package/release/min/Kusto.Language.Bridge.min.js +193 -190
- package/release/min/kustoMode.js +2 -2
- package/release/min/kustoWorker.js +3 -3
- package/release/min/{main-6bf59b12.js → main-b696811c.js} +2 -2
- package/release/min/monaco.contribution.js +2 -2
- package/release/min/{schema-72d5110b.js → schema-66ab4c90.js} +2 -2
package/release/dev/kustoMode.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* monaco-kusto version: 10.0.
|
|
3
|
+
* monaco-kusto version: 10.0.20(4495adbf90108f8783aacb4f6d3baf2c80731b42)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://https://github.com/Azure/monaco-kusto/blob/master/README.md
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
7
7
|
|
|
8
|
-
define('vs/language/kusto/kustoMode', ['exports', 'vs/editor/editor.main', './main-
|
|
8
|
+
define('vs/language/kusto/kustoMode', ['exports', 'vs/editor/editor.main', './main-bcfd4a96'], (function (exports, monaco, main) { 'use strict';
|
|
9
9
|
|
|
10
10
|
function _interopNamespaceDefault(e) {
|
|
11
11
|
var n = Object.create(null);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* monaco-kusto version: 10.0.
|
|
3
|
+
* monaco-kusto version: 10.0.20(4495adbf90108f8783aacb4f6d3baf2c80731b42)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://https://github.com/Azure/monaco-kusto/blob/master/README.md
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
7
7
|
|
|
8
|
-
define('vs/language/kusto/kustoWorker', ['exports', './main-
|
|
8
|
+
define('vs/language/kusto/kustoWorker', ['exports', './main-bcfd4a96', './schema-5e9a5443'], (function (exports, main, schema) { 'use strict';
|
|
9
9
|
|
|
10
10
|
function _slicedToArray$2(arr, i) { return _arrayWithHoles$2(arr) || _iterableToArrayLimit$2(arr, i) || _unsupportedIterableToArray$3(arr, i) || _nonIterableRest$2(); }
|
|
11
11
|
function _nonIterableRest$2() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -5054,7 +5054,8 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-c910771c', './schema
|
|
|
5054
5054
|
// Replace new URL due to polyfill issue in IE
|
|
5055
5055
|
// const hostname = new URL(schema.cluster.connectionString.split(';')[0]).hostname;
|
|
5056
5056
|
var hostname = schema.cluster.connectionString.match(/(.*\/\/)?([^\/;]*)/)[2];
|
|
5057
|
-
|
|
5057
|
+
// safranke.eastus.kusto.windows.net --> safranke.eastus;
|
|
5058
|
+
var clusterName = hostname.split(hostname.includes('.kusto') ? '.kusto' : '.')[0];
|
|
5058
5059
|
var clusterSymbol = new sym.ClusterSymbol.ctor(clusterName, databases);
|
|
5059
5060
|
globalState = globalState.WithCluster(clusterSymbol);
|
|
5060
5061
|
if (databaseInContext) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* monaco-kusto version: 10.0.
|
|
3
|
+
* monaco-kusto version: 10.0.20(4495adbf90108f8783aacb4f6d3baf2c80731b42)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://https://github.com/Azure/monaco-kusto/blob/master/README.md
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
7
7
|
|
|
8
|
-
define('vs/language/kusto/main-
|
|
8
|
+
define('vs/language/kusto/main-bcfd4a96', ['exports'], (function (exports) { 'use strict';
|
|
9
9
|
|
|
10
10
|
/* --------------------------------------------------------------------------------------------
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* monaco-kusto version: 10.0.
|
|
3
|
+
* monaco-kusto version: 10.0.20(4495adbf90108f8783aacb4f6d3baf2c80731b42)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://https://github.com/Azure/monaco-kusto/blob/master/README.md
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
7
7
|
|
|
8
|
-
define('vs/language/kusto/monaco.contribution', ['require', 'exports', 'vs/editor/editor.main', './schema-
|
|
8
|
+
define('vs/language/kusto/monaco.contribution', ['require', 'exports', 'vs/editor/editor.main', './schema-5e9a5443'], (function (require, exports, monaco, schema) { 'use strict';
|
|
9
9
|
|
|
10
10
|
function _interopNamespaceDefault(e) {
|
|
11
11
|
var n = Object.create(null);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* monaco-kusto version: 10.0.
|
|
3
|
+
* monaco-kusto version: 10.0.20(4495adbf90108f8783aacb4f6d3baf2c80731b42)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://https://github.com/Azure/monaco-kusto/blob/master/README.md
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
7
7
|
|
|
8
|
-
define('vs/language/kusto/schema-
|
|
8
|
+
define('vs/language/kusto/schema-5e9a5443', ['exports'], (function (exports) { 'use strict';
|
|
9
9
|
|
|
10
10
|
// Definition of schema object in the context of language services. This model is exposed to consumers of this library.
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* monaco-kusto version: 10.0.
|
|
3
|
+
* monaco-kusto version: 10.0.20(4495adbf90108f8783aacb4f6d3baf2c80731b42)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://https://github.com/Azure/monaco-kusto/blob/master/README.md
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import * as worker from 'monaco-editor/esm/vs/editor/editor.worker';
|
|
9
9
|
import * as ls from 'vscode-languageserver-types';
|
|
10
10
|
import XRegExp from 'xregexp';
|
|
11
|
-
import { d as getEntityDataTypeFromCslType, a as getCallName, b as getExpression, g as getCslTypeNameFromClrType } from './schema-
|
|
11
|
+
import { d as getEntityDataTypeFromCslType, a as getCallName, b as getExpression, g as getCslTypeNameFromClrType } from './schema-9c51bbd6.js';
|
|
12
12
|
import '@kusto/language-service/bridge.min';
|
|
13
13
|
import '@kusto/language-service/Kusto.JavaScript.Client.min';
|
|
14
14
|
import '@kusto/language-service/newtonsoft.json.min';
|
|
@@ -1555,7 +1555,8 @@ class KustoLanguageService {
|
|
|
1555
1555
|
// Replace new URL due to polyfill issue in IE
|
|
1556
1556
|
// const hostname = new URL(schema.cluster.connectionString.split(';')[0]).hostname;
|
|
1557
1557
|
const hostname = schema.cluster.connectionString.match(/(.*\/\/)?([^\/;]*)/)[2];
|
|
1558
|
-
|
|
1558
|
+
// safranke.eastus.kusto.windows.net --> safranke.eastus;
|
|
1559
|
+
const clusterName = hostname.split(hostname.includes('.kusto') ? '.kusto' : '.')[0];
|
|
1559
1560
|
const clusterSymbol = new sym.ClusterSymbol.ctor(clusterName, databases);
|
|
1560
1561
|
globalState = globalState.WithCluster(clusterSymbol);
|
|
1561
1562
|
if (databaseInContext) {
|
|
@@ -1638,7 +1638,8 @@ var KustoLanguageService = /** @class */ (function () {
|
|
|
1638
1638
|
// Replace new URL due to polyfill issue in IE
|
|
1639
1639
|
// const hostname = new URL(schema.cluster.connectionString.split(';')[0]).hostname;
|
|
1640
1640
|
var hostname = schema.cluster.connectionString.match(/(.*\/\/)?([^\/;]*)/)[2];
|
|
1641
|
-
|
|
1641
|
+
// safranke.eastus.kusto.windows.net --> safranke.eastus;
|
|
1642
|
+
var clusterName = hostname.split(hostname.includes('.kusto') ? '.kusto' : '.')[0];
|
|
1642
1643
|
var clusterSymbol = new sym.ClusterSymbol.ctor(clusterName, databases);
|
|
1643
1644
|
globalState = globalState.WithCluster(clusterSymbol);
|
|
1644
1645
|
if (databaseInContext) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* monaco-kusto version: 10.0.
|
|
3
|
+
* monaco-kusto version: 10.0.20(4495adbf90108f8783aacb4f6d3baf2c80731b42)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://https://github.com/Azure/monaco-kusto/blob/master/README.md
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|