@codingame/monaco-vscode-working-copy-service-override 1.85.6 → 2.0.0-v2.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 +4 -5
- package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyBackupService.js +5 -5
- package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyBackupTracker.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyHistoryService.js +5 -5
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +14 -14
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupTracker.js +3 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryService.js +20 -20
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryTracker.js +11 -11
- package/workingCopy.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-working-copy-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-v2.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git
|
|
12
|
+
"url": "git@github.com:CodinGame/monaco-vscode-api.git"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
22
|
-
"monaco-
|
|
23
|
-
"@codingame/monaco-vscode-files-service-override": "1.85.6"
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@2.0.0-v2.1",
|
|
22
|
+
"@codingame/monaco-vscode-files-service-override": "2.0.0-v2.1"
|
|
24
23
|
}
|
|
25
24
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { IFileService } from '
|
|
2
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
3
3
|
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
|
|
4
|
-
import { ILogService } from '
|
|
4
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
5
5
|
import { WorkingCopyBackupService } from '../common/workingCopyBackupService.js';
|
|
6
|
-
import { joinPath } from '
|
|
7
|
-
import { IWorkspaceContextService } from '
|
|
8
|
-
import { Registry } from '
|
|
6
|
+
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
7
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
8
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
9
9
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
10
10
|
import { BrowserWorkingCopyBackupTracker } from './workingCopyBackupTracker.js';
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/w
|
|
|
3
3
|
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService';
|
|
4
4
|
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
|
|
5
5
|
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
6
|
-
import { ILogService } from '
|
|
6
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
7
7
|
import { WorkingCopyBackupTracker } from '../common/workingCopyBackupTracker.js';
|
|
8
8
|
import { IWorkingCopyEditorService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService';
|
|
9
9
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { IFileService } from '
|
|
2
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
3
3
|
import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService';
|
|
4
4
|
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
|
|
5
|
-
import { IUriIdentityService } from '
|
|
6
|
-
import { ILabelService } from '
|
|
7
|
-
import { ILogService } from '
|
|
8
|
-
import { IConfigurationService } from '
|
|
5
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
6
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
7
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
8
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
9
9
|
import { WorkingCopyHistoryService } from '../common/workingCopyHistoryService.js';
|
|
10
10
|
|
|
11
11
|
let BrowserWorkingCopyHistoryService = class BrowserWorkingCopyHistoryService extends WorkingCopyHistoryService {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { joinPath } from '
|
|
3
|
-
import { URI } from '
|
|
4
|
-
import { coalesce } from '
|
|
5
|
-
import { deepClone, equals } from '
|
|
6
|
-
import { ResourceQueue, Promises } from '
|
|
7
|
-
import { IFileService } from '
|
|
8
|
-
import { ResourceMap } from '
|
|
9
|
-
import { isReadableStream, peekStream } from '
|
|
10
|
-
import { VSBuffer, prefixedBufferStream, prefixedBufferReadable, bufferToStream, streamToBuffer, readableToBuffer } from '
|
|
11
|
-
import { Disposable } from '
|
|
12
|
-
import { ILogService } from '
|
|
13
|
-
import { Schemas } from '
|
|
14
|
-
import { hash } from '
|
|
15
|
-
import { isEmptyObject } from '
|
|
2
|
+
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
3
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
4
|
+
import { coalesce } from 'vscode/vscode/vs/base/common/arrays';
|
|
5
|
+
import { deepClone, equals } from 'vscode/vscode/vs/base/common/objects';
|
|
6
|
+
import { ResourceQueue, Promises } from 'vscode/vscode/vs/base/common/async';
|
|
7
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
8
|
+
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
9
|
+
import { isReadableStream, peekStream } from 'vscode/vscode/vs/base/common/stream';
|
|
10
|
+
import { VSBuffer, prefixedBufferStream, prefixedBufferReadable, bufferToStream, streamToBuffer, readableToBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
11
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
12
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
13
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
14
|
+
import { hash } from 'vscode/vscode/vs/base/common/hash';
|
|
15
|
+
import { isEmptyObject } from 'vscode/vscode/vs/base/common/types';
|
|
16
16
|
import { NO_TYPE_ID } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopy';
|
|
17
17
|
|
|
18
18
|
var WorkingCopyBackupServiceImpl_1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Disposable, toDisposable } from '
|
|
2
|
-
import { CancellationTokenSource } from '
|
|
3
|
-
import { Promises } from '
|
|
1
|
+
import { Disposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
2
|
+
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
3
|
+
import { Promises } from 'vscode/vscode/vs/base/common/async';
|
|
4
4
|
|
|
5
5
|
class WorkingCopyBackupTracker extends Disposable {
|
|
6
6
|
constructor(workingCopyBackupService, workingCopyService, logService, lifecycleService, filesConfigurationService, workingCopyEditorService, editorService, editorGroupService) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { Emitter, Event } from '
|
|
4
|
-
import { assertIsDefined } from '
|
|
5
|
-
import { Registry } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
+
import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
|
|
5
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
6
6
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
7
7
|
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
8
8
|
import { WorkingCopyHistoryTracker } from './workingCopyHistoryTracker.js';
|
|
9
|
-
import { Disposable } from '
|
|
9
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
10
10
|
import { MAX_PARALLEL_HISTORY_IO_OPS } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory';
|
|
11
|
-
import { FileOperationError, IFileService } from '
|
|
11
|
+
import { FileOperationError, IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
12
12
|
import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService';
|
|
13
|
-
import { URI } from '
|
|
14
|
-
import { Limiter, DeferredPromise, RunOnceScheduler } from '
|
|
15
|
-
import { extname, joinPath, isEqual, dirname } from '
|
|
13
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
14
|
+
import { Limiter, DeferredPromise, RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
15
|
+
import { extname, joinPath, isEqual, dirname } from 'vscode/vscode/vs/base/common/resources';
|
|
16
16
|
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
|
|
17
|
-
import { hash } from '
|
|
18
|
-
import { randomPath, indexOfPath } from '
|
|
19
|
-
import { CancellationToken, CancellationTokenSource } from '
|
|
20
|
-
import { ResourceMap } from '
|
|
21
|
-
import { IUriIdentityService } from '
|
|
22
|
-
import { ILabelService } from '
|
|
23
|
-
import { VSBuffer } from '
|
|
24
|
-
import { ILogService } from '
|
|
17
|
+
import { hash } from 'vscode/vscode/vs/base/common/hash';
|
|
18
|
+
import { randomPath, indexOfPath } from 'vscode/vscode/vs/base/common/extpath';
|
|
19
|
+
import { CancellationToken, CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
20
|
+
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
21
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
22
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
23
|
+
import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
24
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
25
25
|
import { SaveSourceRegistry } from 'vscode/vscode/vs/workbench/common/editor';
|
|
26
|
-
import { IConfigurationService } from '
|
|
27
|
-
import { lastOrDefault } from '
|
|
28
|
-
import { escapeRegExpCharacters } from '
|
|
26
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
27
|
+
import { lastOrDefault } from 'vscode/vscode/vs/base/common/arrays';
|
|
28
|
+
import { escapeRegExpCharacters } from 'vscode/vscode/vs/base/common/strings';
|
|
29
29
|
|
|
30
30
|
var WorkingCopyHistoryService_1, NativeWorkingCopyHistoryService_1;
|
|
31
31
|
class WorkingCopyHistoryModel {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { Limiter, GlobalIdleValue } from '
|
|
4
|
-
import { CancellationTokenSource } from '
|
|
5
|
-
import { Disposable } from '
|
|
6
|
-
import { ResourceMap } from '
|
|
7
|
-
import { IConfigurationService } from '
|
|
8
|
-
import { IUndoRedoService } from '
|
|
9
|
-
import { IUriIdentityService } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { Limiter, GlobalIdleValue } from 'vscode/vscode/vs/base/common/async';
|
|
4
|
+
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
5
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
6
|
+
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
7
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
8
|
+
import { IUndoRedoService } from 'vscode/vscode/vs/platform/undoRedo/common/undoRedo';
|
|
9
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
10
10
|
import { SaveSourceRegistry } from 'vscode/vscode/vs/workbench/common/editor';
|
|
11
11
|
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService';
|
|
12
12
|
import { isStoredFileWorkingCopySaveEvent } from 'vscode/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
|
|
13
13
|
import { MAX_PARALLEL_HISTORY_IO_OPS, IWorkingCopyHistoryService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory';
|
|
14
14
|
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
|
|
15
|
-
import { Schemas } from '
|
|
15
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
16
16
|
import { ResourceGlobMatcher } from 'vscode/vscode/vs/workbench/common/resources';
|
|
17
|
-
import { IWorkspaceContextService } from '
|
|
18
|
-
import { IFileService } from '
|
|
17
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
18
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
19
19
|
|
|
20
20
|
var WorkingCopyHistoryTracker_1;
|
|
21
21
|
let WorkingCopyHistoryTracker = class WorkingCopyHistoryTracker extends Disposable {
|
package/workingCopy.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SyncDescriptor } from '
|
|
1
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
2
|
import { BrowserWorkingCopyBackupService } from './vscode/src/vs/workbench/services/workingCopy/browser/workingCopyBackupService.js';
|
|
3
3
|
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup';
|
|
4
4
|
import { IWorkingCopyService, WorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
|