@codingame/monaco-vscode-lifecycle-service-override 14.0.5 → 15.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": "14.0.5",
3
+ "version": "15.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": "14.0.5"
18
+ "@codingame/monaco-vscode-api": "15.0.0"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -25,12 +25,12 @@
25
25
  "default": "./index.js"
26
26
  },
27
27
  "./vscode/*": {
28
- "default": "./vscode/src/*.js",
29
- "types": "./vscode/src/*.d.ts"
28
+ "types": "./vscode/src/*.d.ts",
29
+ "default": "./vscode/src/*.js"
30
30
  },
31
31
  "./*": {
32
- "default": "./*.js",
33
- "types": "./*.d.ts"
32
+ "types": "./*.d.ts",
33
+ "default": "./*.js"
34
34
  }
35
35
  },
36
36
  "typesVersions": {
@@ -38,7 +38,7 @@ let BrowserLifecycleService = class BrowserLifecycleService extends AbstractLife
38
38
  vetoBeforeUnload(event) {
39
39
  event.preventDefault();
40
40
  event.returnValue = ( localize(
41
- 11890,
41
+ 12001,
42
42
  "Changes that you made may not be saved. Please check press 'Cancel' and try again."
43
43
  ));
44
44
  }
@@ -15,7 +15,6 @@ export interface IMemoryInfo {
15
15
  readonly sharedBytes: number;
16
16
  }
17
17
  export interface IStartupMetrics {
18
- readonly version: 2;
19
18
  readonly initialStartup: boolean;
20
19
  readonly emptyWorkbench: boolean;
21
20
  readonly isLatestVersion: boolean;
@@ -170,7 +170,6 @@ let AbstractTimerService = class AbstractTimerService {
170
170
  const activeViewlet = this._paneCompositeService.getActivePaneComposite(ViewContainerLocation.Sidebar);
171
171
  const activePanel = this._paneCompositeService.getActivePaneComposite(ViewContainerLocation.Panel);
172
172
  const info = {
173
- version: 2,
174
173
  ellapsed: this._marks.getDuration(startMark, 'code/didStartWorkbench'),
175
174
  isLatestVersion: Boolean(await this._updateService.isLatestVersion()),
176
175
  didUseCachedData: this._didUseCachedData(),