@codingame/monaco-vscode-lifecycle-service-override 37.2.0 → 37.3.0
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-lifecycle-service-override",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - lifecycle service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "37.
|
|
18
|
+
"@codingame/monaco-vscode-api": "37.3.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -38,7 +38,7 @@ let BrowserLifecycleService = class BrowserLifecycleService extends AbstractLife
|
|
|
38
38
|
vetoBeforeUnload(event) {
|
|
39
39
|
event.preventDefault();
|
|
40
40
|
event.returnValue = ( localize(
|
|
41
|
-
|
|
41
|
+
22053,
|
|
42
42
|
"Changes that you made may not be saved. Please check press 'Cancel' and try again."
|
|
43
43
|
));
|
|
44
44
|
}
|
|
@@ -82,7 +82,7 @@ let AbstractTimerService = class AbstractTimerService {
|
|
|
82
82
|
Promise.all([
|
|
83
83
|
this._extensionService.whenInstalledExtensionsRegistered(),
|
|
84
84
|
_lifecycleService.when(LifecyclePhase.Restored),
|
|
85
|
-
layoutService.whenRestored, Promise.all(
|
|
85
|
+
layoutService.whenRestored, Promise.all(Array.from(( ( Registry.as(TerminalExtensions.Backend)).backends.values())).map(e => e.whenReady))]).then(() => {
|
|
86
86
|
this.setPerformanceMarks("renderer", getMarks());
|
|
87
87
|
return this._computeStartupMetrics();
|
|
88
88
|
}).then(metrics => {
|
|
@@ -189,7 +189,7 @@ let AbstractTimerService = class AbstractTimerService {
|
|
|
189
189
|
windowCount: await this._getWindowCount(),
|
|
190
190
|
viewletId: activeViewlet?.getId(),
|
|
191
191
|
auxiliaryViewletId: activeAuxiliaryViewlet?.getId(),
|
|
192
|
-
editorIds:
|
|
192
|
+
editorIds: this._editorService.visibleEditors.map(input => input.typeId),
|
|
193
193
|
panelId: activePanel ? activePanel.getId() : undefined,
|
|
194
194
|
timers: {
|
|
195
195
|
ellapsedAppReady: initialStartup ? this._marks.getDuration("code/didStartMain", "code/mainAppReady") : undefined,
|