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

@azure/api-management-custom-widgets-tools

Package Overview
Dependencies
Maintainers
1
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/api-management-custom-widgets-tools - npm Package Compare versions

Comparing version 1.0.0-alpha.20230320.1 to 1.0.0-alpha.20230428.1

17

dist-esm/src/node/CustomWidgetBlobService.js

@@ -41,7 +41,14 @@ // Copyright (c) Microsoft Corporation.

async dirDelete(absolutePath) {
var e_1, _a;
var _a, e_1, _b, _c;
try {
for (var _b = __asyncValues(await this.containerClient.listBlobsFlat({ prefix: absolutePath })), _c; _c = await _b.next(), !_c.done;) {
const blob = _c.value;
await this.containerClient.deleteBlob(blob.name);
for (var _d = true, _e = __asyncValues(await this.containerClient.listBlobsFlat({ prefix: absolutePath })), _f; _f = await _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const blob = _c;
await this.containerClient.deleteBlob(blob.name);
}
finally {
_d = true;
}
}

@@ -52,3 +59,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) await _a.call(_b);
if (!_d && !_a && (_b = _e.return)) await _b.call(_e);
}

@@ -55,0 +62,0 @@ finally { if (e_1) throw e_1.error; }

@@ -204,7 +204,14 @@ 'use strict';

async dirDelete(absolutePath) {
var e_1, _a;
var _a, e_1, _b, _c;
try {
for (var _b = tslib.__asyncValues(await this.containerClient.listBlobsFlat({ prefix: absolutePath })), _c; _c = await _b.next(), !_c.done;) {
const blob = _c.value;
await this.containerClient.deleteBlob(blob.name);
for (var _d = true, _e = tslib.__asyncValues(await this.containerClient.listBlobsFlat({ prefix: absolutePath })), _f; _f = await _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const blob = _c;
await this.containerClient.deleteBlob(blob.name);
}
finally {
_d = true;
}
}

@@ -215,3 +222,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) await _a.call(_b);
if (!_d && !_a && (_b = _e.return)) await _b.call(_e);
}

@@ -218,0 +225,0 @@ finally { if (e_1) throw e_1.error; }

{
"name": "@azure/api-management-custom-widgets-tools",
"version": "1.0.0-alpha.20230320.1",
"version": "1.0.0-alpha.20230428.1",
"author": "Microsoft Corporation",

@@ -78,3 +78,3 @@ "license": "MIT",

"rimraf": "^3.0.0",
"typescript": "~4.8.0",
"typescript": "~5.0.0",
"util": "^0.12.1",

@@ -81,0 +81,0 @@ "dotenv": "^16.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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