Socket
Socket
Sign inDemoInstall

@microsoft/vscode-azext-utils

Package Overview
Dependencies
Maintainers
10
Versions
88
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.3.26 to 0.4.0

12

out/src/userInput/showInputBox.js

@@ -44,9 +44,13 @@ "use strict";

inputBox.busy = true;
const message = yield latestValidation;
if (!message) {
const validateInputResult = yield latestValidation;
const asyncValidationResult = options.asyncValidationTask ? yield options.asyncValidationTask(inputBox.value) : undefined;
if (!validateInputResult && !asyncValidationResult) {
resolve(inputBox.value);
}
else {
inputBox.validationMessage = message;
else if (validateInputResult) {
inputBox.validationMessage = validateInputResult;
}
else if (asyncValidationResult) {
inputBox.validationMessage = asyncValidationResult;
}
inputBox.enabled = true;

@@ -53,0 +57,0 @@ inputBox.busy = false;

@@ -73,4 +73,7 @@ "use strict";

this._stepHideStepCount = step.hideStepCount;
step.propertiesBeforePrompt = Object.keys(this._context).filter(k => !(0, util_1.isNullOrUndefined)(this._context[k]));
if (step.configureBeforePrompt) {
yield step.configureBeforePrompt(this._context);
}
if (step.shouldPrompt(this._context)) {
step.propertiesBeforePrompt = Object.keys(this._context).filter(k => !(0, util_1.isNullOrUndefined)(this._context[k]));
const loadingQuickPick = this._showLoadingPrompt ? (0, showQuickPick_1.createQuickPick)(this._context, {

@@ -77,0 +80,0 @@ loadingPlaceHolder: (0, localize_1.localize)('loading', 'Loading...')

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

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

Sorry, the diff of this file is too big to display

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