@codingame/monaco-vscode-lifecycle-service-override 37.6.1 → 38.0.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": "
|
|
3
|
+
"version": "38.0.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": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "38.0.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
|
+
24755,
|
|
42
42
|
"Changes that you made may not be saved. Please check press 'Cancel' and try again."
|
|
43
43
|
));
|
|
44
44
|
}
|
|
@@ -106,7 +106,7 @@ export interface IStartupMetrics {
|
|
|
106
106
|
* The time it took to run the main bundle.
|
|
107
107
|
*
|
|
108
108
|
* * Happens in the main-process
|
|
109
|
-
* * Measured with the `
|
|
109
|
+
* * Measured with the `willRunMainBundle` and `didRunMainBundle` performance marks.
|
|
110
110
|
*/
|
|
111
111
|
readonly ellapsedRunMainBundle?: number;
|
|
112
112
|
/**
|
|
@@ -195,7 +195,7 @@ let AbstractTimerService = class AbstractTimerService {
|
|
|
195
195
|
ellapsedAppReady: initialStartup ? this._marks.getDuration("code/didStartMain", "code/mainAppReady") : undefined,
|
|
196
196
|
ellapsedNlsGeneration: initialStartup ? this._marks.getDuration("code/willGenerateNls", "code/didGenerateNls") : undefined,
|
|
197
197
|
ellapsedLoadMainBundle: initialStartup ? this._marks.getDuration("code/willLoadMainBundle", "code/didLoadMainBundle") : undefined,
|
|
198
|
-
ellapsedRunMainBundle: initialStartup ? this._marks.getDuration("code/
|
|
198
|
+
ellapsedRunMainBundle: initialStartup ? this._marks.getDuration("code/willRunMainBundle", "code/didRunMainBundle") : undefined,
|
|
199
199
|
ellapsedCrashReporter: initialStartup ? this._marks.getDuration("code/willStartCrashReporter", "code/didStartCrashReporter") : undefined,
|
|
200
200
|
ellapsedMainServer: initialStartup ? this._marks.getDuration("code/willStartMainServer", "code/didStartMainServer") : undefined,
|
|
201
201
|
ellapsedWindowCreate: initialStartup ? this._marks.getDuration("code/willCreateCodeWindow", "code/didCreateCodeWindow") : undefined,
|