@codingame/monaco-vscode-working-copy-service-override 22.1.9 → 23.0.1

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": "@codingame/monaco-vscode-working-copy-service-override",
3
- "version": "22.1.9",
3
+ "version": "23.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - working-copy service-override",
6
6
  "keywords": [],
@@ -15,10 +15,10 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "22.1.9",
19
- "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common": "22.1.9",
20
- "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common": "22.1.9",
21
- "@codingame/monaco-vscode-files-service-override": "22.1.9"
18
+ "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common": "23.0.1",
19
+ "@codingame/monaco-vscode-api": "23.0.1",
20
+ "@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common": "23.0.1",
21
+ "@codingame/monaco-vscode-files-service-override": "23.0.1"
22
22
  },
23
23
  "main": "index.js",
24
24
  "module": "index.js",
@@ -6,7 +6,7 @@ import { VSBufferReadable, VSBufferReadableStream } from "@codingame/monaco-vsco
6
6
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
7
7
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
8
8
  import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
9
- import { IWorkingCopyBackupMeta, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
9
+ import { IWorkingCopyBackupMeta, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
10
10
  export declare class WorkingCopyBackupsModel {
11
11
  private backupRoot;
12
12
  private fileService;
@@ -44,7 +44,6 @@ export declare abstract class WorkingCopyBackupService extends Disposable implem
44
44
  export declare class InMemoryWorkingCopyBackupService extends Disposable implements IWorkingCopyBackupService {
45
45
  readonly _serviceBrand: undefined;
46
46
  private backups;
47
- constructor();
48
47
  hasBackupSync(identifier: IWorkingCopyIdentifier, versionId?: number): boolean;
49
48
  backup(identifier: IWorkingCopyIdentifier, content?: VSBufferReadable | VSBufferReadableStream, versionId?: number, meta?: IWorkingCopyBackupMeta, token?: CancellationToken): Promise<void>;
50
49
  resolve<T extends IWorkingCopyBackupMeta>(identifier: IWorkingCopyIdentifier): Promise<IResolvedWorkingCopyBackup<T> | undefined>;
@@ -15,7 +15,7 @@ import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log
15
15
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
16
16
  import { hash } from '@codingame/monaco-vscode-api/vscode/vs/base/common/hash';
17
17
  import { isEmptyObject } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
18
- import { NO_TYPE_ID } from '@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/services/workingCopy/common/workingCopy';
18
+ import { NO_TYPE_ID } from '@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common/vscode/vs/workbench/services/workingCopy/common/workingCopy';
19
19
 
20
20
  var WorkingCopyBackupServiceImpl_1;
21
21
  class WorkingCopyBackupsModel {
@@ -365,7 +365,7 @@ WorkingCopyBackupServiceImpl = WorkingCopyBackupServiceImpl_1 = ( __decorate([
365
365
  ], WorkingCopyBackupServiceImpl));
366
366
  class InMemoryWorkingCopyBackupService extends Disposable {
367
367
  constructor() {
368
- super();
368
+ super(...arguments);
369
369
  this.backups = ( new ResourceMap());
370
370
  }
371
371
  hasBackupSync(identifier, versionId) {
@@ -1,7 +1,7 @@
1
1
  import { IWorkingCopyBackupService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service";
2
2
  import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
3
3
  import { IWorkingCopyService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
4
- import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
4
+ import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
5
5
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
6
6
  import { ShutdownReason } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle";
7
7
  import { ILifecycleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
3
- import { WorkingCopyCapabilities } from '@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/services/workingCopy/common/workingCopy';
3
+ import { WorkingCopyCapabilities } from '@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common/vscode/vs/workbench/services/workingCopy/common/workingCopy';
4
4
  import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
5
5
  import { CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
6
6
  import { Promises } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
@@ -1,6 +1,6 @@
1
1
  import { IEditorIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
2
2
  import { EditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput";
3
- import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
3
+ import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
4
4
  import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
5
5
  import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
6
6
  import { IWorkingCopyEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service";
@@ -33,7 +33,7 @@ import { escapeRegExpCharacters } from '@codingame/monaco-vscode-api/vscode/vs/b
33
33
  var WorkingCopyHistoryService_1, NativeWorkingCopyHistoryService_1;
34
34
  class WorkingCopyHistoryModel {
35
35
  static { this.ENTRIES_FILE = 'entries.json'; }
36
- static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('default.source', ( localize(14135, "File Saved"))); }
36
+ static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('default.source', ( localize(14433, "File Saved"))); }
37
37
  static { this.SETTINGS = {
38
38
  MAX_ENTRIES: 'workbench.localHistory.maxFileEntries',
39
39
  MERGE_PERIOD: 'workbench.localHistory.mergeWindow'
@@ -379,8 +379,8 @@ class WorkingCopyHistoryModel {
379
379
  }
380
380
  let WorkingCopyHistoryService = class WorkingCopyHistoryService extends Disposable {
381
381
  static { WorkingCopyHistoryService_1 = this; }
382
- static { this.FILE_MOVED_SOURCE = SaveSourceRegistry.registerSource('moved.source', ( localize(14136, "File Moved"))); }
383
- static { this.FILE_RENAMED_SOURCE = SaveSourceRegistry.registerSource('renamed.source', ( localize(14137, "File Renamed"))); }
382
+ static { this.FILE_MOVED_SOURCE = SaveSourceRegistry.registerSource('moved.source', ( localize(14434, "File Moved"))); }
383
+ static { this.FILE_RENAMED_SOURCE = SaveSourceRegistry.registerSource('renamed.source', ( localize(14435, "File Renamed"))); }
384
384
  constructor(fileService, remoteAgentService, environmentService, uriIdentityService, labelService, logService, configurationService) {
385
385
  super();
386
386
  this.fileService = fileService;
@@ -597,7 +597,7 @@ let NativeWorkingCopyHistoryService = class NativeWorkingCopyHistoryService exte
597
597
  onWillShutdown(e) {
598
598
  this.storeAllScheduler.dispose();
599
599
  this.storeAllCts.dispose(true);
600
- e.join(this.storeAll(e.token), { id: 'join.workingCopyHistory', label: ( localize(14138, "Saving local history")) });
600
+ e.join(this.storeAll(e.token), { id: 'join.workingCopyHistory', label: ( localize(14436, "Saving local history")) });
601
601
  }
602
602
  onDidChangeModels() {
603
603
  if (!this.storeAllScheduler.isScheduled()) {
@@ -10,12 +10,12 @@ import { IUndoRedoService } from '@codingame/monaco-vscode-api/vscode/vs/platfor
10
10
  import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
11
11
  import { SaveSourceRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
12
12
  import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
13
- import { isStoredFileWorkingCopySaveEvent } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
13
+ import { isStoredFileWorkingCopySaveEvent } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
14
14
  import { MAX_PARALLEL_HISTORY_IO_OPS } from './workingCopyHistory.js';
15
15
  import { IWorkingCopyHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service';
16
16
  import { IWorkingCopyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
17
17
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
18
- import { ResourceGlobMatcher } from '@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/common/resources';
18
+ import { ResourceGlobMatcher } from '@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common/vscode/vs/workbench/common/resources';
19
19
  import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
20
20
  import { FileOperation } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
21
21
  import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
@@ -28,7 +28,7 @@ let WorkingCopyHistoryTracker = class WorkingCopyHistoryTracker extends Disposab
28
28
  SIZE_LIMIT: 'workbench.localHistory.maxFileSize',
29
29
  EXCLUDES: 'workbench.localHistory.exclude'
30
30
  }; }
31
- static { this.UNDO_REDO_SAVE_SOURCE = SaveSourceRegistry.registerSource('undoRedo.source', ( localize(14139, "Undo / Redo"))); }
31
+ static { this.UNDO_REDO_SAVE_SOURCE = SaveSourceRegistry.registerSource('undoRedo.source', ( localize(14437, "Undo / Redo"))); }
32
32
  constructor(workingCopyService, workingCopyHistoryService, uriIdentityService, pathService, configurationService, undoRedoService, contextService, fileService) {
33
33
  super();
34
34
  this.workingCopyService = workingCopyService;
@@ -1,6 +1,6 @@
1
1
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
2
  import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
3
- import { IWorkingCopy, IWorkingCopyIdentifier, IWorkingCopySaveEvent as IBaseWorkingCopySaveEvent } from "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
3
+ import { IWorkingCopy, IWorkingCopyIdentifier, IWorkingCopySaveEvent as IBaseWorkingCopySaveEvent } from "@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
4
4
  import { IWorkingCopyService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
5
5
  export interface IWorkingCopySaveEvent extends IBaseWorkingCopySaveEvent {
6
6
  /**