Socket
Socket
Sign inDemoInstall

@microsoft/vscode-azext-utils

Package Overview
Dependencies
Maintainers
10
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/vscode-azext-utils - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

6

out/src/pickTreeItem/contextValue/compatibility/CompatibilityContextValueQuickPickStep.js

@@ -21,3 +21,2 @@ "use strict";

const vscode_azureresources_api_1 = require("@microsoft/vscode-azureresources-api");
const GenericTreeItem_1 = require("../../../tree/GenericTreeItem");
const localize_1 = require("../../../localize");

@@ -65,6 +64,3 @@ /**

if (children && children.length) {
if (this.pickOptions.skipIfOne) {
// don't skip if one if a command pick is present
this.pickOptions.skipIfOne = !children.some(child => (0, GenericTreeItem_1.isGenericTreeItem)(child) || child instanceof GenericTreeItem_1.GenericTreeItem);
}
this.pickOptions.skipIfOne = lastPickedItemUnwrapped.autoSelectInTreeItemPicker;
const customChild = yield this.getCustomChildren(wizardContext, lastPickedItemUnwrapped);

@@ -71,0 +67,0 @@ const customPick = children.find((child) => {

2

out/src/pickTreeItem/contextValue/compatibility/CompatibilityRecursiveQuickPickStep.js

@@ -31,3 +31,3 @@ "use strict";

const picks = yield this.getPicks(wizardContext);
if (picks.length === 1 && this.pickOptions.skipIfOne) {
if (picks.length === 1 && this.pickOptions.skipIfOne && typeof picks[0].data !== 'function') {
return picks[0].data;

@@ -34,0 +34,0 @@ }

@@ -46,3 +46,3 @@ "use strict";

contextValueFilter: childItemFilter,
skipIfOne: false,
skipIfOne: true,
}) :

@@ -49,0 +49,0 @@ new RecursiveQuickPickStep_1.RecursiveQuickPickStep(tdp, {

{
"name": "@microsoft/vscode-azext-utils",
"author": "Microsoft Corporation",
"version": "0.4.2",
"version": "0.4.3",
"description": "Common UI tools for developing Azure extensions for VS Code",

@@ -6,0 +6,0 @@ "tags": [

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