@codingame/monaco-vscode-configuration-service-override 1.82.6 → 1.83.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-configuration-service-override",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.83.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
16
|
-
"description": "VSCode public API plugged on the monaco editor - configuration service-override
|
|
16
|
+
"description": "VSCode public API plugged on the monaco editor - configuration service-override",
|
|
17
17
|
"main": "index.js",
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@1.
|
|
22
|
-
"monaco-editor": "0.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@1.83.1",
|
|
22
|
+
"monaco-editor": "0.44.0"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -363,8 +363,8 @@ class FileServiceBasedRemoteUserConfiguration extends Disposable {
|
|
|
363
363
|
this.uriIdentityService = uriIdentityService;
|
|
364
364
|
this._onDidChangeConfiguration = this._register(( (new Emitter())));
|
|
365
365
|
this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
|
|
366
|
-
this.fileWatcherDisposable =
|
|
367
|
-
this.directoryWatcherDisposable =
|
|
366
|
+
this.fileWatcherDisposable = this._register(( (new MutableDisposable())));
|
|
367
|
+
this.directoryWatcherDisposable = this._register(( (new MutableDisposable())));
|
|
368
368
|
this.parser = ( (new ConfigurationModelParser( (this.configurationResource.toString()))));
|
|
369
369
|
this.parseOptions = configurationParseOptions;
|
|
370
370
|
this._register(fileService.onDidFilesChange(e => this.handleFileChangesEvent(e)));
|
|
@@ -379,19 +379,17 @@ class FileServiceBasedRemoteUserConfiguration extends Disposable {
|
|
|
379
379
|
}));
|
|
380
380
|
}
|
|
381
381
|
watchResource() {
|
|
382
|
-
this.fileWatcherDisposable = this.fileService.watch(this.configurationResource);
|
|
382
|
+
this.fileWatcherDisposable.value = this.fileService.watch(this.configurationResource);
|
|
383
383
|
}
|
|
384
384
|
stopWatchingResource() {
|
|
385
|
-
this.fileWatcherDisposable.
|
|
386
|
-
this.fileWatcherDisposable = Disposable.None;
|
|
385
|
+
this.fileWatcherDisposable.value = undefined;
|
|
387
386
|
}
|
|
388
387
|
watchDirectory() {
|
|
389
388
|
const directory = this.uriIdentityService.extUri.dirname(this.configurationResource);
|
|
390
|
-
this.directoryWatcherDisposable = this.fileService.watch(directory);
|
|
389
|
+
this.directoryWatcherDisposable.value = this.fileService.watch(directory);
|
|
391
390
|
}
|
|
392
391
|
stopWatchingDirectory() {
|
|
393
|
-
this.directoryWatcherDisposable.
|
|
394
|
-
this.directoryWatcherDisposable = Disposable.None;
|
|
392
|
+
this.directoryWatcherDisposable.value = undefined;
|
|
395
393
|
}
|
|
396
394
|
async initialize() {
|
|
397
395
|
const exists = await this.fileService.exists(this.configurationResource);
|