@codingame/monaco-vscode-host-service-override 7.1.0 → 8.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-host-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@8.0.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -21,7 +21,7 @@ import { ShutdownReason } from 'vscode/vscode/vs/workbench/services/lifecycle/co
|
|
|
21
21
|
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
22
22
|
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
23
23
|
import { getWorkspaceIdentifier } from 'vscode/vscode/vs/workbench/services/workspaces/browser/workspaces';
|
|
24
|
-
import {
|
|
24
|
+
import { localize } from 'vscode/vscode/vs/nls';
|
|
25
25
|
import Severity$1 from 'vscode/vscode/vs/base/common/severity';
|
|
26
26
|
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
27
27
|
import { DomEmitter } from 'vscode/vscode/vs/base/browser/event';
|
|
@@ -35,7 +35,6 @@ import { mainWindow, isAuxiliaryWindow } from 'vscode/vscode/vs/base/browser/win
|
|
|
35
35
|
import { isIOS, isMacintosh } from 'vscode/vscode/vs/base/common/platform';
|
|
36
36
|
import { IUserDataProfilesService } from 'vscode/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
|
|
37
37
|
|
|
38
|
-
const _moduleId = "vs/workbench/services/host/browser/browserHostService";
|
|
39
38
|
var HostShutdownReason;
|
|
40
39
|
( ((function(HostShutdownReason) {
|
|
41
40
|
HostShutdownReason[HostShutdownReason["Unknown"] = 1] = "Unknown";
|
|
@@ -333,12 +332,11 @@ let BrowserHostService = class BrowserHostService extends Disposable {
|
|
|
333
332
|
if (!opened) {
|
|
334
333
|
const { confirmed } = await this.dialogService.confirm({
|
|
335
334
|
type: Severity$1.Warning,
|
|
336
|
-
message: (
|
|
337
|
-
|
|
338
|
-
0,
|
|
335
|
+
message: ( localize(
|
|
336
|
+
781,
|
|
339
337
|
"The browser interrupted the opening of a new tab or window. Press 'Open' to open it anyway."
|
|
340
338
|
)),
|
|
341
|
-
primaryButton: (
|
|
339
|
+
primaryButton: ( localize(782, "&&Open"))
|
|
342
340
|
});
|
|
343
341
|
if (confirmed) {
|
|
344
342
|
await this.workspaceProvider.open(workspace, options);
|