@azure/storage-blob 12.25.0-alpha.20240823.1 → 12.25.0-alpha.20240827.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +61 -61
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/BatchResponse.js +1 -1
- package/dist-esm/storage-blob/src/BatchResponse.js.map +1 -1
- package/dist-esm/storage-blob/src/BatchResponseParser.js +1 -1
- package/dist-esm/storage-blob/src/BatchResponseParser.js.map +1 -1
- package/dist-esm/storage-blob/src/BatchUtils.browser.js +1 -1
- package/dist-esm/storage-blob/src/BatchUtils.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/BatchUtils.js +1 -1
- package/dist-esm/storage-blob/src/BatchUtils.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatch.js +1 -1
- package/dist-esm/storage-blob/src/BlobBatch.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatchClient.js +1 -1
- package/dist-esm/storage-blob/src/BlobBatchClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobDownloadResponse.browser.js +1 -1
- package/dist-esm/storage-blob/src/BlobDownloadResponse.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobDownloadResponse.js +1 -1
- package/dist-esm/storage-blob/src/BlobDownloadResponse.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobLeaseClient.js +1 -1
- package/dist-esm/storage-blob/src/BlobLeaseClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobQueryResponse.browser.js +1 -1
- package/dist-esm/storage-blob/src/BlobQueryResponse.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobQueryResponse.js +1 -1
- package/dist-esm/storage-blob/src/BlobQueryResponse.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobServiceClient.js +1 -1
- package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -1
- package/dist-esm/storage-blob/src/Clients.js +1 -1
- package/dist-esm/storage-blob/src/Clients.js.map +1 -1
- package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
- package/dist-esm/storage-blob/src/PageBlobRangeResponse.js +1 -1
- package/dist-esm/storage-blob/src/PageBlobRangeResponse.js.map +1 -1
- package/dist-esm/storage-blob/src/Pipeline.js +1 -1
- package/dist-esm/storage-blob/src/Pipeline.js.map +1 -1
- package/dist-esm/storage-blob/src/Range.js +1 -1
- package/dist-esm/storage-blob/src/Range.js.map +1 -1
- package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js +1 -1
- package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js.map +1 -1
- package/dist-esm/storage-blob/src/StorageClient.js +1 -1
- package/dist-esm/storage-blob/src/StorageClient.js.map +1 -1
- package/dist-esm/storage-blob/src/StorageContextClient.js +1 -1
- package/dist-esm/storage-blob/src/StorageContextClient.js.map +1 -1
- package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js +1 -1
- package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js.map +1 -1
- package/dist-esm/storage-blob/src/credentials/AnonymousCredential.js +1 -1
- package/dist-esm/storage-blob/src/credentials/AnonymousCredential.js.map +1 -1
- package/dist-esm/storage-blob/src/credentials/Credential.js +1 -1
- package/dist-esm/storage-blob/src/credentials/Credential.js.map +1 -1
- package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.browser.js +1 -1
- package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.js +1 -1
- package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.js.map +1 -1
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.browser.js +1 -1
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js +1 -1
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js.map +1 -1
- package/dist-esm/storage-blob/src/generatedModels.js +1 -1
- package/dist-esm/storage-blob/src/generatedModels.js.map +1 -1
- package/dist-esm/storage-blob/src/index.browser.js +1 -1
- package/dist-esm/storage-blob/src/index.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/index.js +1 -1
- package/dist-esm/storage-blob/src/index.js.map +1 -1
- package/dist-esm/storage-blob/src/log.js +1 -1
- package/dist-esm/storage-blob/src/log.js.map +1 -1
- package/dist-esm/storage-blob/src/models.js +1 -1
- package/dist-esm/storage-blob/src/models.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js +1 -1
- package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/CredentialPolicy.js +1 -1
- package/dist-esm/storage-blob/src/policies/CredentialPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/RequestPolicy.js +1 -1
- package/dist-esm/storage-blob/src/policies/RequestPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.browser.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js.map +1 -1
- package/dist-esm/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.js +1 -1
- package/dist-esm/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASResourceTypes.js +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASResourceTypes.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASServices.js +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASServices.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/BlobSASPermissions.js +1 -1
- package/dist-esm/storage-blob/src/sas/BlobSASPermissions.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js +1 -1
- package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js +1 -1
- package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/SASQueryParameters.js +1 -1
- package/dist-esm/storage-blob/src/sas/SASQueryParameters.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/SasIPRange.js +1 -1
- package/dist-esm/storage-blob/src/sas/SasIPRange.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/Batch.js +1 -1
- package/dist-esm/storage-blob/src/utils/Batch.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js +1 -1
- package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/Mutex.js +1 -1
- package/dist-esm/storage-blob/src/utils/Mutex.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js +1 -1
- package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/SharedKeyComparator.js +1 -1
- package/dist-esm/storage-blob/src/utils/SharedKeyComparator.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/cache.js +1 -1
- package/dist-esm/storage-blob/src/utils/cache.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/constants.js +1 -1
- package/dist-esm/storage-blob/src/utils/constants.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/tracing.js +1 -1
- package/dist-esm/storage-blob/src/utils/tracing.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/utils.browser.js +1 -1
- package/dist-esm/storage-blob/src/utils/utils.browser.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/utils.common.js +1 -1
- package/dist-esm/storage-blob/src/utils/utils.common.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/utils.node.js +1 -1
- package/dist-esm/storage-blob/src/utils/utils.node.js.map +1 -1
- package/dist-esm/storage-common/src/BufferScheduler.browser.js +1 -1
- package/dist-esm/storage-common/src/BufferScheduler.browser.js.map +1 -1
- package/dist-esm/storage-common/src/BufferScheduler.js +1 -1
- package/dist-esm/storage-common/src/BufferScheduler.js.map +1 -1
- package/dist-esm/storage-common/src/BuffersStream.js +1 -1
- package/dist-esm/storage-common/src/BuffersStream.js.map +1 -1
- package/dist-esm/storage-common/src/PooledBuffer.js +1 -1
- package/dist-esm/storage-common/src/PooledBuffer.js.map +1 -1
- package/dist-esm/storage-common/src/index.browser.js +1 -1
- package/dist-esm/storage-common/src/index.browser.js.map +1 -1
- package/dist-esm/storage-common/src/index.js +1 -1
- package/dist-esm/storage-common/src/index.js.map +1 -1
- package/dist-esm/storage-internal-avro/src/AvroConstants.js +1 -1
- package/dist-esm/storage-internal-avro/src/AvroConstants.js.map +1 -1
- package/dist-esm/storage-internal-avro/src/AvroParser.js +1 -1
- package/dist-esm/storage-internal-avro/src/AvroParser.js.map +1 -1
- package/dist-esm/storage-internal-avro/src/AvroReadable.js +1 -1
- package/dist-esm/storage-internal-avro/src/AvroReadable.js.map +1 -1
- package/dist-esm/storage-internal-avro/src/AvroReadableFromBlob.js +1 -1
- package/dist-esm/storage-internal-avro/src/AvroReadableFromBlob.js.map +1 -1
- package/dist-esm/storage-internal-avro/src/AvroReadableFromStream.js +1 -1
- package/dist-esm/storage-internal-avro/src/AvroReadableFromStream.js.map +1 -1
- package/dist-esm/storage-internal-avro/src/AvroReader.js +1 -1
- package/dist-esm/storage-internal-avro/src/AvroReader.js.map +1 -1
- package/dist-esm/storage-internal-avro/src/index.browser.js +1 -1
- package/dist-esm/storage-internal-avro/src/index.browser.js.map +1 -1
- package/dist-esm/storage-internal-avro/src/index.js +1 -1
- package/dist-esm/storage-internal-avro/src/index.js.map +1 -1
- package/dist-esm/storage-internal-avro/src/utils/utils.common.js +1 -1
- package/dist-esm/storage-internal-avro/src/utils/utils.common.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -43,14 +43,14 @@ var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
|
|
43
43
|
var util__namespace = /*#__PURE__*/_interopNamespaceDefault(util);
|
44
44
|
|
45
45
|
// Copyright (c) Microsoft Corporation.
|
46
|
-
// Licensed under the MIT
|
46
|
+
// Licensed under the MIT License.
|
47
47
|
/**
|
48
48
|
* The `@azure/logger` configuration for this package.
|
49
49
|
*/
|
50
50
|
const logger = logger$1.createClientLogger("storage-blob");
|
51
51
|
|
52
52
|
// Copyright (c) Microsoft Corporation.
|
53
|
-
// Licensed under the MIT
|
53
|
+
// Licensed under the MIT License.
|
54
54
|
/**
|
55
55
|
* The base class from which all request policies derive.
|
56
56
|
*/
|
@@ -90,7 +90,7 @@ class BaseRequestPolicy {
|
|
90
90
|
}
|
91
91
|
|
92
92
|
// Copyright (c) Microsoft Corporation.
|
93
|
-
// Licensed under the MIT
|
93
|
+
// Licensed under the MIT License.
|
94
94
|
const SDK_VERSION = "12.25.0-beta.2";
|
95
95
|
const SERVICE_VERSION = "2024-11-04";
|
96
96
|
const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024; // 256MB
|
@@ -316,7 +316,7 @@ const PathStylePorts = [
|
|
316
316
|
];
|
317
317
|
|
318
318
|
// Copyright (c) Microsoft Corporation.
|
319
|
-
// Licensed under the MIT
|
319
|
+
// Licensed under the MIT License.
|
320
320
|
/**
|
321
321
|
* Reserved URL characters must be properly escaped for Storage services like Blob or File.
|
322
322
|
*
|
@@ -1029,7 +1029,7 @@ function assertResponse(response) {
|
|
1029
1029
|
}
|
1030
1030
|
|
1031
1031
|
// Copyright (c) Microsoft Corporation.
|
1032
|
-
// Licensed under the MIT
|
1032
|
+
// Licensed under the MIT License.
|
1033
1033
|
/**
|
1034
1034
|
* RetryPolicy types.
|
1035
1035
|
*/
|
@@ -1241,7 +1241,7 @@ class StorageRetryPolicy extends BaseRequestPolicy {
|
|
1241
1241
|
}
|
1242
1242
|
|
1243
1243
|
// Copyright (c) Microsoft Corporation.
|
1244
|
-
// Licensed under the MIT
|
1244
|
+
// Licensed under the MIT License.
|
1245
1245
|
/**
|
1246
1246
|
* StorageRetryPolicyFactory is a factory class helping generating {@link StorageRetryPolicy} objects.
|
1247
1247
|
*/
|
@@ -1265,7 +1265,7 @@ class StorageRetryPolicyFactory {
|
|
1265
1265
|
}
|
1266
1266
|
|
1267
1267
|
// Copyright (c) Microsoft Corporation.
|
1268
|
-
// Licensed under the MIT
|
1268
|
+
// Licensed under the MIT License.
|
1269
1269
|
/**
|
1270
1270
|
* Credential policy used to sign HTTP(S) requests before sending. This is an
|
1271
1271
|
* abstract class.
|
@@ -1293,7 +1293,7 @@ class CredentialPolicy extends BaseRequestPolicy {
|
|
1293
1293
|
}
|
1294
1294
|
|
1295
1295
|
// Copyright (c) Microsoft Corporation.
|
1296
|
-
// Licensed under the MIT
|
1296
|
+
// Licensed under the MIT License.
|
1297
1297
|
/*
|
1298
1298
|
* We need to imitate .Net culture-aware sorting, which is used in storage service.
|
1299
1299
|
* Below tables contain sort-keys for en-US culture.
|
@@ -1366,7 +1366,7 @@ function isLessThan(lhs, rhs) {
|
|
1366
1366
|
}
|
1367
1367
|
|
1368
1368
|
// Copyright (c) Microsoft Corporation.
|
1369
|
-
// Licensed under the MIT
|
1369
|
+
// Licensed under the MIT License.
|
1370
1370
|
/**
|
1371
1371
|
* StorageSharedKeyCredentialPolicy is a policy used to sign HTTP request with a shared key.
|
1372
1372
|
*/
|
@@ -1503,7 +1503,7 @@ class StorageSharedKeyCredentialPolicy extends CredentialPolicy {
|
|
1503
1503
|
}
|
1504
1504
|
|
1505
1505
|
// Copyright (c) Microsoft Corporation.
|
1506
|
-
// Licensed under the MIT
|
1506
|
+
// Licensed under the MIT License.
|
1507
1507
|
/**
|
1508
1508
|
* Credential is an abstract class for Azure Storage HTTP requests signing. This
|
1509
1509
|
* class will host an credentialPolicyCreator factory which generates CredentialPolicy.
|
@@ -1521,7 +1521,7 @@ class Credential {
|
|
1521
1521
|
}
|
1522
1522
|
|
1523
1523
|
// Copyright (c) Microsoft Corporation.
|
1524
|
-
// Licensed under the MIT
|
1524
|
+
// Licensed under the MIT License.
|
1525
1525
|
/**
|
1526
1526
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
1527
1527
|
*
|
@@ -1558,7 +1558,7 @@ class StorageSharedKeyCredential extends Credential {
|
|
1558
1558
|
}
|
1559
1559
|
|
1560
1560
|
// Copyright (c) Microsoft Corporation.
|
1561
|
-
// Licensed under the MIT
|
1561
|
+
// Licensed under the MIT License.
|
1562
1562
|
/**
|
1563
1563
|
* AnonymousCredentialPolicy is used with HTTP(S) requests that read public resources
|
1564
1564
|
* or for use with Shared Access Signatures (SAS).
|
@@ -1577,7 +1577,7 @@ class AnonymousCredentialPolicy extends CredentialPolicy {
|
|
1577
1577
|
}
|
1578
1578
|
|
1579
1579
|
// Copyright (c) Microsoft Corporation.
|
1580
|
-
// Licensed under the MIT
|
1580
|
+
// Licensed under the MIT License.
|
1581
1581
|
/**
|
1582
1582
|
* AnonymousCredential provides a credentialPolicyCreator member used to create
|
1583
1583
|
* AnonymousCredentialPolicy objects. AnonymousCredentialPolicy is used with
|
@@ -1597,7 +1597,7 @@ class AnonymousCredential extends Credential {
|
|
1597
1597
|
}
|
1598
1598
|
|
1599
1599
|
// Copyright (c) Microsoft Corporation.
|
1600
|
-
// Licensed under the MIT
|
1600
|
+
// Licensed under the MIT License.
|
1601
1601
|
let _defaultHttpClient;
|
1602
1602
|
function getCachedDefaultHttpClient() {
|
1603
1603
|
if (!_defaultHttpClient) {
|
@@ -1607,7 +1607,7 @@ function getCachedDefaultHttpClient() {
|
|
1607
1607
|
}
|
1608
1608
|
|
1609
1609
|
// Copyright (c) Microsoft Corporation.
|
1610
|
-
// Licensed under the MIT
|
1610
|
+
// Licensed under the MIT License.
|
1611
1611
|
/**
|
1612
1612
|
* The programmatic identifier of the StorageBrowserPolicy.
|
1613
1613
|
*/
|
@@ -1635,7 +1635,7 @@ function storageBrowserPolicy() {
|
|
1635
1635
|
}
|
1636
1636
|
|
1637
1637
|
// Copyright (c) Microsoft Corporation.
|
1638
|
-
// Licensed under the MIT
|
1638
|
+
// Licensed under the MIT License.
|
1639
1639
|
/**
|
1640
1640
|
* Name of the {@link storageRetryPolicy}
|
1641
1641
|
*/
|
@@ -1809,7 +1809,7 @@ function storageRetryPolicy(options = {}) {
|
|
1809
1809
|
}
|
1810
1810
|
|
1811
1811
|
// Copyright (c) Microsoft Corporation.
|
1812
|
-
// Licensed under the MIT
|
1812
|
+
// Licensed under the MIT License.
|
1813
1813
|
/**
|
1814
1814
|
* The programmatic identifier of the storageSharedKeyCredentialPolicy.
|
1815
1815
|
*/
|
@@ -1937,7 +1937,7 @@ function storageSharedKeyCredentialPolicy(options) {
|
|
1937
1937
|
}
|
1938
1938
|
|
1939
1939
|
// Copyright (c) Microsoft Corporation.
|
1940
|
-
// Licensed under the MIT
|
1940
|
+
// Licensed under the MIT License.
|
1941
1941
|
/**
|
1942
1942
|
* StorageBrowserPolicy will handle differences between Node.js and browser runtime, including:
|
1943
1943
|
*
|
@@ -1980,7 +1980,7 @@ class StorageBrowserPolicy extends BaseRequestPolicy {
|
|
1980
1980
|
}
|
1981
1981
|
|
1982
1982
|
// Copyright (c) Microsoft Corporation.
|
1983
|
-
// Licensed under the MIT
|
1983
|
+
// Licensed under the MIT License.
|
1984
1984
|
/**
|
1985
1985
|
* StorageBrowserPolicyFactory is a factory class helping generating StorageBrowserPolicy objects.
|
1986
1986
|
*/
|
@@ -1997,7 +1997,7 @@ class StorageBrowserPolicyFactory {
|
|
1997
1997
|
}
|
1998
1998
|
|
1999
1999
|
// Copyright (c) Microsoft Corporation.
|
2000
|
-
// Licensed under the MIT
|
2000
|
+
// Licensed under the MIT License.
|
2001
2001
|
/**
|
2002
2002
|
* The programmatic identifier of the storageCorrectContentLengthPolicy.
|
2003
2003
|
*/
|
@@ -2023,7 +2023,7 @@ function storageCorrectContentLengthPolicy() {
|
|
2023
2023
|
}
|
2024
2024
|
|
2025
2025
|
// Copyright (c) Microsoft Corporation.
|
2026
|
-
// Licensed under the MIT
|
2026
|
+
// Licensed under the MIT License.
|
2027
2027
|
/**
|
2028
2028
|
* A helper to decide if a given argument satisfies the Pipeline contract
|
2029
2029
|
* @param pipeline - An argument that may be a Pipeline
|
@@ -15393,7 +15393,7 @@ let StorageClient$1 = class StorageClient extends coreHttpCompat__namespace.Exte
|
|
15393
15393
|
};
|
15394
15394
|
|
15395
15395
|
// Copyright (c) Microsoft Corporation.
|
15396
|
-
// Licensed under the MIT
|
15396
|
+
// Licensed under the MIT License.
|
15397
15397
|
/**
|
15398
15398
|
* @internal
|
15399
15399
|
*/
|
@@ -15409,7 +15409,7 @@ class StorageContextClient extends StorageClient$1 {
|
|
15409
15409
|
}
|
15410
15410
|
|
15411
15411
|
// Copyright (c) Microsoft Corporation.
|
15412
|
-
// Licensed under the MIT
|
15412
|
+
// Licensed under the MIT License.
|
15413
15413
|
/**
|
15414
15414
|
* A StorageClient represents a based URL class for {@link BlobServiceClient}, {@link ContainerClient}
|
15415
15415
|
* and etc.
|
@@ -15435,7 +15435,7 @@ class StorageClient {
|
|
15435
15435
|
}
|
15436
15436
|
|
15437
15437
|
// Copyright (c) Microsoft Corporation.
|
15438
|
-
// Licensed under the MIT
|
15438
|
+
// Licensed under the MIT License.
|
15439
15439
|
/**
|
15440
15440
|
* Creates a span using the global tracer.
|
15441
15441
|
* @internal
|
@@ -15447,7 +15447,7 @@ const tracingClient = coreTracing.createTracingClient({
|
|
15447
15447
|
});
|
15448
15448
|
|
15449
15449
|
// Copyright (c) Microsoft Corporation.
|
15450
|
-
// Licensed under the MIT
|
15450
|
+
// Licensed under the MIT License.
|
15451
15451
|
/**
|
15452
15452
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
15453
15453
|
*
|
@@ -15642,7 +15642,7 @@ class BlobSASPermissions {
|
|
15642
15642
|
}
|
15643
15643
|
|
15644
15644
|
// Copyright (c) Microsoft Corporation.
|
15645
|
-
// Licensed under the MIT
|
15645
|
+
// Licensed under the MIT License.
|
15646
15646
|
/**
|
15647
15647
|
* This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a container.
|
15648
15648
|
* Setting a value to true means that any SAS which uses these permissions will grant permissions for that operation.
|
@@ -15863,7 +15863,7 @@ class ContainerSASPermissions {
|
|
15863
15863
|
}
|
15864
15864
|
|
15865
15865
|
// Copyright (c) Microsoft Corporation.
|
15866
|
-
// Licensed under the MIT
|
15866
|
+
// Licensed under the MIT License.
|
15867
15867
|
/**
|
15868
15868
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
15869
15869
|
*
|
@@ -15893,7 +15893,7 @@ class UserDelegationKeyCredential {
|
|
15893
15893
|
}
|
15894
15894
|
|
15895
15895
|
// Copyright (c) Microsoft Corporation.
|
15896
|
-
// Licensed under the MIT
|
15896
|
+
// Licensed under the MIT License.
|
15897
15897
|
/**
|
15898
15898
|
* Generate SasIPRange format string. For example:
|
15899
15899
|
*
|
@@ -15906,7 +15906,7 @@ function ipRangeToString(ipRange) {
|
|
15906
15906
|
}
|
15907
15907
|
|
15908
15908
|
// Copyright (c) Microsoft Corporation.
|
15909
|
-
// Licensed under the MIT
|
15909
|
+
// Licensed under the MIT License.
|
15910
15910
|
/**
|
15911
15911
|
* Protocols for generated SAS.
|
15912
15912
|
*/
|
@@ -16138,7 +16138,7 @@ class SASQueryParameters {
|
|
16138
16138
|
}
|
16139
16139
|
|
16140
16140
|
// Copyright (c) Microsoft Corporation.
|
16141
|
-
// Licensed under the MIT
|
16141
|
+
// Licensed under the MIT License.
|
16142
16142
|
function generateBlobSASQueryParameters(blobSASSignatureValues, sharedKeyCredentialOrUserDelegationKey, accountName) {
|
16143
16143
|
return generateBlobSASQueryParametersInternal(blobSASSignatureValues, sharedKeyCredentialOrUserDelegationKey, accountName).sasQueryParameters;
|
16144
16144
|
}
|
@@ -16706,7 +16706,7 @@ function SASSignatureValuesSanityCheckAndAutofill(blobSASSignatureValues) {
|
|
16706
16706
|
}
|
16707
16707
|
|
16708
16708
|
// Copyright (c) Microsoft Corporation.
|
16709
|
-
// Licensed under the MIT
|
16709
|
+
// Licensed under the MIT License.
|
16710
16710
|
/**
|
16711
16711
|
* A client that manages leases for a {@link ContainerClient} or a {@link BlobClient}.
|
16712
16712
|
*/
|
@@ -16894,7 +16894,7 @@ class BlobLeaseClient {
|
|
16894
16894
|
}
|
16895
16895
|
|
16896
16896
|
// Copyright (c) Microsoft Corporation.
|
16897
|
-
// Licensed under the MIT
|
16897
|
+
// Licensed under the MIT License.
|
16898
16898
|
/**
|
16899
16899
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
16900
16900
|
*
|
@@ -17011,7 +17011,7 @@ class RetriableReadableStream extends stream.Readable {
|
|
17011
17011
|
}
|
17012
17012
|
|
17013
17013
|
// Copyright (c) Microsoft Corporation.
|
17014
|
-
// Licensed under the MIT
|
17014
|
+
// Licensed under the MIT License.
|
17015
17015
|
/**
|
17016
17016
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
17017
17017
|
*
|
@@ -17472,14 +17472,14 @@ class BlobDownloadResponse {
|
|
17472
17472
|
}
|
17473
17473
|
|
17474
17474
|
// Copyright (c) Microsoft Corporation.
|
17475
|
-
// Licensed under the MIT
|
17475
|
+
// Licensed under the MIT License.
|
17476
17476
|
const AVRO_SYNC_MARKER_SIZE = 16;
|
17477
17477
|
const AVRO_INIT_BYTES = new Uint8Array([79, 98, 106, 1]);
|
17478
17478
|
const AVRO_CODEC_KEY = "avro.codec";
|
17479
17479
|
const AVRO_SCHEMA_KEY = "avro.schema";
|
17480
17480
|
|
17481
17481
|
// Copyright (c) Microsoft Corporation.
|
17482
|
-
// Licensed under the MIT
|
17482
|
+
// Licensed under the MIT License.
|
17483
17483
|
class AvroParser {
|
17484
17484
|
/**
|
17485
17485
|
* Reads a fixed number of bytes from the stream.
|
@@ -17796,7 +17796,7 @@ class AvroRecordType extends AvroType {
|
|
17796
17796
|
}
|
17797
17797
|
|
17798
17798
|
// Copyright (c) Microsoft Corporation.
|
17799
|
-
// Licensed under the MIT
|
17799
|
+
// Licensed under the MIT License.
|
17800
17800
|
function arraysEqual(a, b) {
|
17801
17801
|
if (a === b)
|
17802
17802
|
return true;
|
@@ -17813,7 +17813,7 @@ function arraysEqual(a, b) {
|
|
17813
17813
|
}
|
17814
17814
|
|
17815
17815
|
// Copyright (c) Microsoft Corporation.
|
17816
|
-
// Licensed under the MIT
|
17816
|
+
// Licensed under the MIT License.
|
17817
17817
|
class AvroReader {
|
17818
17818
|
get blockOffset() {
|
17819
17819
|
return this._blockOffset;
|
@@ -17913,12 +17913,12 @@ class AvroReader {
|
|
17913
17913
|
}
|
17914
17914
|
|
17915
17915
|
// Copyright (c) Microsoft Corporation.
|
17916
|
-
// Licensed under the MIT
|
17916
|
+
// Licensed under the MIT License.
|
17917
17917
|
class AvroReadable {
|
17918
17918
|
}
|
17919
17919
|
|
17920
17920
|
// Copyright (c) Microsoft Corporation.
|
17921
|
-
// Licensed under the MIT
|
17921
|
+
// Licensed under the MIT License.
|
17922
17922
|
const ABORT_ERROR = new abortController.AbortError("Reading from the avro stream was aborted.");
|
17923
17923
|
class AvroReadableFromStream extends AvroReadable {
|
17924
17924
|
toUint8Array(data) {
|
@@ -18000,7 +18000,7 @@ class AvroReadableFromStream extends AvroReadable {
|
|
18000
18000
|
}
|
18001
18001
|
|
18002
18002
|
// Copyright (c) Microsoft Corporation.
|
18003
|
-
// Licensed under the MIT
|
18003
|
+
// Licensed under the MIT License.
|
18004
18004
|
/**
|
18005
18005
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
18006
18006
|
*
|
@@ -18109,7 +18109,7 @@ class BlobQuickQueryStream extends stream.Readable {
|
|
18109
18109
|
}
|
18110
18110
|
|
18111
18111
|
// Copyright (c) Microsoft Corporation.
|
18112
|
-
// Licensed under the MIT
|
18112
|
+
// Licensed under the MIT License.
|
18113
18113
|
/**
|
18114
18114
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
18115
18115
|
*
|
@@ -18474,7 +18474,7 @@ class BlobQueryResponse {
|
|
18474
18474
|
}
|
18475
18475
|
|
18476
18476
|
// Copyright (c) Microsoft Corporation.
|
18477
|
-
// Licensed under the MIT
|
18477
|
+
// Licensed under the MIT License.
|
18478
18478
|
/**
|
18479
18479
|
* Represents the access tier on a blob.
|
18480
18480
|
* 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.}
|
@@ -18588,7 +18588,7 @@ function getBlobServiceAccountAudience(storageAccountName) {
|
|
18588
18588
|
}
|
18589
18589
|
|
18590
18590
|
// Copyright (c) Microsoft Corporation.
|
18591
|
-
// Licensed under the MIT
|
18591
|
+
// Licensed under the MIT License.
|
18592
18592
|
/**
|
18593
18593
|
* Function that converts PageRange and ClearRange to a common Range object.
|
18594
18594
|
* PageRange and ClearRange have start and end while Range offset and count
|
@@ -18612,7 +18612,7 @@ function rangeResponseFromModel(response) {
|
|
18612
18612
|
}
|
18613
18613
|
|
18614
18614
|
// Copyright (c) Microsoft Corporation.
|
18615
|
-
// Licensed under the MIT
|
18615
|
+
// Licensed under the MIT License.
|
18616
18616
|
/**
|
18617
18617
|
* This is the poller returned by {@link BlobClient.beginCopyFromURL}.
|
18618
18618
|
* This can not be instantiated directly outside of this package.
|
@@ -18740,7 +18740,7 @@ function makeBlobBeginCopyFromURLPollOperation(state) {
|
|
18740
18740
|
}
|
18741
18741
|
|
18742
18742
|
// Copyright (c) Microsoft Corporation.
|
18743
|
-
// Licensed under the MIT
|
18743
|
+
// Licensed under the MIT License.
|
18744
18744
|
/**
|
18745
18745
|
* Generate a range string. For example:
|
18746
18746
|
*
|
@@ -18761,7 +18761,7 @@ function rangeToString(iRange) {
|
|
18761
18761
|
}
|
18762
18762
|
|
18763
18763
|
// Copyright (c) Microsoft Corporation.
|
18764
|
-
// Licensed under the MIT
|
18764
|
+
// Licensed under the MIT License.
|
18765
18765
|
// In browser, during webpack or browserify bundling, this module will be replaced by 'events'
|
18766
18766
|
// https://github.com/Gozala/events
|
18767
18767
|
/**
|
@@ -18882,7 +18882,7 @@ class Batch {
|
|
18882
18882
|
}
|
18883
18883
|
|
18884
18884
|
// Copyright (c) Microsoft Corporation.
|
18885
|
-
// Licensed under the MIT
|
18885
|
+
// Licensed under the MIT License.
|
18886
18886
|
/**
|
18887
18887
|
* This class generates a readable stream from the data in an array of buffers.
|
18888
18888
|
*/
|
@@ -18964,7 +18964,7 @@ class BuffersStream extends stream.Readable {
|
|
18964
18964
|
}
|
18965
18965
|
|
18966
18966
|
// Copyright (c) Microsoft Corporation.
|
18967
|
-
// Licensed under the MIT
|
18967
|
+
// Licensed under the MIT License.
|
18968
18968
|
const maxBufferLength = buffer.constants.MAX_LENGTH;
|
18969
18969
|
/**
|
18970
18970
|
* This class provides a buffer container which conceptually has no hard size limit.
|
@@ -19046,7 +19046,7 @@ class PooledBuffer {
|
|
19046
19046
|
}
|
19047
19047
|
|
19048
19048
|
// Copyright (c) Microsoft Corporation.
|
19049
|
-
// Licensed under the MIT
|
19049
|
+
// Licensed under the MIT License.
|
19050
19050
|
/**
|
19051
19051
|
* This class accepts a Node.js Readable stream as input, and keeps reading data
|
19052
19052
|
* from the stream into the internal buffer structure, until it reaches maxBuffers.
|
@@ -19296,7 +19296,7 @@ class BufferScheduler {
|
|
19296
19296
|
}
|
19297
19297
|
|
19298
19298
|
// Copyright (c) Microsoft Corporation.
|
19299
|
-
// Licensed under the MIT
|
19299
|
+
// Licensed under the MIT License.
|
19300
19300
|
/**
|
19301
19301
|
* Reads a readable stream into buffer. Fill the buffer from offset to end.
|
19302
19302
|
*
|
@@ -19406,7 +19406,7 @@ const fsStat = util__namespace.promisify(fs__namespace.stat);
|
|
19406
19406
|
const fsCreateReadStream = fs__namespace.createReadStream;
|
19407
19407
|
|
19408
19408
|
// Copyright (c) Microsoft Corporation.
|
19409
|
-
// Licensed under the MIT
|
19409
|
+
// Licensed under the MIT License.
|
19410
19410
|
/**
|
19411
19411
|
* A BlobClient represents a URL to an Azure Storage blob; the blob may be a block blob,
|
19412
19412
|
* append blob, or page blob.
|
@@ -21944,7 +21944,7 @@ class PageBlobClient extends BlobClient {
|
|
21944
21944
|
}
|
21945
21945
|
|
21946
21946
|
// Copyright (c) Microsoft Corporation.
|
21947
|
-
// Licensed under the MIT
|
21947
|
+
// Licensed under the MIT License.
|
21948
21948
|
async function getBodyAsText(batchResponse) {
|
21949
21949
|
let buffer = Buffer.alloc(BATCH_MAX_PAYLOAD_IN_BYTES);
|
21950
21950
|
const responseLength = await streamToBuffer2(batchResponse.readableStreamBody, buffer);
|
@@ -21957,7 +21957,7 @@ function utf8ByteLength(str) {
|
|
21957
21957
|
}
|
21958
21958
|
|
21959
21959
|
// Copyright (c) Microsoft Corporation.
|
21960
|
-
// Licensed under the MIT
|
21960
|
+
// Licensed under the MIT License.
|
21961
21961
|
const HTTP_HEADER_DELIMITER = ": ";
|
21962
21962
|
const SPACE_DELIMITER = " ";
|
21963
21963
|
const NOT_FOUND = -1;
|
@@ -22089,7 +22089,7 @@ class BatchResponseParser {
|
|
22089
22089
|
}
|
22090
22090
|
|
22091
22091
|
// Copyright (c) Microsoft Corporation.
|
22092
|
-
// Licensed under the MIT
|
22092
|
+
// Licensed under the MIT License.
|
22093
22093
|
var MutexLockStatus;
|
22094
22094
|
(function (MutexLockStatus) {
|
22095
22095
|
MutexLockStatus[MutexLockStatus["LOCKED"] = 0] = "LOCKED";
|
@@ -22154,7 +22154,7 @@ Mutex.keys = {};
|
|
22154
22154
|
Mutex.listeners = {};
|
22155
22155
|
|
22156
22156
|
// Copyright (c) Microsoft Corporation.
|
22157
|
-
// Licensed under the MIT
|
22157
|
+
// Licensed under the MIT License.
|
22158
22158
|
/**
|
22159
22159
|
* A BlobBatch represents an aggregated set of operations on blobs.
|
22160
22160
|
* Currently, only `delete` and `setAccessTier` are supported.
|
@@ -22406,7 +22406,7 @@ function batchHeaderFilterPolicy() {
|
|
22406
22406
|
}
|
22407
22407
|
|
22408
22408
|
// Copyright (c) Microsoft Corporation.
|
22409
|
-
// Licensed under the MIT
|
22409
|
+
// Licensed under the MIT License.
|
22410
22410
|
/**
|
22411
22411
|
* A BlobBatchClient allows you to make batched requests to the Azure Storage Blob service.
|
22412
22412
|
*
|
@@ -23704,7 +23704,7 @@ class ContainerClient extends StorageClient {
|
|
23704
23704
|
}
|
23705
23705
|
|
23706
23706
|
// Copyright (c) Microsoft Corporation.
|
23707
|
-
// Licensed under the MIT
|
23707
|
+
// Licensed under the MIT License.
|
23708
23708
|
/**
|
23709
23709
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
23710
23710
|
*
|
@@ -23931,7 +23931,7 @@ class AccountSASPermissions {
|
|
23931
23931
|
}
|
23932
23932
|
|
23933
23933
|
// Copyright (c) Microsoft Corporation.
|
23934
|
-
// Licensed under the MIT
|
23934
|
+
// Licensed under the MIT License.
|
23935
23935
|
/**
|
23936
23936
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
23937
23937
|
*
|
@@ -24003,7 +24003,7 @@ class AccountSASResourceTypes {
|
|
24003
24003
|
}
|
24004
24004
|
|
24005
24005
|
// Copyright (c) Microsoft Corporation.
|
24006
|
-
// Licensed under the MIT
|
24006
|
+
// Licensed under the MIT License.
|
24007
24007
|
/**
|
24008
24008
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
24009
24009
|
*
|
@@ -24083,7 +24083,7 @@ class AccountSASServices {
|
|
24083
24083
|
}
|
24084
24084
|
|
24085
24085
|
// Copyright (c) Microsoft Corporation.
|
24086
|
-
// Licensed under the MIT
|
24086
|
+
// Licensed under the MIT License.
|
24087
24087
|
/**
|
24088
24088
|
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
24089
24089
|
*
|
@@ -24876,7 +24876,7 @@ class BlobServiceClient extends StorageClient {
|
|
24876
24876
|
}
|
24877
24877
|
|
24878
24878
|
// Copyright (c) Microsoft Corporation.
|
24879
|
-
// Licensed under the MIT
|
24879
|
+
// Licensed under the MIT License.
|
24880
24880
|
/** Known values of {@link EncryptionAlgorithmType} that the service accepts. */
|
24881
24881
|
exports.KnownEncryptionAlgorithmType = void 0;
|
24882
24882
|
(function (KnownEncryptionAlgorithmType) {
|