@codingame/monaco-vscode-api 1.69.14 → 1.69.16

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.
@@ -0,0 +1,13 @@
1
+ class KeyboardLayoutContribution {
2
+ constructor() {
3
+ this._layoutInfos = [];
4
+ }
5
+ get layoutInfos() {
6
+ return this._layoutInfos;
7
+ }
8
+ registerKeyboardLayout(layout) {
9
+ this._layoutInfos.push(layout);
10
+ }
11
+ }
12
+ KeyboardLayoutContribution.INSTANCE = ( new KeyboardLayoutContribution());
13
+ export { KeyboardLayoutContribution as K };
@@ -481,8 +481,9 @@ interface IColorCustomizations {
481
481
  [colorIdOrThemeScope: string]: IThemeScopedColorCustomizations | string;
482
482
  }
483
483
 
484
- declare function updateUserConfiguration(configurationJson: string): void;
484
+ declare function updateUserConfiguration(configurationJson: string): Promise<void>;
485
+ declare function getUserConfiguration(): Promise<string>;
485
486
  declare const configurationRegistry: IConfigurationRegistry;
486
487
  declare function getServiceOverride(): IEditorOverrideServices;
487
488
 
488
- export { ConfigurationScope, IColorCustomizations, IConfigurationDefaults, IConfigurationNode, IThemeScopedColorCustomizations, configurationRegistry, getServiceOverride as default, updateUserConfiguration };
489
+ export { ConfigurationScope, IColorCustomizations, IConfigurationDefaults, IConfigurationNode, IThemeScopedColorCustomizations, configurationRegistry, getServiceOverride as default, getUserConfiguration, updateUserConfiguration };
@@ -1,6 +1,6 @@
1
1
  import { E as Emitter, _ as __decorate, a as __param } from './workspace.js';
2
2
  import { U as UserSettings } from './polyfill.js';
3
- import { e as IPolicyService, N as NullPolicyService } from './missing-services.js';
3
+ import { e as IPolicyService, N as NullPolicyService, s as setProperty } from './missing-services.js';
4
4
  import { b as isEmptyObject } from './types.js';
5
5
  import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
6
6
  import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
@@ -15,8 +15,8 @@ import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
15
15
  import { isArray } from 'monaco-editor/esm/vs/base/common/types.js';
16
16
  import { extUriBiasedIgnorePathCase } from 'monaco-editor/esm/vs/base/common/resources.js';
17
17
  import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
18
- import { bf as Position$2, bg as configurationDefaultsSchemaId } from './extHost.js';
19
- export { bh as ConfigurationScope } from './extHost.js';
18
+ import { bf as Position$2, bg as keyFromOverrideIdentifiers, bh as configurationDefaultsSchemaId } from './extHost.js';
19
+ export { bi as ConfigurationScope } from './extHost.js';
20
20
  import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
21
21
  import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
22
22
  import { q as IUserDataProfilesService, i as IFileService, j as IWorkbenchEnvironmentService } from './services2.js';
@@ -31,6 +31,7 @@ import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/comm
31
31
  import { ITextResourceConfigurationService } from 'monaco-editor/esm/vs/editor/common/services/textResourceConfiguration.js';
32
32
  import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
33
33
  import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
