@azure/storage-file-share 12.20.0-alpha.20230929.2 → 12.20.0-alpha.20231023.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 CHANGED
@@ -13197,20 +13197,15 @@ class ShareDirectoryClient extends StorageClient {
13197
13197
  }
13198
13198
  let marker;
13199
13199
  try {
13200
- for (var _d = true, _e = tslib.__asyncValues(this.iterateFilesAndDirectoriesSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
13200
+ for (var _d = true, _e = tslib.__asyncValues(this.iterateFilesAndDirectoriesSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
13201
13201
  _c = _f.value;
13202
13202
  _d = false;
13203
- try {
13204
- const listFilesAndDirectoriesResponse = _c;
13205
- for (const file of listFilesAndDirectoriesResponse.segment.fileItems) {
13206
- yield yield tslib.__await(Object.assign({ kind: "file" }, file));
13207
- }
13208
- for (const directory of listFilesAndDirectoriesResponse.segment.directoryItems) {
13209
- yield yield tslib.__await(Object.assign({ kind: "directory" }, directory));
13210
- }
13203
+ const listFilesAndDirectoriesResponse = _c;
13204
+ for (const file of listFilesAndDirectoriesResponse.segment.fileItems) {
13205
+ yield yield tslib.__await(Object.assign({ kind: "file" }, file));
13211
13206
  }
13212
- finally {
13213
- _d = true;
13207
+ for (const directory of listFilesAndDirectoriesResponse.segment.directoryItems) {
13208
+ yield yield tslib.__await(Object.assign({ kind: "directory" }, directory));
13214
13209
  }
13215
13210
  }
13216
13211
  }
@@ -13405,20 +13400,15 @@ class ShareDirectoryClient extends StorageClient {
13405
13400
  var _a, e_2, _b, _c;
13406
13401
  let marker;
13407
13402
  try {
13408
- for (var _d = true, _e = tslib.__asyncValues(this.iterateHandleSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
13403
+ for (var _d = true, _e = tslib.__asyncValues(this.iterateHandleSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
13409
13404
  _c = _f.value;
13410
13405
  _d = false;
13411
- try {
13412
- const listHandlesResponse = _c;
13413
- if (listHandlesResponse.handleList) {
13414
- for (const handle of listHandlesResponse.handleList) {
13415
- yield yield tslib.__await(handle);
13416
- }
13406
+ const listHandlesResponse = _c;
13407
+ if (listHandlesResponse.handleList) {
13408
+ for (const handle of listHandlesResponse.handleList) {
13409
+ yield yield tslib.__await(handle);
13417
13410
  }
13418
13411
  }
13419
- finally {
13420
- _d = true;
13421
- }
13422
13412
  }
13423
13413
  }
13424
13414
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -14556,20 +14546,15 @@ class ShareFileClient extends StorageClient {
14556
14546
  var _a, e_3, _b, _c;
14557
14547
  let marker;
14558
14548
  try {
14559
- for (var _d = true, _e = tslib.__asyncValues(this.iterateHandleSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
14549
+ for (var _d = true, _e = tslib.__asyncValues(this.iterateHandleSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
14560
14550
  _c = _f.value;
14561
14551
  _d = false;
14562
- try {
14563
- const listHandlesResponse = _c;
14564
- if (listHandlesResponse.handleList) {
14565
- for (const handle of listHandlesResponse.handleList) {
14566
- yield yield tslib.__await(handle);
14567
- }
14552
+ const listHandlesResponse = _c;
14553
+ if (listHandlesResponse.handleList) {
14554
+ for (const handle of listHandlesResponse.handleList) {
14555
+ yield yield tslib.__await(handle);
14568
14556
  }
14569
14557
  }
14570
- finally {
14571
- _d = true;
14572
- }
14573
14558
  }
14574
14559
  }
14575
14560
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -15071,17 +15056,12 @@ class ShareServiceClient extends StorageClient {
15071
15056
  }
15072
15057
  let marker;
15073
15058
  try {
15074
- for (var _d = true, _e = tslib.__asyncValues(this.listSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
15059
+ for (var _d = true, _e = tslib.__asyncValues(this.listSegments(marker, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
15075
15060
  _c = _f.value;
15076
15061
  _d = false;
15077
- try {
15078
- const segment = _c;
15079
- if (segment.shareItems) {
15080
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(segment.shareItems)));
15081
- }
15082
- }
15083
- finally {
15084
- _d = true;
15062
+ const segment = _c;
15063
+ if (segment.shareItems) {
15064
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(segment.shareItems)));
15085
15065
  }
15086
15066
  }
15087
15067
  }