@azure/storage-blob 12.20.0-alpha.20230926.1 → 12.20.0-alpha.20230929.2

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
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var coreRestPipeline = require('@azure/core-rest-pipeline');
6
4
  var tslib = require('tslib');
7
5
  var coreAuth = require('@azure/core-auth');
@@ -21,8 +19,7 @@ var events = require('events');
21
19
  var fs = require('fs');
22
20
  var util = require('util');
23
21
 
24
- function _interopNamespace(e) {
25
- if (e && e.__esModule) return e;
22
+ function _interopNamespaceDefault(e) {
26
23
  var n = Object.create(null);
27
24
  if (e) {
28
25
  Object.keys(e).forEach(function (k) {
@@ -35,16 +32,17 @@ function _interopNamespace(e) {
35
32
  }
36
33
  });
37
34
  }
38
- n["default"] = e;
35
+ n.default = e;
39
36
  return Object.freeze(n);
40
37
  }
41
38
 
42
- var coreHttpCompat__namespace = /*#__PURE__*/_interopNamespace(coreHttpCompat);
43
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
44
- var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
45
- var util__namespace = /*#__PURE__*/_interopNamespace(util);
39
+ var coreHttpCompat__namespace = /*#__PURE__*/_interopNamespaceDefault(coreHttpCompat);
40
+ var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
41
+ var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
42
+ var util__namespace = /*#__PURE__*/_interopNamespaceDefault(util);
46
43
 
47
44
  // Copyright (c) Microsoft Corporation.
45
+ // Licensed under the MIT license.
48
46
  /**
49
47
  * The `@azure/logger` configuration for this package.
50
48
  */
@@ -314,6 +312,7 @@ const PathStylePorts = [
314
312
  ];
315
313
 
316
314
  // Copyright (c) Microsoft Corporation.
315
+ // Licensed under the MIT license.
317
316
  /**
318
317
  * Reserved URL characters must be properly escaped for Storage services like Blob or File.
319
318
  *
@@ -1026,6 +1025,7 @@ function assertResponse(response) {
1026
1025
  }
1027
1026
 
1028
1027
  // Copyright (c) Microsoft Corporation.
1028
+ // Licensed under the MIT license.
1029
1029
  /**
1030
1030
  * RetryPolicy types.
1031
1031
  */
@@ -1222,6 +1222,7 @@ class StorageRetryPolicy extends BaseRequestPolicy {
1222
1222
  }
1223
1223
 
1224
1224
  // Copyright (c) Microsoft Corporation.
1225
+ // Licensed under the MIT license.
1225
1226
  /**
1226
1227
  * StorageRetryPolicyFactory is a factory class helping generating {@link StorageRetryPolicy} objects.
1227
1228
  */
@@ -1245,6 +1246,7 @@ class StorageRetryPolicyFactory {
1245
1246
  }
1246
1247
 
1247
1248
  // Copyright (c) Microsoft Corporation.
1249
+ // Licensed under the MIT license.
1248
1250
  /**
1249
1251
  * Credential policy used to sign HTTP(S) requests before sending. This is an
1250
1252
  * abstract class.
@@ -1272,6 +1274,7 @@ class CredentialPolicy extends BaseRequestPolicy {
1272
1274
  }
1273
1275
 
1274
1276
  // Copyright (c) Microsoft Corporation.
1277
+ // Licensed under the MIT license.
1275
1278
  /**
1276
1279
  * StorageSharedKeyCredentialPolicy is a policy used to sign HTTP request with a shared key.
1277
1280
  */
@@ -1426,6 +1429,7 @@ class Credential {
1426
1429
  }
1427
1430
 
1428
1431
  // Copyright (c) Microsoft Corporation.
1432
+ // Licensed under the MIT license.
1429
1433
  /**
1430
1434
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
1431
1435
  *
@@ -1462,6 +1466,7 @@ class StorageSharedKeyCredential extends Credential {
1462
1466
  }
1463
1467
 
1464
1468
  // Copyright (c) Microsoft Corporation.
1469
+ // Licensed under the MIT license.
1465
1470
  /**
1466
1471
  * AnonymousCredentialPolicy is used with HTTP(S) requests that read public resources
1467
1472
  * or for use with Shared Access Signatures (SAS).
@@ -1480,6 +1485,7 @@ class AnonymousCredentialPolicy extends CredentialPolicy {
1480
1485
  }
1481
1486
 
1482
1487
  // Copyright (c) Microsoft Corporation.
1488
+ // Licensed under the MIT license.
1483
1489
  /**
1484
1490
  * AnonymousCredential provides a credentialPolicyCreator member used to create
1485
1491
  * AnonymousCredentialPolicy objects. AnonymousCredentialPolicy is used with
@@ -1499,6 +1505,7 @@ class AnonymousCredential extends Credential {
1499
1505
  }
1500
1506
 
1501
1507
  // Copyright (c) Microsoft Corporation.
1508
+ // Licensed under the MIT license.
1502
1509
  let _defaultHttpClient;
1503
1510
  function getCachedDefaultHttpClient() {
1504
1511
  if (!_defaultHttpClient) {
@@ -1508,6 +1515,7 @@ function getCachedDefaultHttpClient() {
1508
1515
  }
1509
1516
 
1510
1517
  // Copyright (c) Microsoft Corporation.
1518
+ // Licensed under the MIT license.
1511
1519
  /**
1512
1520
  * The programmatic identifier of the StorageBrowserPolicy.
1513
1521
  */
@@ -1535,6 +1543,7 @@ function storageBrowserPolicy() {
1535
1543
  }
1536
1544
 
1537
1545
  // Copyright (c) Microsoft Corporation.
1546
+ // Licensed under the MIT license.
1538
1547
  /**
1539
1548
  * Name of the {@link storageRetryPolicy}
1540
1549
  */
@@ -1693,6 +1702,7 @@ function storageRetryPolicy(options = {}) {
1693
1702
  }
1694
1703
 
1695
1704
  // Copyright (c) Microsoft Corporation.
1705
+ // Licensed under the MIT license.
1696
1706
  /**
1697
1707
  * The programmatic identifier of the storageSharedKeyCredentialPolicy.
1698
1708
  */
@@ -1820,6 +1830,7 @@ function storageSharedKeyCredentialPolicy(options) {
1820
1830
  }
1821
1831
 
1822
1832
  // Copyright (c) Microsoft Corporation.
1833
+ // Licensed under the MIT license.
1823
1834
  /**
1824
1835
  * StorageBrowserPolicy will handle differences between Node.js and browser runtime, including:
1825
1836
  *
@@ -1862,6 +1873,7 @@ class StorageBrowserPolicy extends BaseRequestPolicy {
1862
1873
  }
1863
1874
 
1864
1875
  // Copyright (c) Microsoft Corporation.
1876
+ // Licensed under the MIT license.
1865
1877
  /**
1866
1878
  * StorageBrowserPolicyFactory is a factory class helping generating StorageBrowserPolicy objects.
1867
1879
  */
@@ -1878,6 +1890,7 @@ class StorageBrowserPolicyFactory {
1878
1890
  }
1879
1891
 
1880
1892
  // Copyright (c) Microsoft Corporation.
1893
+ // Licensed under the MIT license.
1881
1894
  /**
1882
1895
  * A helper to decide if a given argument satisfies the Pipeline contract
1883
1896
  * @param pipeline - An argument that may be a Pipeline
@@ -10322,185 +10335,185 @@ const BlockBlobGetBlockListExceptionHeaders = {
10322
10335
 
10323
10336
  var Mappers = /*#__PURE__*/Object.freeze({
10324
10337
  __proto__: null,
10325
- BlobServiceProperties: BlobServiceProperties,
10326
- Logging: Logging,
10327
- RetentionPolicy: RetentionPolicy,
10328
- Metrics: Metrics,
10329
- CorsRule: CorsRule,
10330
- StaticWebsite: StaticWebsite,
10331
- StorageError: StorageError,
10332
- BlobServiceStatistics: BlobServiceStatistics,
10333
- GeoReplication: GeoReplication,
10334
- ListContainersSegmentResponse: ListContainersSegmentResponse,
10335
- ContainerItem: ContainerItem,
10336
- ContainerProperties: ContainerProperties,
10337
- KeyInfo: KeyInfo,
10338
- UserDelegationKey: UserDelegationKey,
10339
- FilterBlobSegment: FilterBlobSegment,
10340
- FilterBlobItem: FilterBlobItem,
10341
- BlobTags: BlobTags,
10342
- BlobTag: BlobTag,
10343
- SignedIdentifier: SignedIdentifier,
10344
10338
  AccessPolicy: AccessPolicy,
10345
- ListBlobsFlatSegmentResponse: ListBlobsFlatSegmentResponse,
10339
+ AppendBlobAppendBlockExceptionHeaders: AppendBlobAppendBlockExceptionHeaders,
10340
+ AppendBlobAppendBlockFromUrlExceptionHeaders: AppendBlobAppendBlockFromUrlExceptionHeaders,
10341
+ AppendBlobAppendBlockFromUrlHeaders: AppendBlobAppendBlockFromUrlHeaders,
10342
+ AppendBlobAppendBlockHeaders: AppendBlobAppendBlockHeaders,
10343
+ AppendBlobCreateExceptionHeaders: AppendBlobCreateExceptionHeaders,
10344
+ AppendBlobCreateHeaders: AppendBlobCreateHeaders,
10345
+ AppendBlobSealExceptionHeaders: AppendBlobSealExceptionHeaders,
10346
+ AppendBlobSealHeaders: AppendBlobSealHeaders,
10347
+ ArrowConfiguration: ArrowConfiguration,
10348
+ ArrowField: ArrowField,
10349
+ BlobAbortCopyFromURLExceptionHeaders: BlobAbortCopyFromURLExceptionHeaders,
10350
+ BlobAbortCopyFromURLHeaders: BlobAbortCopyFromURLHeaders,
10351
+ BlobAcquireLeaseExceptionHeaders: BlobAcquireLeaseExceptionHeaders,
10352
+ BlobAcquireLeaseHeaders: BlobAcquireLeaseHeaders,
10353
+ BlobBreakLeaseExceptionHeaders: BlobBreakLeaseExceptionHeaders,
10354
+ BlobBreakLeaseHeaders: BlobBreakLeaseHeaders,
10355
+ BlobChangeLeaseExceptionHeaders: BlobChangeLeaseExceptionHeaders,
10356
+ BlobChangeLeaseHeaders: BlobChangeLeaseHeaders,
10357
+ BlobCopyFromURLExceptionHeaders: BlobCopyFromURLExceptionHeaders,
10358
+ BlobCopyFromURLHeaders: BlobCopyFromURLHeaders,
10359
+ BlobCreateSnapshotExceptionHeaders: BlobCreateSnapshotExceptionHeaders,
10360
+ BlobCreateSnapshotHeaders: BlobCreateSnapshotHeaders,
10361
+ BlobDeleteExceptionHeaders: BlobDeleteExceptionHeaders,
10362
+ BlobDeleteHeaders: BlobDeleteHeaders,
10363
+ BlobDeleteImmutabilityPolicyExceptionHeaders: BlobDeleteImmutabilityPolicyExceptionHeaders,
10364
+ BlobDeleteImmutabilityPolicyHeaders: BlobDeleteImmutabilityPolicyHeaders,
10365
+ BlobDownloadExceptionHeaders: BlobDownloadExceptionHeaders,
10366
+ BlobDownloadHeaders: BlobDownloadHeaders,
10346
10367
  BlobFlatListSegment: BlobFlatListSegment,
10368
+ BlobGetAccountInfoExceptionHeaders: BlobGetAccountInfoExceptionHeaders,
10369
+ BlobGetAccountInfoHeaders: BlobGetAccountInfoHeaders,
10370
+ BlobGetPropertiesExceptionHeaders: BlobGetPropertiesExceptionHeaders,
10371
+ BlobGetPropertiesHeaders: BlobGetPropertiesHeaders,
10372
+ BlobGetTagsExceptionHeaders: BlobGetTagsExceptionHeaders,
10373
+ BlobGetTagsHeaders: BlobGetTagsHeaders,
10374
+ BlobHierarchyListSegment: BlobHierarchyListSegment,
10347
10375
  BlobItemInternal: BlobItemInternal,
10348
10376
  BlobName: BlobName,
10349
- BlobPropertiesInternal: BlobPropertiesInternal,
10350
- ListBlobsHierarchySegmentResponse: ListBlobsHierarchySegmentResponse,
10351
- BlobHierarchyListSegment: BlobHierarchyListSegment,
10352
10377
  BlobPrefix: BlobPrefix,
10353
- BlockLookupList: BlockLookupList,
10354
- BlockList: BlockList,
10378
+ BlobPropertiesInternal: BlobPropertiesInternal,
10379
+ BlobQueryExceptionHeaders: BlobQueryExceptionHeaders,
10380
+ BlobQueryHeaders: BlobQueryHeaders,
10381
+ BlobReleaseLeaseExceptionHeaders: BlobReleaseLeaseExceptionHeaders,
10382
+ BlobReleaseLeaseHeaders: BlobReleaseLeaseHeaders,
10383
+ BlobRenewLeaseExceptionHeaders: BlobRenewLeaseExceptionHeaders,
10384
+ BlobRenewLeaseHeaders: BlobRenewLeaseHeaders,
10385
+ BlobServiceProperties: BlobServiceProperties,
10386
+ BlobServiceStatistics: BlobServiceStatistics,
10387
+ BlobSetExpiryExceptionHeaders: BlobSetExpiryExceptionHeaders,
10388
+ BlobSetExpiryHeaders: BlobSetExpiryHeaders,
10389
+ BlobSetHttpHeadersExceptionHeaders: BlobSetHttpHeadersExceptionHeaders,
10390
+ BlobSetHttpHeadersHeaders: BlobSetHttpHeadersHeaders,
10391
+ BlobSetImmutabilityPolicyExceptionHeaders: BlobSetImmutabilityPolicyExceptionHeaders,
10392
+ BlobSetImmutabilityPolicyHeaders: BlobSetImmutabilityPolicyHeaders,
10393
+ BlobSetLegalHoldExceptionHeaders: BlobSetLegalHoldExceptionHeaders,
10394
+ BlobSetLegalHoldHeaders: BlobSetLegalHoldHeaders,
10395
+ BlobSetMetadataExceptionHeaders: BlobSetMetadataExceptionHeaders,
10396
+ BlobSetMetadataHeaders: BlobSetMetadataHeaders,
10397
+ BlobSetTagsExceptionHeaders: BlobSetTagsExceptionHeaders,
10398
+ BlobSetTagsHeaders: BlobSetTagsHeaders,
10399
+ BlobSetTierExceptionHeaders: BlobSetTierExceptionHeaders,
10400
+ BlobSetTierHeaders: BlobSetTierHeaders,
10401
+ BlobStartCopyFromURLExceptionHeaders: BlobStartCopyFromURLExceptionHeaders,
10402
+ BlobStartCopyFromURLHeaders: BlobStartCopyFromURLHeaders,
10403
+ BlobTag: BlobTag,
10404
+ BlobTags: BlobTags,
10405
+ BlobUndeleteExceptionHeaders: BlobUndeleteExceptionHeaders,
10406
+ BlobUndeleteHeaders: BlobUndeleteHeaders,
10355
10407
  Block: Block,
10356
- PageList: PageList,
10357
- PageRange: PageRange,
10408
+ BlockBlobCommitBlockListExceptionHeaders: BlockBlobCommitBlockListExceptionHeaders,
10409
+ BlockBlobCommitBlockListHeaders: BlockBlobCommitBlockListHeaders,
10410
+ BlockBlobGetBlockListExceptionHeaders: BlockBlobGetBlockListExceptionHeaders,
10411
+ BlockBlobGetBlockListHeaders: BlockBlobGetBlockListHeaders,
10412
+ BlockBlobPutBlobFromUrlExceptionHeaders: BlockBlobPutBlobFromUrlExceptionHeaders,
10413
+ BlockBlobPutBlobFromUrlHeaders: BlockBlobPutBlobFromUrlHeaders,
10414
+ BlockBlobStageBlockExceptionHeaders: BlockBlobStageBlockExceptionHeaders,
10415
+ BlockBlobStageBlockFromURLExceptionHeaders: BlockBlobStageBlockFromURLExceptionHeaders,
10416
+ BlockBlobStageBlockFromURLHeaders: BlockBlobStageBlockFromURLHeaders,
10417
+ BlockBlobStageBlockHeaders: BlockBlobStageBlockHeaders,
10418
+ BlockBlobUploadExceptionHeaders: BlockBlobUploadExceptionHeaders,
10419
+ BlockBlobUploadHeaders: BlockBlobUploadHeaders,
10420
+ BlockList: BlockList,
10421
+ BlockLookupList: BlockLookupList,
10358
10422
  ClearRange: ClearRange,
10359
- QueryRequest: QueryRequest,
10360
- QuerySerialization: QuerySerialization,
10361
- QueryFormat: QueryFormat,
10362
- DelimitedTextConfiguration: DelimitedTextConfiguration,
10363
- JsonTextConfiguration: JsonTextConfiguration,
10364
- ArrowConfiguration: ArrowConfiguration,
10365
- ArrowField: ArrowField,
10366
- ServiceSetPropertiesHeaders: ServiceSetPropertiesHeaders,
10367
- ServiceSetPropertiesExceptionHeaders: ServiceSetPropertiesExceptionHeaders,
10368
- ServiceGetPropertiesHeaders: ServiceGetPropertiesHeaders,
10369
- ServiceGetPropertiesExceptionHeaders: ServiceGetPropertiesExceptionHeaders,
10370
- ServiceGetStatisticsHeaders: ServiceGetStatisticsHeaders,
10371
- ServiceGetStatisticsExceptionHeaders: ServiceGetStatisticsExceptionHeaders,
10372
- ServiceListContainersSegmentHeaders: ServiceListContainersSegmentHeaders,
10373
- ServiceListContainersSegmentExceptionHeaders: ServiceListContainersSegmentExceptionHeaders,
10374
- ServiceGetUserDelegationKeyHeaders: ServiceGetUserDelegationKeyHeaders,
10375
- ServiceGetUserDelegationKeyExceptionHeaders: ServiceGetUserDelegationKeyExceptionHeaders,
10376
- ServiceGetAccountInfoHeaders: ServiceGetAccountInfoHeaders,
10377
- ServiceGetAccountInfoExceptionHeaders: ServiceGetAccountInfoExceptionHeaders,
10378
- ServiceSubmitBatchHeaders: ServiceSubmitBatchHeaders,
10379
- ServiceSubmitBatchExceptionHeaders: ServiceSubmitBatchExceptionHeaders,
10380
- ServiceFilterBlobsHeaders: ServiceFilterBlobsHeaders,
10381
- ServiceFilterBlobsExceptionHeaders: ServiceFilterBlobsExceptionHeaders,
10382
- ContainerCreateHeaders: ContainerCreateHeaders,
10383
- ContainerCreateExceptionHeaders: ContainerCreateExceptionHeaders,
10384
- ContainerGetPropertiesHeaders: ContainerGetPropertiesHeaders,
10385
- ContainerGetPropertiesExceptionHeaders: ContainerGetPropertiesExceptionHeaders,
10386
- ContainerDeleteHeaders: ContainerDeleteHeaders,
10387
- ContainerDeleteExceptionHeaders: ContainerDeleteExceptionHeaders,
10388
- ContainerSetMetadataHeaders: ContainerSetMetadataHeaders,
10389
- ContainerSetMetadataExceptionHeaders: ContainerSetMetadataExceptionHeaders,
10390
- ContainerGetAccessPolicyHeaders: ContainerGetAccessPolicyHeaders,
10391
- ContainerGetAccessPolicyExceptionHeaders: ContainerGetAccessPolicyExceptionHeaders,
10392
- ContainerSetAccessPolicyHeaders: ContainerSetAccessPolicyHeaders,
10393
- ContainerSetAccessPolicyExceptionHeaders: ContainerSetAccessPolicyExceptionHeaders,
10394
- ContainerRestoreHeaders: ContainerRestoreHeaders,
10395
- ContainerRestoreExceptionHeaders: ContainerRestoreExceptionHeaders,
10396
- ContainerRenameHeaders: ContainerRenameHeaders,
10397
- ContainerRenameExceptionHeaders: ContainerRenameExceptionHeaders,
10398
- ContainerSubmitBatchHeaders: ContainerSubmitBatchHeaders,
10399
- ContainerSubmitBatchExceptionHeaders: ContainerSubmitBatchExceptionHeaders,
10400
- ContainerFilterBlobsHeaders: ContainerFilterBlobsHeaders,
10401
- ContainerFilterBlobsExceptionHeaders: ContainerFilterBlobsExceptionHeaders,
10402
- ContainerAcquireLeaseHeaders: ContainerAcquireLeaseHeaders,
10403
10423
  ContainerAcquireLeaseExceptionHeaders: ContainerAcquireLeaseExceptionHeaders,
10404
- ContainerReleaseLeaseHeaders: ContainerReleaseLeaseHeaders,
10405
- ContainerReleaseLeaseExceptionHeaders: ContainerReleaseLeaseExceptionHeaders,
10406
- ContainerRenewLeaseHeaders: ContainerRenewLeaseHeaders,
10407
- ContainerRenewLeaseExceptionHeaders: ContainerRenewLeaseExceptionHeaders,
10408
- ContainerBreakLeaseHeaders: ContainerBreakLeaseHeaders,
10424
+ ContainerAcquireLeaseHeaders: ContainerAcquireLeaseHeaders,
10409
10425
  ContainerBreakLeaseExceptionHeaders: ContainerBreakLeaseExceptionHeaders,
10410
- ContainerChangeLeaseHeaders: ContainerChangeLeaseHeaders,
10426
+ ContainerBreakLeaseHeaders: ContainerBreakLeaseHeaders,
10411
10427
  ContainerChangeLeaseExceptionHeaders: ContainerChangeLeaseExceptionHeaders,
10412
- ContainerListBlobFlatSegmentHeaders: ContainerListBlobFlatSegmentHeaders,
10428
+ ContainerChangeLeaseHeaders: ContainerChangeLeaseHeaders,
10429
+ ContainerCreateExceptionHeaders: ContainerCreateExceptionHeaders,
10430
+ ContainerCreateHeaders: ContainerCreateHeaders,
10431
+ ContainerDeleteExceptionHeaders: ContainerDeleteExceptionHeaders,
10432
+ ContainerDeleteHeaders: ContainerDeleteHeaders,
10433
+ ContainerFilterBlobsExceptionHeaders: ContainerFilterBlobsExceptionHeaders,
10434
+ ContainerFilterBlobsHeaders: ContainerFilterBlobsHeaders,
10435
+ ContainerGetAccessPolicyExceptionHeaders: ContainerGetAccessPolicyExceptionHeaders,
10436
+ ContainerGetAccessPolicyHeaders: ContainerGetAccessPolicyHeaders,
10437
+ ContainerGetAccountInfoExceptionHeaders: ContainerGetAccountInfoExceptionHeaders,
10438
+ ContainerGetAccountInfoHeaders: ContainerGetAccountInfoHeaders,
10439
+ ContainerGetPropertiesExceptionHeaders: ContainerGetPropertiesExceptionHeaders,
10440
+ ContainerGetPropertiesHeaders: ContainerGetPropertiesHeaders,
10441
+ ContainerItem: ContainerItem,
10413
10442
  ContainerListBlobFlatSegmentExceptionHeaders: ContainerListBlobFlatSegmentExceptionHeaders,
10414
- ContainerListBlobHierarchySegmentHeaders: ContainerListBlobHierarchySegmentHeaders,
10443
+ ContainerListBlobFlatSegmentHeaders: ContainerListBlobFlatSegmentHeaders,
10415
10444
  ContainerListBlobHierarchySegmentExceptionHeaders: ContainerListBlobHierarchySegmentExceptionHeaders,
10416
- ContainerGetAccountInfoHeaders: ContainerGetAccountInfoHeaders,
10417
- ContainerGetAccountInfoExceptionHeaders: ContainerGetAccountInfoExceptionHeaders,
10418
- BlobDownloadHeaders: BlobDownloadHeaders,
10419
- BlobDownloadExceptionHeaders: BlobDownloadExceptionHeaders,
10420
- BlobGetPropertiesHeaders: BlobGetPropertiesHeaders,
10421
- BlobGetPropertiesExceptionHeaders: BlobGetPropertiesExceptionHeaders,
10422
- BlobDeleteHeaders: BlobDeleteHeaders,
10423
- BlobDeleteExceptionHeaders: BlobDeleteExceptionHeaders,
10424
- BlobUndeleteHeaders: BlobUndeleteHeaders,
10425
- BlobUndeleteExceptionHeaders: BlobUndeleteExceptionHeaders,
10426
- BlobSetExpiryHeaders: BlobSetExpiryHeaders,
10427
- BlobSetExpiryExceptionHeaders: BlobSetExpiryExceptionHeaders,
10428
- BlobSetHttpHeadersHeaders: BlobSetHttpHeadersHeaders,
10429
- BlobSetHttpHeadersExceptionHeaders: BlobSetHttpHeadersExceptionHeaders,
10430
- BlobSetImmutabilityPolicyHeaders: BlobSetImmutabilityPolicyHeaders,
10431
- BlobSetImmutabilityPolicyExceptionHeaders: BlobSetImmutabilityPolicyExceptionHeaders,
10432
- BlobDeleteImmutabilityPolicyHeaders: BlobDeleteImmutabilityPolicyHeaders,
10433
- BlobDeleteImmutabilityPolicyExceptionHeaders: BlobDeleteImmutabilityPolicyExceptionHeaders,
10434
- BlobSetLegalHoldHeaders: BlobSetLegalHoldHeaders,
10435
- BlobSetLegalHoldExceptionHeaders: BlobSetLegalHoldExceptionHeaders,
10436
- BlobSetMetadataHeaders: BlobSetMetadataHeaders,
10437
- BlobSetMetadataExceptionHeaders: BlobSetMetadataExceptionHeaders,
10438
- BlobAcquireLeaseHeaders: BlobAcquireLeaseHeaders,
10439
- BlobAcquireLeaseExceptionHeaders: BlobAcquireLeaseExceptionHeaders,
10440
- BlobReleaseLeaseHeaders: BlobReleaseLeaseHeaders,
10441
- BlobReleaseLeaseExceptionHeaders: BlobReleaseLeaseExceptionHeaders,
10442
- BlobRenewLeaseHeaders: BlobRenewLeaseHeaders,
10443
- BlobRenewLeaseExceptionHeaders: BlobRenewLeaseExceptionHeaders,
10444
- BlobChangeLeaseHeaders: BlobChangeLeaseHeaders,
10445
- BlobChangeLeaseExceptionHeaders: BlobChangeLeaseExceptionHeaders,
10446
- BlobBreakLeaseHeaders: BlobBreakLeaseHeaders,
10447
- BlobBreakLeaseExceptionHeaders: BlobBreakLeaseExceptionHeaders,
10448
- BlobCreateSnapshotHeaders: BlobCreateSnapshotHeaders,
10449
- BlobCreateSnapshotExceptionHeaders: BlobCreateSnapshotExceptionHeaders,
10450
- BlobStartCopyFromURLHeaders: BlobStartCopyFromURLHeaders,
10451
- BlobStartCopyFromURLExceptionHeaders: BlobStartCopyFromURLExceptionHeaders,
10452
- BlobCopyFromURLHeaders: BlobCopyFromURLHeaders,
10453
- BlobCopyFromURLExceptionHeaders: BlobCopyFromURLExceptionHeaders,
10454
- BlobAbortCopyFromURLHeaders: BlobAbortCopyFromURLHeaders,
10455
- BlobAbortCopyFromURLExceptionHeaders: BlobAbortCopyFromURLExceptionHeaders,
10456
- BlobSetTierHeaders: BlobSetTierHeaders,
10457
- BlobSetTierExceptionHeaders: BlobSetTierExceptionHeaders,
10458
- BlobGetAccountInfoHeaders: BlobGetAccountInfoHeaders,
10459
- BlobGetAccountInfoExceptionHeaders: BlobGetAccountInfoExceptionHeaders,
10460
- BlobQueryHeaders: BlobQueryHeaders,
10461
- BlobQueryExceptionHeaders: BlobQueryExceptionHeaders,
10462
- BlobGetTagsHeaders: BlobGetTagsHeaders,
10463
- BlobGetTagsExceptionHeaders: BlobGetTagsExceptionHeaders,
10464
- BlobSetTagsHeaders: BlobSetTagsHeaders,
10465
- BlobSetTagsExceptionHeaders: BlobSetTagsExceptionHeaders,
10466
- PageBlobCreateHeaders: PageBlobCreateHeaders,
10467
- PageBlobCreateExceptionHeaders: PageBlobCreateExceptionHeaders,
10468
- PageBlobUploadPagesHeaders: PageBlobUploadPagesHeaders,
10469
- PageBlobUploadPagesExceptionHeaders: PageBlobUploadPagesExceptionHeaders,
10470
- PageBlobClearPagesHeaders: PageBlobClearPagesHeaders,
10445
+ ContainerListBlobHierarchySegmentHeaders: ContainerListBlobHierarchySegmentHeaders,
10446
+ ContainerProperties: ContainerProperties,
10447
+ ContainerReleaseLeaseExceptionHeaders: ContainerReleaseLeaseExceptionHeaders,
10448
+ ContainerReleaseLeaseHeaders: ContainerReleaseLeaseHeaders,
10449
+ ContainerRenameExceptionHeaders: ContainerRenameExceptionHeaders,
10450
+ ContainerRenameHeaders: ContainerRenameHeaders,
10451
+ ContainerRenewLeaseExceptionHeaders: ContainerRenewLeaseExceptionHeaders,
10452
+ ContainerRenewLeaseHeaders: ContainerRenewLeaseHeaders,
10453
+ ContainerRestoreExceptionHeaders: ContainerRestoreExceptionHeaders,
10454
+ ContainerRestoreHeaders: ContainerRestoreHeaders,
10455
+ ContainerSetAccessPolicyExceptionHeaders: ContainerSetAccessPolicyExceptionHeaders,
10456
+ ContainerSetAccessPolicyHeaders: ContainerSetAccessPolicyHeaders,
10457
+ ContainerSetMetadataExceptionHeaders: ContainerSetMetadataExceptionHeaders,
10458
+ ContainerSetMetadataHeaders: ContainerSetMetadataHeaders,
10459
+ ContainerSubmitBatchExceptionHeaders: ContainerSubmitBatchExceptionHeaders,
10460
+ ContainerSubmitBatchHeaders: ContainerSubmitBatchHeaders,
10461
+ CorsRule: CorsRule,
10462
+ DelimitedTextConfiguration: DelimitedTextConfiguration,
10463
+ FilterBlobItem: FilterBlobItem,
10464
+ FilterBlobSegment: FilterBlobSegment,
10465
+ GeoReplication: GeoReplication,
10466
+ JsonTextConfiguration: JsonTextConfiguration,
10467
+ KeyInfo: KeyInfo,
10468
+ ListBlobsFlatSegmentResponse: ListBlobsFlatSegmentResponse,
10469
+ ListBlobsHierarchySegmentResponse: ListBlobsHierarchySegmentResponse,
10470
+ ListContainersSegmentResponse: ListContainersSegmentResponse,
10471
+ Logging: Logging,
10472
+ Metrics: Metrics,
10471
10473
  PageBlobClearPagesExceptionHeaders: PageBlobClearPagesExceptionHeaders,
10472
- PageBlobUploadPagesFromURLHeaders: PageBlobUploadPagesFromURLHeaders,
10473
- PageBlobUploadPagesFromURLExceptionHeaders: PageBlobUploadPagesFromURLExceptionHeaders,
10474
- PageBlobGetPageRangesHeaders: PageBlobGetPageRangesHeaders,
10475
- PageBlobGetPageRangesExceptionHeaders: PageBlobGetPageRangesExceptionHeaders,
10476
- PageBlobGetPageRangesDiffHeaders: PageBlobGetPageRangesDiffHeaders,
10474
+ PageBlobClearPagesHeaders: PageBlobClearPagesHeaders,
10475
+ PageBlobCopyIncrementalExceptionHeaders: PageBlobCopyIncrementalExceptionHeaders,
10476
+ PageBlobCopyIncrementalHeaders: PageBlobCopyIncrementalHeaders,
10477
+ PageBlobCreateExceptionHeaders: PageBlobCreateExceptionHeaders,
10478
+ PageBlobCreateHeaders: PageBlobCreateHeaders,
10477
10479
  PageBlobGetPageRangesDiffExceptionHeaders: PageBlobGetPageRangesDiffExceptionHeaders,
10478
- PageBlobResizeHeaders: PageBlobResizeHeaders,
10480
+ PageBlobGetPageRangesDiffHeaders: PageBlobGetPageRangesDiffHeaders,
10481
+ PageBlobGetPageRangesExceptionHeaders: PageBlobGetPageRangesExceptionHeaders,
10482
+ PageBlobGetPageRangesHeaders: PageBlobGetPageRangesHeaders,
10479
10483
  PageBlobResizeExceptionHeaders: PageBlobResizeExceptionHeaders,
10480
- PageBlobUpdateSequenceNumberHeaders: PageBlobUpdateSequenceNumberHeaders,
10484
+ PageBlobResizeHeaders: PageBlobResizeHeaders,
10481
10485
  PageBlobUpdateSequenceNumberExceptionHeaders: PageBlobUpdateSequenceNumberExceptionHeaders,
10482
- PageBlobCopyIncrementalHeaders: PageBlobCopyIncrementalHeaders,
10483
- PageBlobCopyIncrementalExceptionHeaders: PageBlobCopyIncrementalExceptionHeaders,
10484
- AppendBlobCreateHeaders: AppendBlobCreateHeaders,
10485
- AppendBlobCreateExceptionHeaders: AppendBlobCreateExceptionHeaders,
10486
- AppendBlobAppendBlockHeaders: AppendBlobAppendBlockHeaders,
10487
- AppendBlobAppendBlockExceptionHeaders: AppendBlobAppendBlockExceptionHeaders,
10488
- AppendBlobAppendBlockFromUrlHeaders: AppendBlobAppendBlockFromUrlHeaders,
10489
- AppendBlobAppendBlockFromUrlExceptionHeaders: AppendBlobAppendBlockFromUrlExceptionHeaders,
10490
- AppendBlobSealHeaders: AppendBlobSealHeaders,
10491
- AppendBlobSealExceptionHeaders: AppendBlobSealExceptionHeaders,
10492
- BlockBlobUploadHeaders: BlockBlobUploadHeaders,
10493
- BlockBlobUploadExceptionHeaders: BlockBlobUploadExceptionHeaders,
10494
- BlockBlobPutBlobFromUrlHeaders: BlockBlobPutBlobFromUrlHeaders,
10495
- BlockBlobPutBlobFromUrlExceptionHeaders: BlockBlobPutBlobFromUrlExceptionHeaders,
10496
- BlockBlobStageBlockHeaders: BlockBlobStageBlockHeaders,
10497
- BlockBlobStageBlockExceptionHeaders: BlockBlobStageBlockExceptionHeaders,
10498
- BlockBlobStageBlockFromURLHeaders: BlockBlobStageBlockFromURLHeaders,
10499
- BlockBlobStageBlockFromURLExceptionHeaders: BlockBlobStageBlockFromURLExceptionHeaders,
10500
- BlockBlobCommitBlockListHeaders: BlockBlobCommitBlockListHeaders,
10501
- BlockBlobCommitBlockListExceptionHeaders: BlockBlobCommitBlockListExceptionHeaders,
10502
- BlockBlobGetBlockListHeaders: BlockBlobGetBlockListHeaders,
10503
- BlockBlobGetBlockListExceptionHeaders: BlockBlobGetBlockListExceptionHeaders
10486
+ PageBlobUpdateSequenceNumberHeaders: PageBlobUpdateSequenceNumberHeaders,
10487
+ PageBlobUploadPagesExceptionHeaders: PageBlobUploadPagesExceptionHeaders,
10488
+ PageBlobUploadPagesFromURLExceptionHeaders: PageBlobUploadPagesFromURLExceptionHeaders,
10489
+ PageBlobUploadPagesFromURLHeaders: PageBlobUploadPagesFromURLHeaders,
10490
+ PageBlobUploadPagesHeaders: PageBlobUploadPagesHeaders,
10491
+ PageList: PageList,
10492
+ PageRange: PageRange,
10493
+ QueryFormat: QueryFormat,
10494
+ QueryRequest: QueryRequest,
10495
+ QuerySerialization: QuerySerialization,
10496
+ RetentionPolicy: RetentionPolicy,
10497
+ ServiceFilterBlobsExceptionHeaders: ServiceFilterBlobsExceptionHeaders,
10498
+ ServiceFilterBlobsHeaders: ServiceFilterBlobsHeaders,
10499
+ ServiceGetAccountInfoExceptionHeaders: ServiceGetAccountInfoExceptionHeaders,
10500
+ ServiceGetAccountInfoHeaders: ServiceGetAccountInfoHeaders,
10501
+ ServiceGetPropertiesExceptionHeaders: ServiceGetPropertiesExceptionHeaders,
10502
+ ServiceGetPropertiesHeaders: ServiceGetPropertiesHeaders,
10503
+ ServiceGetStatisticsExceptionHeaders: ServiceGetStatisticsExceptionHeaders,
10504
+ ServiceGetStatisticsHeaders: ServiceGetStatisticsHeaders,
10505
+ ServiceGetUserDelegationKeyExceptionHeaders: ServiceGetUserDelegationKeyExceptionHeaders,
10506
+ ServiceGetUserDelegationKeyHeaders: ServiceGetUserDelegationKeyHeaders,
10507
+ ServiceListContainersSegmentExceptionHeaders: ServiceListContainersSegmentExceptionHeaders,
10508
+ ServiceListContainersSegmentHeaders: ServiceListContainersSegmentHeaders,
10509
+ ServiceSetPropertiesExceptionHeaders: ServiceSetPropertiesExceptionHeaders,
10510
+ ServiceSetPropertiesHeaders: ServiceSetPropertiesHeaders,
10511
+ ServiceSubmitBatchExceptionHeaders: ServiceSubmitBatchExceptionHeaders,
10512
+ ServiceSubmitBatchHeaders: ServiceSubmitBatchHeaders,
10513
+ SignedIdentifier: SignedIdentifier,
10514
+ StaticWebsite: StaticWebsite,
10515
+ StorageError: StorageError,
10516
+ UserDelegationKey: UserDelegationKey
10504
10517
  });
10505
10518
 
10506
10519
  /*
@@ -15160,7 +15173,7 @@ const getBlockListOperationSpec = {
15160
15173
  * Code generated by Microsoft (R) AutoRest Code Generator.
15161
15174
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
15162
15175
  */
15163
- class StorageClient$1 extends coreHttpCompat__namespace.ExtendedServiceClient {
15176
+ let StorageClient$1 = class StorageClient extends coreHttpCompat__namespace.ExtendedServiceClient {
15164
15177
  /**
15165
15178
  * Initializes a new instance of the StorageClient class.
15166
15179
  * @param url The URL of the service account, container, or blob that is the target of the desired
@@ -15198,9 +15211,10 @@ class StorageClient$1 extends coreHttpCompat__namespace.ExtendedServiceClient {
15198
15211
  this.appendBlob = new AppendBlobImpl(this);
15199
15212
  this.blockBlob = new BlockBlobImpl(this);
15200
15213
  }
15201
- }
15214
+ };
15202
15215
 
15203
15216
  // Copyright (c) Microsoft Corporation.
15217
+ // Licensed under the MIT license.
15204
15218
  /**
15205
15219
  * @internal
15206
15220
  */
@@ -15216,6 +15230,7 @@ class StorageContextClient extends StorageClient$1 {
15216
15230
  }
15217
15231
 
15218
15232
  // Copyright (c) Microsoft Corporation.
15233
+ // Licensed under the MIT license.
15219
15234
  /**
15220
15235
  * A StorageClient represents a based URL class for {@link BlobServiceClient}, {@link ContainerClient}
15221
15236
  * and etc.
@@ -15241,6 +15256,7 @@ class StorageClient {
15241
15256
  }
15242
15257
 
15243
15258
  // Copyright (c) Microsoft Corporation.
15259
+ // Licensed under the MIT license.
15244
15260
  /**
15245
15261
  * Creates a span using the global tracer.
15246
15262
  * @internal
@@ -15668,6 +15684,7 @@ class ContainerSASPermissions {
15668
15684
  }
15669
15685
 
15670
15686
  // Copyright (c) Microsoft Corporation.
15687
+ // Licensed under the MIT license.
15671
15688
  /**
15672
15689
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
15673
15690
  *
@@ -15710,6 +15727,7 @@ function ipRangeToString(ipRange) {
15710
15727
  }
15711
15728
 
15712
15729
  // Copyright (c) Microsoft Corporation.
15730
+ // Licensed under the MIT license.
15713
15731
  /**
15714
15732
  * Protocols for generated SAS.
15715
15733
  */
@@ -15941,6 +15959,7 @@ class SASQueryParameters {
15941
15959
  }
15942
15960
 
15943
15961
  // Copyright (c) Microsoft Corporation.
15962
+ // Licensed under the MIT license.
15944
15963
  function generateBlobSASQueryParameters(blobSASSignatureValues, sharedKeyCredentialOrUserDelegationKey, accountName) {
15945
15964
  const version = blobSASSignatureValues.version ? blobSASSignatureValues.version : SERVICE_VERSION;
15946
15965
  const sharedKeyCredential = sharedKeyCredentialOrUserDelegationKey instanceof StorageSharedKeyCredential
@@ -16487,6 +16506,7 @@ function SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues) {
16487
16506
  }
16488
16507
 
16489
16508
  // Copyright (c) Microsoft Corporation.
16509
+ // Licensed under the MIT license.
16490
16510
  /**
16491
16511
  * A client that manages leases for a {@link ContainerClient} or a {@link BlobClient}.
16492
16512
  */
@@ -16674,6 +16694,7 @@ class BlobLeaseClient {
16674
16694
  }
16675
16695
 
16676
16696
  // Copyright (c) Microsoft Corporation.
16697
+ // Licensed under the MIT license.
16677
16698
  /**
16678
16699
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
16679
16700
  *
@@ -16790,6 +16811,7 @@ class RetriableReadableStream extends stream.Readable {
16790
16811
  }
16791
16812
 
16792
16813
  // Copyright (c) Microsoft Corporation.
16814
+ // Licensed under the MIT license.
16793
16815
  /**
16794
16816
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
16795
16817
  *
@@ -17586,6 +17608,7 @@ function arraysEqual(a, b) {
17586
17608
  }
17587
17609
 
17588
17610
  // Copyright (c) Microsoft Corporation.
17611
+ // Licensed under the MIT license.
17589
17612
  class AvroReader {
17590
17613
  get blockOffset() {
17591
17614
  return this._blockOffset;
@@ -17690,6 +17713,7 @@ class AvroReadable {
17690
17713
  }
17691
17714
 
17692
17715
  // Copyright (c) Microsoft Corporation.
17716
+ // Licensed under the MIT license.
17693
17717
  const ABORT_ERROR = new abortController.AbortError("Reading from the avro stream was aborted.");
17694
17718
  class AvroReadableFromStream extends AvroReadable {
17695
17719
  toUint8Array(data) {
@@ -17771,6 +17795,7 @@ class AvroReadableFromStream extends AvroReadable {
17771
17795
  }
17772
17796
 
17773
17797
  // Copyright (c) Microsoft Corporation.
17798
+ // Licensed under the MIT license.
17774
17799
  /**
17775
17800
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
17776
17801
  *
@@ -17879,6 +17904,7 @@ class BlobQuickQueryStream extends stream.Readable {
17879
17904
  }
17880
17905
 
17881
17906
  // Copyright (c) Microsoft Corporation.
17907
+ // Licensed under the MIT license.
17882
17908
  /**
17883
17909
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
17884
17910
  *
@@ -18243,6 +18269,7 @@ class BlobQueryResponse {
18243
18269
  }
18244
18270
 
18245
18271
  // Copyright (c) Microsoft Corporation.
18272
+ // Licensed under the MIT license.
18246
18273
  /**
18247
18274
  * Represents the access tier on a blob.
18248
18275
  * For detailed information about block blob level tiering see {@link https://docs.microsoft.com/azure/storage/blobs/storage-blob-storage-tiers|Hot, cool and archive storage tiers.}
@@ -18373,6 +18400,7 @@ function rangeResponseFromModel(response) {
18373
18400
  }
18374
18401
 
18375
18402
  // Copyright (c) Microsoft Corporation.
18403
+ // Licensed under the MIT license.
18376
18404
  /**
18377
18405
  * This is the poller returned by {@link BlobClient.beginCopyFromURL}.
18378
18406
  * This can not be instantiated directly outside of this package.
@@ -18521,6 +18549,9 @@ function rangeToString(iRange) {
18521
18549
  }
18522
18550
 
18523
18551
  // Copyright (c) Microsoft Corporation.
18552
+ // Licensed under the MIT license.
18553
+ // In browser, during webpack or browserify bundling, this module will be replaced by 'events'
18554
+ // https://github.com/Gozala/events
18524
18555
  /**
18525
18556
  * States for Batch.
18526
18557
  */
@@ -18639,6 +18670,7 @@ class Batch {
18639
18670
  }
18640
18671
 
18641
18672
  // Copyright (c) Microsoft Corporation.
18673
+ // Licensed under the MIT license.
18642
18674
  /**
18643
18675
  * This class generates a readable stream from the data in an array of buffers.
18644
18676
  */
@@ -18720,6 +18752,7 @@ class BuffersStream extends stream.Readable {
18720
18752
  }
18721
18753
 
18722
18754
  // Copyright (c) Microsoft Corporation.
18755
+ // Licensed under the MIT license.
18723
18756
  /**
18724
18757
  * maxBufferLength is max size of each buffer in the pooled buffers.
18725
18758
  */
@@ -18805,6 +18838,7 @@ class PooledBuffer {
18805
18838
  }
18806
18839
 
18807
18840
  // Copyright (c) Microsoft Corporation.
18841
+ // Licensed under the MIT license.
18808
18842
  /**
18809
18843
  * This class accepts a Node.js Readable stream as input, and keeps reading data
18810
18844
  * from the stream into the internal buffer structure, until it reaches maxBuffers.
@@ -19054,6 +19088,7 @@ class BufferScheduler {
19054
19088
  }
19055
19089
 
19056
19090
  // Copyright (c) Microsoft Corporation.
19091
+ // Licensed under the MIT license.
19057
19092
  /**
19058
19093
  * Reads a readable stream into buffer. Fill the buffer from offset to end.
19059
19094
  *
@@ -21673,6 +21708,7 @@ class PageBlobClient extends BlobClient {
21673
21708
  }
21674
21709
 
21675
21710
  // Copyright (c) Microsoft Corporation.
21711
+ // Licensed under the MIT license.
21676
21712
  async function getBodyAsText(batchResponse) {
21677
21713
  let buffer = Buffer.alloc(BATCH_MAX_PAYLOAD_IN_BYTES);
21678
21714
  const responseLength = await streamToBuffer2(batchResponse.readableStreamBody, buffer);
@@ -21685,6 +21721,7 @@ function utf8ByteLength(str) {
21685
21721
  }
21686
21722
 
21687
21723
  // Copyright (c) Microsoft Corporation.
21724
+ // Licensed under the MIT license.
21688
21725
  const HTTP_HEADER_DELIMITER = ": ";
21689
21726
  const SPACE_DELIMITER = " ";
21690
21727
  const NOT_FOUND = -1;
@@ -21881,6 +21918,7 @@ Mutex.keys = {};
21881
21918
  Mutex.listeners = {};
21882
21919
 
21883
21920
  // Copyright (c) Microsoft Corporation.
21921
+ // Licensed under the MIT license.
21884
21922
  /**
21885
21923
  * A BlobBatch represents an aggregated set of operations on blobs.
21886
21924
  * Currently, only `delete` and `setAccessTier` are supported.
@@ -22132,6 +22170,7 @@ function batchHeaderFilterPolicy() {
22132
22170
  }
22133
22171
 
22134
22172
  // Copyright (c) Microsoft Corporation.
22173
+ // Licensed under the MIT license.
22135
22174
  /**
22136
22175
  * A BlobBatchClient allows you to make batched requests to the Azure Storage Blob service.
22137
22176
  *
@@ -23787,6 +23826,7 @@ class AccountSASServices {
23787
23826
  }
23788
23827
 
23789
23828
  // Copyright (c) Microsoft Corporation.
23829
+ // Licensed under the MIT license.
23790
23830
  /**
23791
23831
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
23792
23832
  *