34
+ import { createTextBuffer, TextModel } from 'monaco-editor/esm/vs/editor/common/model/textModel.js';
34
35
  function isConfigurationOverrides(thing) {
35
36
  return thing
36
37
  && typeof thing === 'object'
@@ -540,25 +541,51 @@ RegisterConfigurationSchemasContribution = ( (__decorate([
540
541
  ( (__param(1, IWorkbenchEnvironmentService))),
541
542
  ( (__param(2, IWorkspaceTrustManagementService)))
542
543
  ], RegisterConfigurationSchemasContribution)));
543
- function updateUserConfiguration(configurationJson) {
544
+ async function updateUserConfiguration(configurationJson) {
544
545
  const userDataProfilesService = StandaloneServices.get(IUserDataProfilesService);
545
- void StandaloneServices.get(IFileService).writeFile(userDataProfilesService.defaultProfile.settingsResource, VSBuffer.fromString(configurationJson));
546
+ await StandaloneServices.get(IFileService).writeFile(userDataProfilesService.defaultProfile.settingsResource, VSBuffer.fromString(configurationJson));
547
+ }
548
+ async function getUserConfiguration() {
549
+ const userDataProfilesService = StandaloneServices.get(IUserDataProfilesService);
550
+ return ( (await StandaloneServices.get(IFileService).readFile(userDataProfilesService.defaultProfile.settingsResource)).value.toString());
546
551
  }
547
552
  const configurationRegistry = ( Registry.as(Extensions.Configuration));
553
+ function updateJsonValue(jsonValue, jsonPath, value, configFileUrl) {
554
+ const creationOptions = StandaloneServices.get(IModelService).getCreationOptions('json', configFileUrl, true);
555
+ const { textBuffer, disposable: bufferDisposable } = createTextBuffer(jsonValue, creationOptions.defaultEOL);
556
+ try {
557
+ const options = TextModel.resolveOptions(textBuffer, creationOptions);
558
+ const edits = setProperty(jsonValue, jsonPath, value, options);
559
+ return edits.reduce((config, edit) => {
560
+ return `${config.slice(0, edit.offset)}${edit.content}${config.slice(edit.offset + edit.length)}`;
561
+ }, jsonValue);
562
+ }
563
+ finally {
564
+ bufferDisposable.dispose();
565
+ }
566
+ }
548
567
  let InjectedConfigurationService = class InjectedConfigurationService extends ConfigurationService {
549
568
  constructor(userDataProfilesService, fileService, policyService, logService) {
550
569
  super(userDataProfilesService.defaultProfile.settingsResource, fileService, policyService, logService);
570
+ this.userDataProfilesService = userDataProfilesService;
551
571
  this.initialize().catch(error => {
552
572
  logService.error(error);
553
573
  });
554
574
  }
555
- updateValue(key, value, arg3, arg4) {
575
+ async updateValue(key, value, arg3, arg4) {
556
576
  const overrides = isConfigurationUpdateOverrides(arg3)
557
577
  ? arg3
558
578
  : isConfigurationOverrides(arg3) ? { resource: arg3.resource, overrideIdentifiers: arg3.overrideIdentifier != null ? [arg3.overrideIdentifier] : undefined } : undefined;
559
- const target = overrides != null ? arg4 : arg3;
579
+ const target = (overrides != null ? arg4 : arg3) ?? 2 ;
560
580
  if (target === 8 ) {
561
- return Promise.resolve(this['configuration'].updateValue(key, value, overrides));
581
+ return this['configuration'].updateValue(key, value, overrides);
582
+ }
583
+ if (target === 2 ) {
584
+ const userConfiguration = await getUserConfiguration();
585
+ const jsonPath = overrides?.overrideIdentifiers != null && overrides.overrideIdentifiers.length > 0 ? [keyFromOverrideIdentifiers(overrides.overrideIdentifiers), key] : [key];
586
+ const newConfiguration = updateJsonValue(userConfiguration, jsonPath, value, this.userDataProfilesService.defaultProfile.settingsResource);
587
+ await updateUserConfiguration(newConfiguration);
588
+ return;
562
589
  }
563
590
  return Promise.reject(new Error('not supported'));
564
591
  }
@@ -581,4 +608,4 @@ function getServiceOverride() {
581
608
  [( ITextResourceConfigurationService.toString())]: new SyncDescriptor(TextResourceConfigurationService)
582
609
  };
583
610
  }
584
- export { configurationRegistry, getServiceOverride as default, updateUserConfiguration };
611
+ export { configurationRegistry, getServiceOverride as default, getUserConfiguration, updateUserConfiguration };
package/dist/extHost.js CHANGED
@@ -613,6 +613,9 @@ function overrideIdentifiersFromKey(key) {
613
613
  }
614
614
  return distinct(identifiers);
615
615
  }
616
+ function keyFromOverrideIdentifiers(overrideIdentifiers) {
617
+ return overrideIdentifiers.reduce((result, overrideIdentifier) => `${result}[${overrideIdentifier}]`, '');
618
+ }
616
619
  function getDefaultValue(type) {
617
620
  const t = Array.isArray(type) ? type[0] : type;
618
621
  switch (t) {
@@ -3242,7 +3245,7 @@ let NotebookRange$1 = class NotebookRange {
3242
3245
  }
3243
3246
  }
3244
3247
  static isNotebookRange(thing) {
3245
- if (thing instanceof NotebookRange$1) {
3248
+ if (thing instanceof NotebookRange) {
3246
3249
  return true;
3247
3250
  }
3248
3251
  if (!thing) {
@@ -3273,7 +3276,7 @@ let NotebookRange$1 = class NotebookRange {
3273
3276
  return this;
3274
3277
  }
3275
3278
  return (
3276
- (new NotebookRange$1(start, end))
3279
+ (new NotebookRange(start, end))
3277
3280
  );
3278
3281
  }
3279
3282
  };
@@ -3286,7 +3289,7 @@ let NotebookCellData$1 = class NotebookCellData {
3286
3289
  this.outputs = outputs ?? [];
3287
3290
  this.metadata = metadata;
3288
3291
  this.executionSummary = executionSummary;
3289
- NotebookCellData$1.validate(this);
3292
+ NotebookCellData.validate(this);
3290
3293
  }
3291
3294
  static validate(data) {
3292
3295
  if (typeof data.kind !== 'number') {
@@ -3300,7 +3303,7 @@ let NotebookCellData$1 = class NotebookCellData {
3300
3303
  }
3301
3304
  }
3302
3305
  static isNotebookCellDataArray(value) {
3303
- return Array.isArray(value) && value.every(elem => NotebookCellData$1.isNotebookCellData(elem));
3306
+ return Array.isArray(value) && value.every(elem => NotebookCellData.isNotebookCellData(elem));
3304
3307
  }
3305
3308
  static isNotebookCellData(value) {
3306
3309
  return true;
@@ -3322,7 +3325,7 @@ let NotebookCellOutputItem$1 = class NotebookCellOutputItem {
3322
3325
  this.mime = mimeNormalized;
3323
3326
  }
3324
3327
  static isNotebookCellOutputItem(obj) {
3325
- if (obj instanceof NotebookCellOutputItem$1) {
3328
+ if (obj instanceof NotebookCellOutputItem) {
3326
3329
  return true;
3327
3330
  }
3328
3331
  if (!obj) {
@@ -3337,35 +3340,35 @@ let NotebookCellOutputItem$1 = class NotebookCellOutputItem {
3337
3340
  message: err.message,
3338
3341
  stack: err.stack
3339
3342
  };
3340
- return NotebookCellOutputItem$1.json(obj, 'application/vnd.code.notebook.error');
3343
+ return NotebookCellOutputItem.json(obj, 'application/vnd.code.notebook.error');
3341
3344
  }
3342
3345
  static stdout(value) {
3343
- return NotebookCellOutputItem$1.text(value, 'application/vnd.code.notebook.stdout');
3346
+ return NotebookCellOutputItem.text(value, 'application/vnd.code.notebook.stdout');
3344
3347
  }
3345
3348
  static stderr(value) {
3346
- return NotebookCellOutputItem$1.text(value, 'application/vnd.code.notebook.stderr');
3349
+ return NotebookCellOutputItem.text(value, 'application/vnd.code.notebook.stderr');
3347
3350
  }
3348
3351
  static bytes(value, mime = 'application/octet-stream') {
3349
3352
  return (
3350
- (new NotebookCellOutputItem$1(value, mime))
3353
+ (new NotebookCellOutputItem(value, mime))
3351
3354
  );
3352
3355
  }
3353
3356
  static text(value, mime = Mimes.text) {
3354
- const bytes = __classPrivateFieldGet(NotebookCellOutputItem$1, _a$1, "f", _NotebookCellOutputItem_encoder).encode(String(value));
3357
+ const bytes = __classPrivateFieldGet(NotebookCellOutputItem, _a$1, "f", _NotebookCellOutputItem_encoder).encode(String(value));
3355
3358
  return (
3356
- (new NotebookCellOutputItem$1(bytes, mime))
3359
+ (new NotebookCellOutputItem(bytes, mime))
3357
3360
  );
3358
3361
  }
3359
3362
  static json(value, mime = 'text/x-json') {
3360
3363
  const rawStr = JSON.stringify(value, undefined, '\t');
3361
- return NotebookCellOutputItem$1.text(rawStr, mime);
3364
+ return NotebookCellOutputItem.text(rawStr, mime);
3362
3365
  }
3363
3366
  };
3364
3367
  _a$1 = NotebookCellOutputItem$1;
3365
3368
  _NotebookCellOutputItem_encoder = { value: ( (new TextEncoder())) };
3366
3369
  let NotebookCellOutput$1 = class NotebookCellOutput {
3367
3370
  constructor(items, idOrMetadata, metadata) {
3368
- this.items = NotebookCellOutput$1.ensureUniqueMimeTypes(items, true);
3371
+ this.items = NotebookCellOutput.ensureUniqueMimeTypes(items, true);
3369
3372
  if (typeof idOrMetadata === 'string') {
3370
3373
  this.id = idOrMetadata;
3371
3374
  this.metadata = metadata;
@@ -3376,7 +3379,7 @@ let NotebookCellOutput$1 = class NotebookCellOutput {
3376
3379
  }
3377
3380
  }
3378
3381
  static isNotebookCellOutput(candidate) {
3379
- if (candidate instanceof NotebookCellOutput$1) {
3382
+ if (candidate instanceof NotebookCellOutput) {
3380
3383
  return true;
3381
3384
  }
3382
3385
  if (!candidate || typeof candidate !== 'object') {
@@ -14778,4 +14781,4 @@ function getExtHostServices() {
14778
14781
  }
14779
14782
  return extHostServices;
14780
14783
  }
14781
- export { Position$1 as $, DiagnosticTag$1 as A, Breakpoint as B, CallHierarchyIncomingCall as C, DebugAdapterExecutable as D, Disposable as E, DocumentHighlight$1 as F, DocumentHighlightKind as G, DocumentLink$1 as H, DocumentSymbol$1 as I, EndOfLine$1 as J, EnvironmentVariableMutatorType as K, EvaluatableExpression$1 as L, InlineValueText as M, InlineValueVariableLookup as N, InlineValueEvaluatableExpression as O, ExtensionKind as P, ExtensionMode as Q, FileChangeType as R, FileDecoration as S, FileSystemError as T, FoldingRange$1 as U, FoldingRangeKind$1 as V, FunctionBreakpoint as W, Hover$1 as X, Location as Y, MarkdownString$1 as Z, ParameterInformation$1 as _, CallHierarchyItem$1 as a, QuickPickItemKind as a$, ProcessExecution as a0, ProgressLocation$1 as a1, QuickInputButtons as a2, Range$1 as a3, RelativePattern as a4, Selection$2 as a5, SelectionRange$1 as a6, SemanticTokens as a7, SemanticTokensBuilder as a8, SemanticTokensEdit as a9, TextDocumentChangeReason as aA, ThemeColor as aB, ThemeIcon as aC, TreeItem as aD, TreeItemCollapsibleState as aE, TypeHierarchyItem$1 as aF, UIKind as aG, ViewColumn$1 as aH, WorkspaceEdit$1 as aI, InlayHint as aJ, InlayHintLabelPart as aK, InlayHintKind$1 as aL, NotebookRange$1 as aM, NotebookCellKind$1 as aN, NotebookCellData$1 as aO, NotebookData as aP, NotebookCellStatusBarAlignment as aQ, NotebookCellOutput$1 as aR, NotebookCellOutputItem$1 as aS, NotebookCellStatusBarItem as aT, NotebookControllerAffinity as aU, LinkedEditingRanges as aV, TestRunRequest as aW, TestMessage as aX, TestTag as aY, TestRunProfileKind as aZ, LanguageStatusSeverity as a_, SemanticTokensEdits as aa, SemanticTokensLegend as ab, ShellExecution as ac, ShellQuoting as ad, SignatureHelp$1 as ae, SignatureHelpTriggerKind as af, SignatureInformation$1 as ag, SnippetString as ah, SourceBreakpoint as ai, StatusBarAlignment as aj, SymbolInformation as ak, SymbolKind$1 as al, SymbolTag$1 as am, Task as an, TaskGroup as ao, TaskPanelKind as ap, TaskRevealKind as aq, TaskScope as ar, TerminalLink as as, TerminalLocation as at, TerminalProfile as au, TextDocumentSaveReason as av, TextEdit$1 as aw, TextEditorLineNumbersStyle$1 as ax, TextEditorRevealType$1 as ay, TextEditorSelectionChangeKind as az, CallHierarchyOutgoingCall as b, TextDiffTabInput as b0, CustomEditorTabInput as b1, NotebookEditorTabInput as b2, NotebookDiffEditorTabInput as b3, WebviewEditorTabInput as b4, TerminalEditorTabInput as b5, InputBoxValidationSeverity as b6, InlineSuggestionList as b7, InlineCompletionTriggerKind as b8, InlineSuggestion as b9, DocumentDropEdit as ba, NotebookEditorRevealType as bb, getExtHostServices as bc, DEFAULT_EXTENSION as bd, LanguageSelector as be, Position$2 as bf, configurationDefaultsSchemaId as bg, ConfigurationScope as bh, supportsTelemetry as bi, getTelemetryLevel as bj, Range$2 as bk, CodeAction as c, CodeActionKind as d, CodeActionTriggerKind$1 as e, CodeLens as f, Color$1 as g, ColorInformation as h, ColorPresentation$1 as i, CommentMode as j, CommentThreadCollapsibleState as k, CompletionItem as l, CompletionItemKind$1 as m, CompletionItemTag$1 as n, CompletionList as o, CompletionTriggerKind$1 as p, ConfigurationTarget as q, CustomExecution as r, DebugAdapterInlineImplementation as s, DebugAdapterNamedPipeServer as t, DebugAdapterServer as u, DebugConsoleMode as v, DecorationRangeBehavior$1 as w, Diagnostic$1 as x, DiagnosticRelatedInformation$1 as y, DiagnosticSeverity$1 as z };
14784
+ export { Position$1 as $, DiagnosticTag$1 as A, Breakpoint as B, CallHierarchyIncomingCall as C, DebugAdapterExecutable as D, Disposable as E, DocumentHighlight$1 as F, DocumentHighlightKind as G, DocumentLink$1 as H, DocumentSymbol$1 as I, EndOfLine$1 as J, EnvironmentVariableMutatorType as K, EvaluatableExpression$1 as L, InlineValueText as M, InlineValueVariableLookup as N, InlineValueEvaluatableExpression as O, ExtensionKind as P, ExtensionMode as Q, FileChangeType as R, FileDecoration as S, FileSystemError as T, FoldingRange$1 as U, FoldingRangeKind$1 as V, FunctionBreakpoint as W, Hover$1 as X, Location as Y, MarkdownString$1 as Z, ParameterInformation$1 as _, CallHierarchyItem$1 as a, QuickPickItemKind as a$, ProcessExecution as a0, ProgressLocation$1 as a1, QuickInputButtons as a2, Range$1 as a3, RelativePattern as a4, Selection$2 as a5, SelectionRange$1 as a6, SemanticTokens as a7, SemanticTokensBuilder as a8, SemanticTokensEdit as a9, TextDocumentChangeReason as aA, ThemeColor as aB, ThemeIcon as aC, TreeItem as aD, TreeItemCollapsibleState as aE, TypeHierarchyItem$1 as aF, UIKind as aG, ViewColumn$1 as aH, WorkspaceEdit$1 as aI, InlayHint as aJ, InlayHintLabelPart as aK, InlayHintKind$1 as aL, NotebookRange$1 as aM, NotebookCellKind$1 as aN, NotebookCellData$1 as aO, NotebookData as aP, NotebookCellStatusBarAlignment as aQ, NotebookCellOutput$1 as aR, NotebookCellOutputItem$1 as aS, NotebookCellStatusBarItem as aT, NotebookControllerAffinity as aU, LinkedEditingRanges as aV, TestRunRequest as aW, TestMessage as aX, TestTag as aY, TestRunProfileKind as aZ, LanguageStatusSeverity as a_, SemanticTokensEdits as aa, SemanticTokensLegend as ab, ShellExecution as ac, ShellQuoting as ad, SignatureHelp$1 as ae, SignatureHelpTriggerKind as af, SignatureInformation$1 as ag, SnippetString as ah, SourceBreakpoint as ai, StatusBarAlignment as aj, SymbolInformation as ak, SymbolKind$1 as al, SymbolTag$1 as am, Task as an, TaskGroup as ao, TaskPanelKind as ap, TaskRevealKind as aq, TaskScope as ar, TerminalLink as as, TerminalLocation as at, TerminalProfile as au, TextDocumentSaveReason as av, TextEdit$1 as aw, TextEditorLineNumbersStyle$1 as ax, TextEditorRevealType$1 as ay, TextEditorSelectionChangeKind as az, CallHierarchyOutgoingCall as b, TextDiffTabInput as b0, CustomEditorTabInput as b1, NotebookEditorTabInput as b2, NotebookDiffEditorTabInput as b3, WebviewEditorTabInput as b4, TerminalEditorTabInput as b5, InputBoxValidationSeverity as b6, InlineSuggestionList as b7, InlineCompletionTriggerKind as b8, InlineSuggestion as b9, DocumentDropEdit as ba, NotebookEditorRevealType as bb, getExtHostServices as bc, DEFAULT_EXTENSION as bd, LanguageSelector as be, Position$2 as bf, keyFromOverrideIdentifiers as bg, configurationDefaultsSchemaId as bh, ConfigurationScope as bi, supportsTelemetry as bj, getTelemetryLevel as bk, Range$2 as bl, CodeAction as c, CodeActionKind as d, CodeActionTriggerKind$1 as e, CodeLens as f, Color$1 as g, ColorInformation as h, ColorPresentation$1 as i, CommentMode as j, CommentThreadCollapsibleState as k, CompletionItem as l, CompletionItemKind$1 as m, CompletionItemTag$1 as n, CompletionList as o, CompletionTriggerKind$1 as p, ConfigurationTarget as q, CustomExecution as r, DebugAdapterInlineImplementation as s, DebugAdapterNamedPipeServer as t, DebugAdapterServer as u, DebugConsoleMode as v, DecorationRangeBehavior$1 as w, Diagnostic$1 as x, DiagnosticRelatedInformation$1 as y, DiagnosticSeverity$1 as z };
package/dist/files.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { _ as __decorate, a as __param, E as Emitter } from './workspace.js';
2
- import { i as isReadableStream, p as peekStream, a as peekReadable, b as bufferToReadable, s as streamToBuffer, c as consumeStream, t as transform, e as isReadableBufferedStream, l as listenStream, f as bufferedStreamToBuffer, g as readableToBuffer, n as newWriteableBufferStream, h as newWriteableStream } from './polyfill.js';
2
+ import { i as isReadableStream, a as peekStream, b as peekReadable, e as bufferToReadable, s as streamToBuffer, g as consumeStream, t as transform, h as isReadableBufferedStream, l as listenStream, j as bufferedStreamToBuffer, k as readableToBuffer, n as newWriteableBufferStream, m as newWriteableStream } from './polyfill.js';
3
3
  import { f as format2, g as getServiceMachineId, R as ResourceQueue, u as unsupported } from './missing-services.js';
4
4
  import { i as IFileService, c as IProductService, S as Services, w as FileSystemProviderError, d as FileSystemProviderErrorCode, x as FileChangesEvent, y as FileOperationError, z as hasOpenReadWriteCloseCapability, B as hasReadWriteCapability, D as hasFileReadStreamCapability, E as toFileSystemProviderErrorCode, G as ensureFileSystemProviderError, F as FileType, a as FilePermission, H as etag, J as FileOperationEvent, K as toFileOperationResult, L as ETAG_DISABLED, M as hasFileAtomicReadCapability, N as NotModifiedSinceFileOperationError, O as hasFileFolderCopyCapability, Q as hasFileCloneCapability, R as createFileSystemProviderError, C as CancellationTokenSource } from './services2.js';
5
5
  import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
@@ -16,7 +16,7 @@ import { CancellationToken } from 'monaco-editor/esm/vs/base/common/cancellation
16
16
  import { RemoteAuthorities, Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
17
17
  import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
18
18
  import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
19
- import { bi as supportsTelemetry, bj as getTelemetryLevel, bd as DEFAULT_EXTENSION, E as Disposable$1 } from './extHost.js';
19
+ import { bj as supportsTelemetry, bk as getTelemetryLevel, bd as DEFAULT_EXTENSION, E as Disposable$1 } from './extHost.js';
20
20
  import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
21
21
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
22
22
  import { isWeb } from 'monaco-editor/esm/vs/base/common/platform.js';