Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codingame/monaco-vscode-host-service-override

Package Overview
Dependencies
Maintainers
6
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codingame/monaco-vscode-host-service-override - npm Package Compare versions

Comparing version 8.0.4 to 9.0.0

4

package.json
{
"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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc