@codingame/monaco-vscode-working-copy-service-override 7.1.0 → 7.1.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": "7.1.0",
3
+ "version": "7.1.1",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,7 +26,7 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@7.1.0",
30
- "@codingame/monaco-vscode-files-service-override": "7.1.0"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@7.1.1",
30
+ "@codingame/monaco-vscode-files-service-override": "7.1.1"
31
31
  }
32
32
  }
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
2
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
2
+ import { localize } from 'vscode/vscode/vs/nls';
3
3
  import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
4
4
  import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
5
5
  import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
@@ -30,10 +30,9 @@ import { lastOrDefault, distinct } from 'vscode/vscode/vs/base/common/arrays';
30
30
  import { escapeRegExpCharacters } from 'vscode/vscode/vs/base/common/strings';
31
31
 
32
32
  var WorkingCopyHistoryService_1, NativeWorkingCopyHistoryService_1;
33
- const _moduleId = "vs/workbench/services/workingCopy/common/workingCopyHistoryService";
34
33
  class WorkingCopyHistoryModel {
35
34
  static { this.ENTRIES_FILE = 'entries.json'; }
36
- static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('default.source', ( localizeWithPath(_moduleId, 0, "File Saved"))); }
35
+ static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('default.source', ( localize(8524, "File Saved"))); }
37
36
  static { this.SETTINGS = {
38
37
  MAX_ENTRIES: 'workbench.localHistory.maxFileEntries',
39
38
  MERGE_PERIOD: 'workbench.localHistory.mergeWindow'
@@ -379,8 +378,8 @@ class WorkingCopyHistoryModel {
379
378
  }
380
379
  let WorkingCopyHistoryService = class WorkingCopyHistoryService extends Disposable {
381
380
  static { WorkingCopyHistoryService_1 = this; }
382
- static { this.FILE_MOVED_SOURCE = SaveSourceRegistry.registerSource('moved.source', ( localizeWithPath(_moduleId, 1, "File Moved"))); }
383
- static { this.FILE_RENAMED_SOURCE = SaveSourceRegistry.registerSource('renamed.source', ( localizeWithPath(_moduleId, 2, "File Renamed"))); }
381
+ static { this.FILE_MOVED_SOURCE = SaveSourceRegistry.registerSource('moved.source', ( localize(8525, "File Moved"))); }
382
+ static { this.FILE_RENAMED_SOURCE = SaveSourceRegistry.registerSource('renamed.source', ( localize(8526, "File Renamed"))); }
384
383
  constructor(fileService, remoteAgentService, environmentService, uriIdentityService, labelService, logService, configurationService) {
385
384
  super();
386
385
  this.fileService = fileService;
@@ -597,7 +596,7 @@ let NativeWorkingCopyHistoryService = class NativeWorkingCopyHistoryService exte
597
596
  onWillShutdown(e) {
598
597
  this.storeAllScheduler.dispose();
599
598
  this.storeAllCts.dispose(true);
600
- e.join(this.storeAll(e.token), { id: 'join.workingCopyHistory', label: ( localizeWithPath(_moduleId, 3, "Saving local history")) });
599
+ e.join(this.storeAll(e.token), { id: 'join.workingCopyHistory', label: ( localize(8527, "Saving local history")) });
601
600
  }
602
601
  onDidChangeModels() {
603
602
  if (!this.storeAllScheduler.isScheduled()) {
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
2
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
2
+ import { localize } from 'vscode/vscode/vs/nls';
3
3
  import { Limiter, GlobalIdleValue } from 'vscode/vscode/vs/base/common/async';
4
4
  import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
5
5
  import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
@@ -20,7 +20,6 @@ import { FileOperation } from 'vscode/vscode/vs/platform/files/common/files';
20
20
  import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
21
21
 
22
22
  var WorkingCopyHistoryTracker_1;
23
- const _moduleId = "vs/workbench/services/workingCopy/common/workingCopyHistoryTracker";
24
23
  let WorkingCopyHistoryTracker = class WorkingCopyHistoryTracker extends Disposable {
25
24
  static { WorkingCopyHistoryTracker_1 = this; }
26
25
  static { this.SETTINGS = {
@@ -28,7 +27,7 @@ let WorkingCopyHistoryTracker = class WorkingCopyHistoryTracker extends Disposab
28
27
  SIZE_LIMIT: 'workbench.localHistory.maxFileSize',
29
28
  EXCLUDES: 'workbench.localHistory.exclude'
30
29
  }; }
31
- static { this.UNDO_REDO_SAVE_SOURCE = SaveSourceRegistry.registerSource('undoRedo.source', ( localizeWithPath(_moduleId, 0, "Undo / Redo"))); }
30
+ static { this.UNDO_REDO_SAVE_SOURCE = SaveSourceRegistry.registerSource('undoRedo.source', ( localize(10832, "Undo / Redo"))); }
32
31
  constructor(workingCopyService, workingCopyHistoryService, uriIdentityService, pathService, configurationService, undoRedoService, contextService, fileService) {
33
32
  super();
34
33
  this.workingCopyService = workingCopyService;