Socket
Socket
Sign inDemoInstall

@microsoft/vscode-azext-azureutils

Package Overview
Dependencies
10
Maintainers
10
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

16

out/src/tree/AzureAccountTreeItemBase.js

@@ -24,6 +24,8 @@ "use strict";

const signInLabel = (0, localize_1.localize)('signInLabel', 'Sign in to Azure...');
const createAccountLabel = (0, localize_1.localize)('createAccountLabel', 'Create a Free Azure Account...');
const createAccountLabel = (0, localize_1.localize)('createAccountLabel', 'Create an Azure Account...');
const createStudentAccountLabel = (0, localize_1.localize)('createStudentAccount', 'Create an Azure for Students Account...');
const selectSubscriptionsLabel = (0, localize_1.localize)('noSubscriptions', 'Select Subscriptions...');
const signInCommandId = 'azure-account.login';
const createAccountCommandId = 'azure-account.createAccount';
const createStudentAccountCommandId = 'azure-account.createStudentAccount';
const selectSubscriptionsCommandId = 'azure-account.selectSubscriptions';

@@ -87,5 +89,15 @@ const azureAccountExtensionId = 'ms-vscode.azure-account';

else if (azureAccount.status === 'LoggedOut') {
const studentAccountTreeItem = new vscode_azext_utils_1.GenericTreeItem(this, {
label: createStudentAccountLabel,
commandId: 'azureResourceGroups.openUrl',
contextValue,
id: createStudentAccountCommandId,
iconPath: new vscode_1.ThemeIcon('mortar-board'),
includeInTreeItemPicker: true
});
studentAccountTreeItem.commandArgs = ['https://aka.ms/student-account'];
return [
new vscode_azext_utils_1.GenericTreeItem(this, { label: signInLabel, commandId: signInCommandId, contextValue, id: signInCommandId, iconPath: new vscode_1.ThemeIcon('sign-in'), includeInTreeItemPicker: true }),
new vscode_azext_utils_1.GenericTreeItem(this, { label: createAccountLabel, commandId: createAccountCommandId, contextValue, id: createAccountCommandId, iconPath: new vscode_1.ThemeIcon('add'), includeInTreeItemPicker: true })
new vscode_azext_utils_1.GenericTreeItem(this, { label: createAccountLabel, commandId: createAccountCommandId, contextValue, id: createAccountCommandId, iconPath: new vscode_1.ThemeIcon('add'), includeInTreeItemPicker: true }),
studentAccountTreeItem
];

@@ -92,0 +104,0 @@ }

2

package.json
{
"name": "@microsoft/vscode-azext-azureutils",
"author": "Microsoft Corporation",
"version": "0.3.0",
"version": "0.3.1",
"description": "Common Azure utils for developing Azure extensions for VS Code",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc