Socket
Socket
Sign inDemoInstall

@microsoft/vscode-azext-azureappservice

Package Overview
Dependencies
107
Maintainers
10
Versions
66
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

8

out/src/createAppService/CustomLocationListStep.js

@@ -55,6 +55,6 @@ "use strict";

});
let customLocations = response.data;
customLocations = customLocations.sort((a, b) => a.name.localeCompare(b.name));
context.telemetry.properties.hasCustomLoc = String(customLocations.length > 0);
picks.unshift(...customLocations.map(cl => {
const customLocations = response.data;
const customLocationFlattened = Object.values(customLocations).sort((a, b) => a.name.localeCompare(b.name));
context.telemetry.properties.hasCustomLoc = String(customLocationFlattened.length > 0);
picks.unshift(...customLocationFlattened.map(cl => {
return {

@@ -61,0 +61,0 @@ label: cl.name,

@@ -33,10 +33,10 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
let options = {};
const options = {};
options['api-version'] = '2020-09-01';
if (context.newSiteOS === AppKind_1.WebsiteOS.linux) {
if (context.newSiteKind === AppKind_1.AppKind.functionapp && context.useConsumptionPlan) {
options = { linuxDynamicWorkersEnabled: true };
options.linuxDynamicWorkersEnabled = true;
}
else {
options = { linuxWorkersEnabled: true };
options.linuxWorkersEnabled = true;
}

@@ -43,0 +43,0 @@ }

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

exports.deployToStorageAccount = void 0;
const ms_rest_azure_env_1 = require("@azure/ms-rest-azure-env");
const storage_blob_1 = require("@azure/storage-blob");

@@ -33,2 +32,4 @@ const vscode_azext_utils_1 = require("@microsoft/vscode-azext-utils");

dayjs.extend(utc);
// From https://github.com/Azure/ms-rest-azure-env/blob/6fa17ce7f36741af6ce64461735e6c7c0125f0ed/lib/azureEnvironment.ts#L280
const AzureCloudStorageEndpointSuffix = 'core.windows.net';
/**

@@ -78,3 +79,3 @@ * Method of deployment that is only intended to be used for Linux Consumption Function apps because it doesn't support kudu pushDeployment

}
connectionString += `${endpointSuffix}=${ms_rest_azure_env_1.Environment.AzureCloud.storageEndpointSuffix}${separator}`;
connectionString += `${endpointSuffix}=${AzureCloudStorageEndpointSuffix}${separator}`;
return storage_blob_1.BlobServiceClient.fromConnectionString(connectionString);

@@ -81,0 +82,0 @@ }

@@ -6,3 +6,2 @@ // /*---------------------------------------------------------------------------------------------

// import type { SiteSourceControl } from '@azure/arm-appservice';
// import { AccessToken, GetTokenOptions, TokenCredential } from '@azure/core-auth';
// import { ServiceClient } from '@azure/core-client';

@@ -9,0 +8,0 @@ // import { AzExtPipelineResponse, createGenericClient, openInPortal } from '@microsoft/vscode-azext-azureutils';

@@ -40,4 +40,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
const client = (yield Promise.resolve().then(() => require('@azure/arm-resourcegraph'))).ResourceGraphClient;
return (0, vscode_azext_azureutils_1.createAzureSubscriptionClient)(context, client);
return (0, vscode_azext_azureutils_1.createAzureSubscriptionClient)(context, (yield Promise.resolve().then(() => require('@azure/arm-resourcegraph'))).ResourceGraphClient);
});

@@ -44,0 +43,0 @@ }

{
"name": "@microsoft/vscode-azext-azureappservice",
"author": "Microsoft Corporation",
"version": "1.0.0",
"version": "1.0.1",
"description": "Common tools for developing Azure App Service extensions for VS Code",

@@ -39,3 +39,3 @@ "tags": [

"@azure/arm-operationalinsights": "^8.0.1",
"@azure/arm-resourcegraph": "^4.2.1",
"@azure/arm-resourcegraph": "^5.0.0-beta.3",
"@azure/arm-resources-subscriptions": "^2.0.1",

@@ -42,0 +42,0 @@ "@azure/core-client": "^1.7.2",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc