@codingame/monaco-vscode-host-service-override
Advanced tools
Comparing version 8.0.4 to 9.0.0
{ | ||
"name": "@codingame/monaco-vscode-host-service-override", | ||
"version": "8.0.4", | ||
"version": "9.0.0", | ||
"keywords": [], | ||
@@ -29,4 +29,4 @@ "author": { | ||
"dependencies": { | ||
"vscode": "npm:@codingame/monaco-vscode-api@8.0.4" | ||
"vscode": "npm:@codingame/monaco-vscode-api@9.0.0" | ||
} | ||
} |
@@ -161,3 +161,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
async doOpenWindow(toOpen, options) { | ||
const payload = this.preservePayload(false ); | ||
const payload = this.preservePayload(false , options); | ||
const fileOpenables = []; | ||
@@ -274,3 +274,3 @@ const foldersToAdd = []; | ||
} | ||
preservePayload(isEmptyWindow) { | ||
preservePayload(isEmptyWindow, options) { | ||
const newPayload = ( (new Array())); | ||
@@ -286,8 +286,7 @@ if (!isEmptyWindow && this.environmentService.extensionDevelopmentLocationURI) { | ||
} | ||
const windowConfig = this.configurationService.getValue('window'); | ||
const newWindowProfile = (windowConfig?.newWindowProfile | ||
? this.userDataProfilesService.profiles.find(profile => profile.name === windowConfig.newWindowProfile) | ||
const newWindowProfile = (options?.forceProfile | ||
? this.userDataProfilesService.profiles.find(profile => profile.name === options?.forceProfile) | ||
: undefined) ?? this.userDataProfileService.currentProfile; | ||
if (!newWindowProfile.isDefault) { | ||
newPayload.push(['lastActiveProfile', newWindowProfile.id]); | ||
newPayload.push(['profile', newWindowProfile.name]); | ||
} | ||
@@ -320,3 +319,3 @@ return newPayload.length ? newPayload : undefined; | ||
reuse: options?.forceReuseWindow, | ||
payload: this.preservePayload(true ) | ||
payload: this.preservePayload(true , options) | ||
}); | ||
@@ -340,6 +339,6 @@ } | ||
message: ( localize( | ||
790, | ||
959, | ||
"The browser interrupted the opening of a new tab or window. Press 'Open' to open it anyway." | ||
)), | ||
primaryButton: ( localize(791, "&&Open")) | ||
primaryButton: ( localize(960, "&&Open")) | ||
}); | ||
@@ -346,0 +345,0 @@ if (confirmed) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26005
490
+ Added@codingame/monaco-vscode-api@9.0.0(transitive)
+ Added@codingame/monaco-vscode-base-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-environment-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-extensions-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-files-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-layout-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-quickaccess-service-override@9.0.0(transitive)
+ Addedmarked@14.0.0(transitive)
- Removed@codingame/monaco-vscode-api@8.0.4(transitive)
- Removed@codingame/monaco-vscode-base-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-environment-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-extensions-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-files-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-layout-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-quickaccess-service-override@8.0.4(transitive)