@azure/storage-blob 12.20.0-alpha.20231009.1 → 12.20.0-alpha.20231030.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +26 -61
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobServiceClient.js +6 -16
- package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -1
- package/dist-esm/storage-blob/src/Clients.js +6 -16
- package/dist-esm/storage-blob/src/Clients.js.map +1 -1
- package/dist-esm/storage-blob/src/ContainerClient.js +14 -29
- package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/Mutex.js +1 -2
- package/dist-esm/storage-blob/src/utils/Mutex.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
@@ -21281,16 +21281,11 @@ class PageBlobClient extends BlobClient {
|
|
21281
21281
|
var _a, e_1, _b, _c;
|
21282
21282
|
let marker;
|
21283
21283
|
try {
|
21284
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPageRangeItemSegments(offset, count, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
21284
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPageRangeItemSegments(offset, count, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
21285
21285
|
_c = _f.value;
|
21286
21286
|
_d = false;
|
21287
|
-
|
21288
|
-
|
21289
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(ExtractPageRangeInfoItems(getPageRangesSegment))));
|
21290
|
-
}
|
21291
|
-
finally {
|
21292
|
-
_d = true;
|
21293
|
-
}
|
21287
|
+
const getPageRangesSegment = _c;
|
21288
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(ExtractPageRangeInfoItems(getPageRangesSegment))));
|
21294
21289
|
}
|
21295
21290
|
}
|
21296
21291
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
@@ -21496,16 +21491,11 @@ class PageBlobClient extends BlobClient {
|
|
21496
21491
|
var _a, e_2, _b, _c;
|
21497
21492
|
let marker;
|
21498
21493
|
try {
|
21499
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPageRangeDiffItemSegments(offset, count, prevSnapshotOrUrl, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
21494
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPageRangeDiffItemSegments(offset, count, prevSnapshotOrUrl, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
21500
21495
|
_c = _f.value;
|
21501
21496
|
_d = false;
|
21502
|
-
|
21503
|
-
|
21504
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(ExtractPageRangeInfoItems(getPageRangesSegment))));
|
21505
|
-
}
|
21506
|
-
finally {
|
21507
|
-
_d = true;
|
21508
|
-
}
|
21497
|
+
const getPageRangesSegment = _c;
|
21498
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(ExtractPageRangeInfoItems(getPageRangesSegment))));
|
21509
21499
|
}
|
21510
21500
|
}
|
21511
21501
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
@@ -22819,16 +22809,11 @@ class ContainerClient extends StorageClient {
|
|
22819
22809
|
var _a, e_1, _b, _c;
|
22820
22810
|
let marker;
|
22821
22811
|
try {
|
22822
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
22812
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
22823
22813
|
_c = _f.value;
|
22824
22814
|
_d = false;
|
22825
|
-
|
22826
|
-
|
22827
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(listBlobsFlatSegmentResponse.segment.blobItems)));
|
22828
|
-
}
|
22829
|
-
finally {
|
22830
|
-
_d = true;
|
22831
|
-
}
|
22815
|
+
const listBlobsFlatSegmentResponse = _c;
|
22816
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(listBlobsFlatSegmentResponse.segment.blobItems)));
|
22832
22817
|
}
|
22833
22818
|
}
|
22834
22819
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
@@ -23005,23 +22990,18 @@ class ContainerClient extends StorageClient {
|
|
23005
22990
|
var _a, e_2, _b, _c;
|
23006
22991
|
let marker;
|
23007
22992
|
try {
|
23008
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listHierarchySegments(delimiter, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
22993
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listHierarchySegments(delimiter, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
23009
22994
|
_c = _f.value;
|
23010
22995
|
_d = false;
|
23011
|
-
|
23012
|
-
|
23013
|
-
|
23014
|
-
|
23015
|
-
|
23016
|
-
yield yield tslib.__await(Object.assign({ kind: "prefix" }, prefix));
|
23017
|
-
}
|
23018
|
-
}
|
23019
|
-
for (const blob of segment.blobItems) {
|
23020
|
-
yield yield tslib.__await(Object.assign({ kind: "blob" }, blob));
|
22996
|
+
const listBlobsHierarchySegmentResponse = _c;
|
22997
|
+
const segment = listBlobsHierarchySegmentResponse.segment;
|
22998
|
+
if (segment.blobPrefixes) {
|
22999
|
+
for (const prefix of segment.blobPrefixes) {
|
23000
|
+
yield yield tslib.__await(Object.assign({ kind: "prefix" }, prefix));
|
23021
23001
|
}
|
23022
23002
|
}
|
23023
|
-
|
23024
|
-
|
23003
|
+
for (const blob of segment.blobItems) {
|
23004
|
+
yield yield tslib.__await(Object.assign({ kind: "blob" }, blob));
|
23025
23005
|
}
|
23026
23006
|
}
|
23027
23007
|
}
|
@@ -23254,16 +23234,11 @@ class ContainerClient extends StorageClient {
|
|
23254
23234
|
var _a, e_3, _b, _c;
|
23255
23235
|
let marker;
|
23256
23236
|
try {
|
23257
|
-
for (var _d = true, _e = tslib.__asyncValues(this.findBlobsByTagsSegments(tagFilterSqlExpression, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
23237
|
+
for (var _d = true, _e = tslib.__asyncValues(this.findBlobsByTagsSegments(tagFilterSqlExpression, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
23258
23238
|
_c = _f.value;
|
23259
23239
|
_d = false;
|
23260
|
-
|
23261
|
-
|
23262
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(segment.blobs)));
|
23263
|
-
}
|
23264
|
-
finally {
|
23265
|
-
_d = true;
|
23266
|
-
}
|
23240
|
+
const segment = _c;
|
23241
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(segment.blobs)));
|
23267
23242
|
}
|
23268
23243
|
}
|
23269
23244
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
@@ -24229,16 +24204,11 @@ class BlobServiceClient extends StorageClient {
|
|
24229
24204
|
var _a, e_1, _b, _c;
|
24230
24205
|
let marker;
|
24231
24206
|
try {
|
24232
|
-
for (var _d = true, _e = tslib.__asyncValues(this.findBlobsByTagsSegments(tagFilterSqlExpression, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
24207
|
+
for (var _d = true, _e = tslib.__asyncValues(this.findBlobsByTagsSegments(tagFilterSqlExpression, marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
24233
24208
|
_c = _f.value;
|
24234
24209
|
_d = false;
|
24235
|
-
|
24236
|
-
|
24237
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(segment.blobs)));
|
24238
|
-
}
|
24239
|
-
finally {
|
24240
|
-
_d = true;
|
24241
|
-
}
|
24210
|
+
const segment = _c;
|
24211
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(segment.blobs)));
|
24242
24212
|
}
|
24243
24213
|
}
|
24244
24214
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
@@ -24390,16 +24360,11 @@ class BlobServiceClient extends StorageClient {
|
|
24390
24360
|
var _a, e_2, _b, _c;
|
24391
24361
|
let marker;
|
24392
24362
|
try {
|
24393
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
24363
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
24394
24364
|
_c = _f.value;
|
24395
24365
|
_d = false;
|
24396
|
-
|
24397
|
-
|
24398
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(segment.containerItems)));
|
24399
|
-
}
|
24400
|
-
finally {
|
24401
|
-
_d = true;
|
24402
|
-
}
|
24366
|
+
const segment = _c;
|
24367
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(segment.containerItems)));
|
24403
24368
|
}
|
24404
24369
|
}
|
24405
24370
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|