@azure/api-management-custom-widgets-tools
Advanced tools
Comparing version 1.0.0-alpha.20230320.1 to 1.0.0-alpha.20230428.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95689
814