@kusto/monaco-kusto 5.1.2 → 5.1.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kusto/monaco-kusto",
3
- "version": "5.1.2",
3
+ "version": "5.1.5",
4
4
  "description": "CSL, KQL plugin for the Monaco Editor",
5
5
  "author": {
6
6
  "name": "Microsoft"
@@ -54,8 +54,8 @@
54
54
  "xregexp": "^3.2.0"
55
55
  },
56
56
  "dependencies": {
57
- "@kusto/language-service": "2.0.0-beta.0",
58
- "@kusto/language-service-next": "0.0.54"
57
+ "@kusto/language-service": "0.0.36",
58
+ "@kusto/language-service-next": "0.0.55"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "monaco-editor": "0.33.0"
@@ -7219,7 +7219,7 @@ define('vs/language/kusto/languageService/kustoLanguageService',["require", "exp
7219
7219
  var diagnostics = blocks
7220
7220
  .map(function (block) {
7221
7221
  // GetDiagnostics returns the errors in the block
7222
- var diagnostics = _this.toArray(block.Service.GetDiagnostics(false));
7222
+ var diagnostics = _this.toArray(block.Service.GetDiagnostics());
7223
7223
  var enableWarnings = includeWarnings !== null && includeWarnings !== void 0 ? includeWarnings : _this._languageSettings.enableQueryWarnings;
7224
7224
  var enableSuggestions = includeSuggestions !== null && includeSuggestions !== void 0 ? includeSuggestions : _this._languageSettings.enableQuerySuggestions;
7225
7225
  if (enableWarnings || enableSuggestions) {
@@ -8138,6 +8138,7 @@ define('vs/language/kusto/languageService/kustoLanguageService',["require", "exp
8138
8138
  symbol.Description = tbl.docstring;
8139
8139
  switch (tbl.entityType) {
8140
8140
  case 'MaterializedViewTable':
8141
+ symbol = new sym.MaterializedViewSymbol(tbl.name, symbol.Columns, null, tbl.docstring);
8141
8142
  symbol = symbol.WithIsMaterializedView(true);
8142
8143
  break;
8143
8144
  case 'ExternalTable':
@@ -575,7 +575,7 @@ var KustoLanguageService = /** @class */ (function () {
575
575
  var diagnostics = blocks
576
576
  .map(function (block) {
577
577
  // GetDiagnostics returns the errors in the block
578
- var diagnostics = _this.toArray(block.Service.GetDiagnostics(false));
578
+ var diagnostics = _this.toArray(block.Service.GetDiagnostics());
579
579
  var enableWarnings = includeWarnings !== null && includeWarnings !== void 0 ? includeWarnings : _this._languageSettings.enableQueryWarnings;
580
580
  var enableSuggestions = includeSuggestions !== null && includeSuggestions !== void 0 ? includeSuggestions : _this._languageSettings.enableQuerySuggestions;
581
581
  if (enableWarnings || enableSuggestions) {
@@ -1494,6 +1494,7 @@ var KustoLanguageService = /** @class */ (function () {
1494
1494
  symbol.Description = tbl.docstring;
1495
1495
  switch (tbl.entityType) {
1496
1496
  case 'MaterializedViewTable':
1497
+ symbol = new sym.MaterializedViewSymbol(tbl.name, symbol.Columns, null, tbl.docstring);
1497
1498
  symbol = symbol.WithIsMaterializedView(true);
1498
1499
  break;
1499
1500
  case 'ExternalTable':