@azure/storage-file-share 12.25.0-beta.1 → 12.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. package/README.md +5 -4
  2. package/dist/index.js +49 -49
  3. package/dist/index.js.map +1 -1
  4. package/dist-esm/storage-blob/src/BatchResponse.js +1 -1
  5. package/dist-esm/storage-blob/src/BatchResponse.js.map +1 -1
  6. package/dist-esm/storage-blob/src/BatchResponseParser.js +1 -1
  7. package/dist-esm/storage-blob/src/BatchResponseParser.js.map +1 -1
  8. package/dist-esm/storage-blob/src/BatchUtils.js +1 -1
  9. package/dist-esm/storage-blob/src/BatchUtils.js.map +1 -1
  10. package/dist-esm/storage-blob/src/BlobBatch.js +1 -1
  11. package/dist-esm/storage-blob/src/BlobBatch.js.map +1 -1
  12. package/dist-esm/storage-blob/src/BlobBatchClient.js +1 -1
  13. package/dist-esm/storage-blob/src/BlobBatchClient.js.map +1 -1
  14. package/dist-esm/storage-blob/src/BlobDownloadResponse.js +1 -1
  15. package/dist-esm/storage-blob/src/BlobDownloadResponse.js.map +1 -1
  16. package/dist-esm/storage-blob/src/BlobLeaseClient.js +1 -1
  17. package/dist-esm/storage-blob/src/BlobLeaseClient.js.map +1 -1
  18. package/dist-esm/storage-blob/src/BlobQueryResponse.js +1 -1
  19. package/dist-esm/storage-blob/src/BlobQueryResponse.js.map +1 -1
  20. package/dist-esm/storage-blob/src/BlobServiceClient.js +1 -1
  21. package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -1
  22. package/dist-esm/storage-blob/src/Clients.js +2 -1
  23. package/dist-esm/storage-blob/src/Clients.js.map +1 -1
  24. package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
  25. package/dist-esm/storage-blob/src/PageBlobRangeResponse.js +1 -1
  26. package/dist-esm/storage-blob/src/PageBlobRangeResponse.js.map +1 -1
  27. package/dist-esm/storage-blob/src/Pipeline.js +1 -1
  28. package/dist-esm/storage-blob/src/Pipeline.js.map +1 -1
  29. package/dist-esm/storage-blob/src/Range.js +1 -1
  30. package/dist-esm/storage-blob/src/Range.js.map +1 -1
  31. package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js +1 -1
  32. package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js.map +1 -1
  33. package/dist-esm/storage-blob/src/StorageClient.js +1 -1
  34. package/dist-esm/storage-blob/src/StorageClient.js.map +1 -1
  35. package/dist-esm/storage-blob/src/StorageContextClient.js +1 -1
  36. package/dist-esm/storage-blob/src/StorageContextClient.js.map +1 -1
  37. package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js +1 -1
  38. package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js.map +1 -1
  39. package/dist-esm/storage-blob/src/credentials/AnonymousCredential.js +1 -1
  40. package/dist-esm/storage-blob/src/credentials/AnonymousCredential.js.map +1 -1
  41. package/dist-esm/storage-blob/src/credentials/Credential.js +1 -1
  42. package/dist-esm/storage-blob/src/credentials/Credential.js.map +1 -1
  43. package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.browser.js +1 -1
  44. package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.browser.js.map +1 -1
  45. package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.js +1 -1
  46. package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.js.map +1 -1
  47. package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.browser.js +1 -1
  48. package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.browser.js.map +1 -1
  49. package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js +1 -1
  50. package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js.map +1 -1
  51. package/dist-esm/storage-blob/src/generated/src/storageClient.js +1 -1
  52. package/dist-esm/storage-blob/src/generated/src/storageClient.js.map +1 -1
  53. package/dist-esm/storage-blob/src/generatedModels.js +1 -1
  54. package/dist-esm/storage-blob/src/generatedModels.js.map +1 -1
  55. package/dist-esm/storage-blob/src/index.js +1 -1
  56. package/dist-esm/storage-blob/src/index.js.map +1 -1
  57. package/dist-esm/storage-blob/src/log.js +1 -1
  58. package/dist-esm/storage-blob/src/log.js.map +1 -1
  59. package/dist-esm/storage-blob/src/models.js +1 -1
  60. package/dist-esm/storage-blob/src/models.js.map +1 -1
  61. package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js +1 -1
  62. package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js.map +1 -1
  63. package/dist-esm/storage-blob/src/policies/CredentialPolicy.js +1 -1
  64. package/dist-esm/storage-blob/src/policies/CredentialPolicy.js.map +1 -1
  65. package/dist-esm/storage-blob/src/policies/RequestPolicy.js +1 -1
  66. package/dist-esm/storage-blob/src/policies/RequestPolicy.js.map +1 -1
  67. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js +1 -1
  68. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicy.js.map +1 -1
  69. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js +1 -1
  70. package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js.map +1 -1
  71. package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.browser.js +1 -1
  72. package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.browser.js.map +1 -1
  73. package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.js +1 -1
  74. package/dist-esm/storage-blob/src/policies/StorageCorrectContentLengthPolicy.js.map +1 -1
  75. package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js +1 -1
  76. package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js.map +1 -1
  77. package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js +1 -1
  78. package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js.map +1 -1
  79. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js +1 -1
  80. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js.map +1 -1
  81. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js +1 -1
  82. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js.map +1 -1
  83. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js +1 -1
  84. package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js.map +1 -1
  85. package/dist-esm/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.js +1 -1
  86. package/dist-esm/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.js.map +1 -1
  87. package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js +1 -1
  88. package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js.map +1 -1
  89. package/dist-esm/storage-blob/src/sas/AccountSASResourceTypes.js +1 -1
  90. package/dist-esm/storage-blob/src/sas/AccountSASResourceTypes.js.map +1 -1
  91. package/dist-esm/storage-blob/src/sas/AccountSASServices.js +1 -1
  92. package/dist-esm/storage-blob/src/sas/AccountSASServices.js.map +1 -1
  93. package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js +1 -1
  94. package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js.map +1 -1
  95. package/dist-esm/storage-blob/src/sas/BlobSASPermissions.js +1 -1
  96. package/dist-esm/storage-blob/src/sas/BlobSASPermissions.js.map +1 -1
  97. package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js +1 -1
  98. package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js.map +1 -1
  99. package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js +1 -1
  100. package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js.map +1 -1
  101. package/dist-esm/storage-blob/src/sas/SASQueryParameters.js +1 -1
  102. package/dist-esm/storage-blob/src/sas/SASQueryParameters.js.map +1 -1
  103. package/dist-esm/storage-blob/src/sas/SasIPRange.js +1 -1
  104. package/dist-esm/storage-blob/src/sas/SasIPRange.js.map +1 -1
  105. package/dist-esm/storage-blob/src/utils/Batch.js +1 -1
  106. package/dist-esm/storage-blob/src/utils/Batch.js.map +1 -1
  107. package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js +1 -1
  108. package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js.map +1 -1
  109. package/dist-esm/storage-blob/src/utils/Mutex.js +1 -1
  110. package/dist-esm/storage-blob/src/utils/Mutex.js.map +1 -1
  111. package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js +1 -1
  112. package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js.map +1 -1
  113. package/dist-esm/storage-blob/src/utils/SharedKeyComparator.js +1 -1
  114. package/dist-esm/storage-blob/src/utils/SharedKeyComparator.js.map +1 -1
  115. package/dist-esm/storage-blob/src/utils/cache.js +1 -1
  116. package/dist-esm/storage-blob/src/utils/cache.js.map +1 -1
  117. package/dist-esm/storage-blob/src/utils/constants.js +2 -2
  118. package/dist-esm/storage-blob/src/utils/constants.js.map +1 -1
  119. package/dist-esm/storage-blob/src/utils/tracing.js +1 -1
  120. package/dist-esm/storage-blob/src/utils/tracing.js.map +1 -1
  121. package/dist-esm/storage-blob/src/utils/utils.common.js +1 -1
  122. package/dist-esm/storage-blob/src/utils/utils.common.js.map +1 -1
  123. package/dist-esm/storage-blob/src/utils/utils.node.js +1 -1
  124. package/dist-esm/storage-blob/src/utils/utils.node.js.map +1 -1
  125. package/dist-esm/storage-file-share/src/AccountSASPermissions.js +1 -1
  126. package/dist-esm/storage-file-share/src/AccountSASPermissions.js.map +1 -1
  127. package/dist-esm/storage-file-share/src/AccountSASResourceTypes.js +1 -1
  128. package/dist-esm/storage-file-share/src/AccountSASResourceTypes.js.map +1 -1
  129. package/dist-esm/storage-file-share/src/AccountSASServices.js +1 -1
  130. package/dist-esm/storage-file-share/src/AccountSASServices.js.map +1 -1
  131. package/dist-esm/storage-file-share/src/AccountSASSignatureValues.js +1 -1
  132. package/dist-esm/storage-file-share/src/AccountSASSignatureValues.js.map +1 -1
  133. package/dist-esm/storage-file-share/src/Clients.js +1 -1
  134. package/dist-esm/storage-file-share/src/Clients.js.map +1 -1
  135. package/dist-esm/storage-file-share/src/FileDownloadResponse.browser.js +1 -1
  136. package/dist-esm/storage-file-share/src/FileDownloadResponse.browser.js.map +1 -1
  137. package/dist-esm/storage-file-share/src/FileDownloadResponse.js +1 -1
  138. package/dist-esm/storage-file-share/src/FileDownloadResponse.js.map +1 -1
  139. package/dist-esm/storage-file-share/src/FileSASPermissions.js +1 -1
  140. package/dist-esm/storage-file-share/src/FileSASPermissions.js.map +1 -1
  141. package/dist-esm/storage-file-share/src/FileSASSignatureValues.js +1 -1
  142. package/dist-esm/storage-file-share/src/FileSASSignatureValues.js.map +1 -1
  143. package/dist-esm/storage-file-share/src/FileSystemAttributes.js +1 -1
  144. package/dist-esm/storage-file-share/src/FileSystemAttributes.js.map +1 -1
  145. package/dist-esm/storage-file-share/src/Pipeline.js +1 -1
  146. package/dist-esm/storage-file-share/src/Pipeline.js.map +1 -1
  147. package/dist-esm/storage-file-share/src/Range.js +1 -1
  148. package/dist-esm/storage-file-share/src/Range.js.map +1 -1
  149. package/dist-esm/storage-file-share/src/SASQueryParameters.js +1 -1
  150. package/dist-esm/storage-file-share/src/SASQueryParameters.js.map +1 -1
  151. package/dist-esm/storage-file-share/src/SasIPRange.js +1 -1
  152. package/dist-esm/storage-file-share/src/SasIPRange.js.map +1 -1
  153. package/dist-esm/storage-file-share/src/ShareClientInternal.js +1 -1
  154. package/dist-esm/storage-file-share/src/ShareClientInternal.js.map +1 -1
  155. package/dist-esm/storage-file-share/src/ShareSASPermissions.js +1 -1
  156. package/dist-esm/storage-file-share/src/ShareSASPermissions.js.map +1 -1
  157. package/dist-esm/storage-file-share/src/ShareServiceClient.js +1 -1
  158. package/dist-esm/storage-file-share/src/ShareServiceClient.js.map +1 -1
  159. package/dist-esm/storage-file-share/src/StorageClient.js +1 -1
  160. package/dist-esm/storage-file-share/src/StorageClient.js.map +1 -1
  161. package/dist-esm/storage-file-share/src/StorageContextClient.js +1 -1
  162. package/dist-esm/storage-file-share/src/StorageContextClient.js.map +1 -1
  163. package/dist-esm/storage-file-share/src/StorageRetryPolicyFactory.js +1 -1
  164. package/dist-esm/storage-file-share/src/StorageRetryPolicyFactory.js.map +1 -1
  165. package/dist-esm/storage-file-share/src/generated/src/storageClient.js +1 -1
  166. package/dist-esm/storage-file-share/src/generated/src/storageClient.js.map +1 -1
  167. package/dist-esm/storage-file-share/src/generatedModels.js +1 -1
  168. package/dist-esm/storage-file-share/src/generatedModels.js.map +1 -1
  169. package/dist-esm/storage-file-share/src/index.browser.js +1 -1
  170. package/dist-esm/storage-file-share/src/index.browser.js.map +1 -1
  171. package/dist-esm/storage-file-share/src/index.js +1 -1
  172. package/dist-esm/storage-file-share/src/index.js.map +1 -1
  173. package/dist-esm/storage-file-share/src/log.js +1 -1
  174. package/dist-esm/storage-file-share/src/log.js.map +1 -1
  175. package/dist-esm/storage-file-share/src/models.js +1 -1
  176. package/dist-esm/storage-file-share/src/models.js.map +1 -1
  177. package/dist-esm/storage-file-share/src/policies/StorageRetryPolicy.js +1 -1
  178. package/dist-esm/storage-file-share/src/policies/StorageRetryPolicy.js.map +1 -1
  179. package/dist-esm/storage-file-share/src/policies/StorageRetryPolicyV2.js +1 -1
  180. package/dist-esm/storage-file-share/src/policies/StorageRetryPolicyV2.js.map +1 -1
  181. package/dist-esm/storage-file-share/src/utils/Batch.js +1 -1
  182. package/dist-esm/storage-file-share/src/utils/Batch.js.map +1 -1
  183. package/dist-esm/storage-file-share/src/utils/BufferScheduler.js +1 -1
  184. package/dist-esm/storage-file-share/src/utils/BufferScheduler.js.map +1 -1
  185. package/dist-esm/storage-file-share/src/utils/RetriableReadableStream.js +1 -1
  186. package/dist-esm/storage-file-share/src/utils/RetriableReadableStream.js.map +1 -1
  187. package/dist-esm/storage-file-share/src/utils/constants.js +2 -2
  188. package/dist-esm/storage-file-share/src/utils/constants.js.map +1 -1
  189. package/dist-esm/storage-file-share/src/utils/tracing.js +1 -1
  190. package/dist-esm/storage-file-share/src/utils/tracing.js.map +1 -1
  191. package/dist-esm/storage-file-share/src/utils/utils.browser.js +1 -1
  192. package/dist-esm/storage-file-share/src/utils/utils.browser.js.map +1 -1
  193. package/dist-esm/storage-file-share/src/utils/utils.common.js +1 -1
  194. package/dist-esm/storage-file-share/src/utils/utils.common.js.map +1 -1
  195. package/dist-esm/storage-file-share/src/utils/utils.node.js +1 -1
  196. package/dist-esm/storage-file-share/src/utils/utils.node.js.map +1 -1
  197. package/package.json +7 -7
package/README.md CHANGED
@@ -213,7 +213,7 @@ const serviceClient = new ShareServiceClient(
213
213
  );
214
214
 
215
215
  async function main() {
216
- let shareIter = serviceClient.listShares();
216
+ const shareIter = serviceClient.listShares();
217
217
  let i = 1;
218
218
  for await (const share of shareIter) {
219
219
  console.log(`Share${i}: ${share.name}`);
@@ -239,7 +239,7 @@ const serviceClient = new ShareServiceClient(
239
239
  );
240
240
 
241
241
  async function main() {
242
- let shareIter = serviceClient.listShares();
242
+ const shareIter = serviceClient.listShares();
243
243
  let i = 1;
244
244
  let shareItem = await shareIter.next();
245
245
  while (!shareItem.done) {
@@ -338,7 +338,7 @@ const directoryName = "<directory name>";
338
338
  async function main() {
339
339
  const directoryClient = serviceClient.getShareClient(shareName).getDirectoryClient(directoryName);
340
340
 
341
- let dirIter = directoryClient.listFilesAndDirectories();
341
+ const dirIter = directoryClient.listFilesAndDirectories();
342
342
  let i = 1;
343
343
  for await (const item of dirIter) {
344
344
  if (item.kind === "directory") {
@@ -373,7 +373,7 @@ const directoryName = "<directory name>";
373
373
  async function main() {
374
374
  const directoryClient = serviceClient.getShareClient(shareName).getDirectoryClient(directoryName);
375
375
 
376
- let dirIter = directoryClient.listFilesAndDirectories();
376
+ const dirIter = directoryClient.listFilesAndDirectories();
377
377
  let i = 1;
378
378
  let item = await dirIter.next();
379
379
  while (!item.done) {
@@ -382,6 +382,7 @@ async function main() {
382
382
  } else {
383
383
  console.log(`${i} - file\t: ${item.value.name}`);
384
384
  }
385
+ i++;
385
386
  item = await dirIter.next();
386
387
  }
387
388
  }
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
41
41
  var util__namespace = /*#__PURE__*/_interopNamespaceDefault(util);
42
42
 
43
43
  // Copyright (c) Microsoft Corporation.
44
- // Licensed under the MIT license.
44
+ // Licensed under the MIT License.
45
45
  /**
46
46
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
47
47
  *
@@ -169,7 +169,7 @@ class AccountSASPermissions {
169
169
  }
170
170
 
171
171
  // Copyright (c) Microsoft Corporation.
172
- // Licensed under the MIT license.
172
+ // Licensed under the MIT License.
173
173
  /**
174
174
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
175
175
  *
@@ -241,7 +241,7 @@ class AccountSASResourceTypes {
241
241
  }
242
242
 
243
243
  // Copyright (c) Microsoft Corporation.
244
- // Licensed under the MIT license.
244
+ // Licensed under the MIT License.
245
245
  /**
246
246
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
247
247
  *
@@ -321,7 +321,7 @@ class AccountSASServices {
321
321
  }
322
322
 
323
323
  // Copyright (c) Microsoft Corporation.
324
- // Licensed under the MIT license.
324
+ // Licensed under the MIT License.
325
325
  /**
326
326
  * Generate SasIPRange format string. For example:
327
327
  *
@@ -335,8 +335,8 @@ function ipRangeToString(ipRange) {
335
335
  }
336
336
 
337
337
  // Copyright (c) Microsoft Corporation.
338
- // Licensed under the MIT license.
339
- const SDK_VERSION = "12.25.0-beta.1";
338
+ // Licensed under the MIT License.
339
+ const SDK_VERSION = "12.25.0";
340
340
  const SERVICE_VERSION = "2024-11-04";
341
341
  const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
342
342
  const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
@@ -467,7 +467,7 @@ const PathStylePorts = [
467
467
  ];
468
468
 
469
469
  // Copyright (c) Microsoft Corporation.
470
- // Licensed under the MIT license.
470
+ // Licensed under the MIT License.
471
471
  /**
472
472
  * Reserved URL characters must be properly escaped for Storage services like Blob or File.
473
473
  *
@@ -928,7 +928,7 @@ function asSharePermission(value) {
928
928
  }
929
929
 
930
930
  // Copyright (c) Microsoft Corporation.
931
- // Licensed under the MIT license.
931
+ // Licensed under the MIT License.
932
932
  /**
933
933
  * Protocols for generated SAS.
934
934
  */
@@ -1103,7 +1103,7 @@ class SASQueryParameters {
1103
1103
  }
1104
1104
 
1105
1105
  // Copyright (c) Microsoft Corporation.
1106
- // Licensed under the MIT license.
1106
+ // Licensed under the MIT License.
1107
1107
  /**
1108
1108
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
1109
1109
  *
@@ -1167,7 +1167,7 @@ function generateAccountSASQueryParametersInternal(accountSASSignatureValues, sh
1167
1167
  }
1168
1168
 
1169
1169
  // Copyright (c) Microsoft Corporation.
1170
- // Licensed under the MIT license.
1170
+ // Licensed under the MIT License.
1171
1171
  /**
1172
1172
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
1173
1173
  *
@@ -1249,7 +1249,7 @@ class FileSASPermissions {
1249
1249
  }
1250
1250
 
1251
1251
  // Copyright (c) Microsoft Corporation.
1252
- // Licensed under the MIT license.
1252
+ // Licensed under the MIT License.
1253
1253
  /**
1254
1254
  * This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a share.
1255
1255
  * Setting a value to true means that any SAS which uses these permissions will grant permissions for that operation.
@@ -1341,7 +1341,7 @@ class ShareSASPermissions {
1341
1341
  }
1342
1342
 
1343
1343
  // Copyright (c) Microsoft Corporation.
1344
- // Licensed under the MIT license.
1344
+ // Licensed under the MIT License.
1345
1345
  /**
1346
1346
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
1347
1347
  *
@@ -1419,14 +1419,14 @@ function getCanonicalName(accountName, shareName, filePath) {
1419
1419
  }
1420
1420
 
1421
1421
  // Copyright (c) Microsoft Corporation.
1422
- // Licensed under the MIT license.
1422
+ // Licensed under the MIT License.
1423
1423
  /**
1424
1424
  * The `@azure/logger` configuration for this package.
1425
1425
  */
1426
1426
  const logger = logger$1.createClientLogger("storage-file-share");
1427
1427
 
1428
1428
  // Copyright (c) Microsoft Corporation.
1429
- // Licensed under the MIT license.
1429
+ // Licensed under the MIT License.
1430
1430
  /**
1431
1431
  * The base class from which all request policies derive.
1432
1432
  */
@@ -1466,7 +1466,7 @@ class BaseRequestPolicy {
1466
1466
  }
1467
1467
 
1468
1468
  // Copyright (c) Microsoft Corporation.
1469
- // Licensed under the MIT license.
1469
+ // Licensed under the MIT License.
1470
1470
  /**
1471
1471
  * RetryPolicy types.
1472
1472
  */
@@ -1669,7 +1669,7 @@ class StorageRetryPolicy extends BaseRequestPolicy {
1669
1669
  }
1670
1670
 
1671
1671
  // Copyright (c) Microsoft Corporation.
1672
- // Licensed under the MIT license.
1672
+ // Licensed under the MIT License.
1673
1673
  /**
1674
1674
  * StorageRetryPolicyFactory is a factory class helping generating {@link StorageRetryPolicy} objects.
1675
1675
  */
@@ -1693,7 +1693,7 @@ class StorageRetryPolicyFactory {
1693
1693
  }
1694
1694
 
1695
1695
  // Copyright (c) Microsoft Corporation.
1696
- // Licensed under the MIT license.
1696
+ // Licensed under the MIT License.
1697
1697
  const URLConstants = {
1698
1698
  Parameters: {
1699
1699
  FORCE_BROWSER_NO_CACHE: "_",
@@ -1731,7 +1731,7 @@ const HeaderConstants = {
1731
1731
  };
1732
1732
 
1733
1733
  // Copyright (c) Microsoft Corporation.
1734
- // Licensed under the MIT license.
1734
+ // Licensed under the MIT License.
1735
1735
  /**
1736
1736
  * Set URL parameter name and value. If name exists in URL parameters, old value
1737
1737
  * will be replaced by name key. If not provide value, the parameter will be deleted.
@@ -1805,7 +1805,7 @@ function getURLQueries(url) {
1805
1805
  }
1806
1806
 
1807
1807
  // Copyright (c) Microsoft Corporation.
1808
- // Licensed under the MIT license.
1808
+ // Licensed under the MIT License.
1809
1809
  /**
1810
1810
  * Credential policy used to sign HTTP(S) requests before sending. This is an
1811
1811
  * abstract class.
@@ -1833,7 +1833,7 @@ class CredentialPolicy extends BaseRequestPolicy {
1833
1833
  }
1834
1834
 
1835
1835
  // Copyright (c) Microsoft Corporation.
1836
- // Licensed under the MIT license.
1836
+ // Licensed under the MIT License.
1837
1837
  /*
1838
1838
  * We need to imitate .Net culture-aware sorting, which is used in storage service.
1839
1839
  * Below tables contain sort-keys for en-US culture.
@@ -1906,7 +1906,7 @@ function isLessThan(lhs, rhs) {
1906
1906
  }
1907
1907
 
1908
1908
  // Copyright (c) Microsoft Corporation.
1909
- // Licensed under the MIT license.
1909
+ // Licensed under the MIT License.
1910
1910
  /**
1911
1911
  * StorageSharedKeyCredentialPolicy is a policy used to sign HTTP request with a shared key.
1912
1912
  */
@@ -2043,7 +2043,7 @@ class StorageSharedKeyCredentialPolicy extends CredentialPolicy {
2043
2043
  }
2044
2044
 
2045
2045
  // Copyright (c) Microsoft Corporation.
2046
- // Licensed under the MIT license.
2046
+ // Licensed under the MIT License.
2047
2047
  /**
2048
2048
  * Credential is an abstract class for Azure Storage HTTP requests signing. This
2049
2049
  * class will host an credentialPolicyCreator factory which generates CredentialPolicy.
@@ -2061,7 +2061,7 @@ class Credential {
2061
2061
  }
2062
2062
 
2063
2063
  // Copyright (c) Microsoft Corporation.
2064
- // Licensed under the MIT license.
2064
+ // Licensed under the MIT License.
2065
2065
  /**
2066
2066
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
2067
2067
  *
@@ -2098,7 +2098,7 @@ class StorageSharedKeyCredential extends Credential {
2098
2098
  }
2099
2099
 
2100
2100
  // Copyright (c) Microsoft Corporation.
2101
- // Licensed under the MIT license.
2101
+ // Licensed under the MIT License.
2102
2102
  /**
2103
2103
  * AnonymousCredentialPolicy is used with HTTP(S) requests that read public resources
2104
2104
  * or for use with Shared Access Signatures (SAS).
@@ -2117,7 +2117,7 @@ class AnonymousCredentialPolicy extends CredentialPolicy {
2117
2117
  }
2118
2118
 
2119
2119
  // Copyright (c) Microsoft Corporation.
2120
- // Licensed under the MIT license.
2120
+ // Licensed under the MIT License.
2121
2121
  /**
2122
2122
  * AnonymousCredential provides a credentialPolicyCreator member used to create
2123
2123
  * AnonymousCredentialPolicy objects. AnonymousCredentialPolicy is used with
@@ -2137,7 +2137,7 @@ class AnonymousCredential extends Credential {
2137
2137
  }
2138
2138
 
2139
2139
  // Copyright (c) Microsoft Corporation.
2140
- // Licensed under the MIT license.
2140
+ // Licensed under the MIT License.
2141
2141
  let _defaultHttpClient;
2142
2142
  function getCachedDefaultHttpClient() {
2143
2143
  if (!_defaultHttpClient) {
@@ -2147,7 +2147,7 @@ function getCachedDefaultHttpClient() {
2147
2147
  }
2148
2148
 
2149
2149
  // Copyright (c) Microsoft Corporation.
2150
- // Licensed under the MIT license.
2150
+ // Licensed under the MIT License.
2151
2151
  /**
2152
2152
  * The programmatic identifier of the StorageBrowserPolicy.
2153
2153
  */
@@ -2175,7 +2175,7 @@ function storageBrowserPolicy() {
2175
2175
  }
2176
2176
 
2177
2177
  // Copyright (c) Microsoft Corporation.
2178
- // Licensed under the MIT license.
2178
+ // Licensed under the MIT License.
2179
2179
  /**
2180
2180
  * Name of the {@link storageRetryPolicy}
2181
2181
  */
@@ -2342,7 +2342,7 @@ function storageRetryPolicy(options = {}) {
2342
2342
  }
2343
2343
 
2344
2344
  // Copyright (c) Microsoft Corporation.
2345
- // Licensed under the MIT license.
2345
+ // Licensed under the MIT License.
2346
2346
  /**
2347
2347
  * The programmatic identifier of the storageSharedKeyCredentialPolicy.
2348
2348
  */
@@ -2470,7 +2470,7 @@ function storageSharedKeyCredentialPolicy(options) {
2470
2470
  }
2471
2471
 
2472
2472
  // Copyright (c) Microsoft Corporation.
2473
- // Licensed under the MIT license.
2473
+ // Licensed under the MIT License.
2474
2474
  /**
2475
2475
  * StorageBrowserPolicy will handle differences between Node.js and browser runtime, including:
2476
2476
  *
@@ -2513,7 +2513,7 @@ class StorageBrowserPolicy extends BaseRequestPolicy {
2513
2513
  }
2514
2514
 
2515
2515
  // Copyright (c) Microsoft Corporation.
2516
- // Licensed under the MIT license.
2516
+ // Licensed under the MIT License.
2517
2517
  /**
2518
2518
  * StorageBrowserPolicyFactory is a factory class helping generating StorageBrowserPolicy objects.
2519
2519
  */
@@ -2530,7 +2530,7 @@ class StorageBrowserPolicyFactory {
2530
2530
  }
2531
2531
 
2532
2532
  // Copyright (c) Microsoft Corporation.
2533
- // Licensed under the MIT license.
2533
+ // Licensed under the MIT License.
2534
2534
  /**
2535
2535
  * The programmatic identifier of the storageCorrectContentLengthPolicy.
2536
2536
  */
@@ -2556,7 +2556,7 @@ function storageCorrectContentLengthPolicy() {
2556
2556
  }
2557
2557
 
2558
2558
  // Copyright (c) Microsoft Corporation.
2559
- // Licensed under the MIT license.
2559
+ // Licensed under the MIT License.
2560
2560
  /**
2561
2561
  * A helper to decide if a given argument satisfies the Pipeline contract
2562
2562
  * @param pipeline - An argument that may be a Pipeline
@@ -2797,7 +2797,7 @@ function isCoreHttpPolicyFactory(factory) {
2797
2797
  }
2798
2798
 
2799
2799
  // Copyright (c) Microsoft Corporation.
2800
- // Licensed under the MIT license.
2800
+ // Licensed under the MIT License.
2801
2801
  /**
2802
2802
  * Creates a span using the global tracer.
2803
2803
  * @internal
@@ -11359,7 +11359,7 @@ let StorageClient$1 = class StorageClient extends coreHttpCompat__namespace.Exte
11359
11359
  const defaults = {
11360
11360
  requestContentType: "application/json; charset=utf-8"
11361
11361
  };
11362
- const packageDetails = `azsdk-js-azure-storage-file-share/12.25.0-beta.1`;
11362
+ const packageDetails = `azsdk-js-azure-storage-file-share/12.25.0`;
11363
11363
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
11364
11364
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
11365
11365
  : `${packageDetails}`;
@@ -11380,7 +11380,7 @@ let StorageClient$1 = class StorageClient extends coreHttpCompat__namespace.Exte
11380
11380
  };
11381
11381
 
11382
11382
  // Copyright (c) Microsoft Corporation.
11383
- // Licensed under the MIT license.
11383
+ // Licensed under the MIT License.
11384
11384
  /**
11385
11385
  * @internal
11386
11386
  */
@@ -11397,7 +11397,7 @@ class StorageContextClient extends StorageClient$1 {
11397
11397
  }
11398
11398
 
11399
11399
  // Copyright (c) Microsoft Corporation.
11400
- // Licensed under the MIT license.
11400
+ // Licensed under the MIT License.
11401
11401
  /**
11402
11402
  * A StorageClient represents a base client class for ServiceClient, ContainerClient and etc.
11403
11403
  */
@@ -11424,7 +11424,7 @@ class StorageClient {
11424
11424
  }
11425
11425
 
11426
11426
  // Copyright (c) Microsoft Corporation.
11427
- // Licensed under the MIT license.
11427
+ // Licensed under the MIT License.
11428
11428
  /**
11429
11429
  * This is a helper class to construct a string representing the NTFS attributes to a file or directory.
11430
11430
  * @see https://docs.microsoft.com/en-us/rest/api/storageservices/create-file#file-system-attributes
@@ -11568,7 +11568,7 @@ class FileSystemAttributes {
11568
11568
  }
11569
11569
 
11570
11570
  // Copyright (c) Microsoft Corporation.
11571
- // Licensed under the MIT license.
11571
+ // Licensed under the MIT License.
11572
11572
  /**
11573
11573
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
11574
11574
  *
@@ -11685,7 +11685,7 @@ class RetriableReadableStream extends stream.Readable {
11685
11685
  }
11686
11686
 
11687
11687
  // Copyright (c) Microsoft Corporation.
11688
- // Licensed under the MIT license.
11688
+ // Licensed under the MIT License.
11689
11689
  /**
11690
11690
  * ONLY AVAILABLE IN NODE.JS RUNTIME.
11691
11691
  *
@@ -12043,7 +12043,7 @@ class FileDownloadResponse {
12043
12043
  }
12044
12044
 
12045
12045
  // Copyright (c) Microsoft Corporation.
12046
- // Licensed under the MIT license.
12046
+ // Licensed under the MIT License.
12047
12047
  /**
12048
12048
  * Generate a range string. For example:
12049
12049
  *
@@ -12065,7 +12065,7 @@ function rangeToString(range) {
12065
12065
  }
12066
12066
 
12067
12067
  // Copyright (c) Microsoft Corporation.
12068
- // Licensed under the MIT license.
12068
+ // Licensed under the MIT License.
12069
12069
  /**
12070
12070
  * Convert protocols from joined string to ShareProtocols.
12071
12071
  *
@@ -12177,7 +12177,7 @@ function getFileServiceAccountAudience(storageAccountName) {
12177
12177
  }
12178
12178
 
12179
12179
  // Copyright (c) Microsoft Corporation.
12180
- // Licensed under the MIT license.
12180
+ // Licensed under the MIT License.
12181
12181
  // In browser, during webpack or browserify bundling, this module will be replaced by 'events'
12182
12182
  // https://github.com/Gozala/events
12183
12183
  /**
@@ -12298,7 +12298,7 @@ class Batch {
12298
12298
  }
12299
12299
 
12300
12300
  // Copyright (c) Microsoft Corporation.
12301
- // Licensed under the MIT license.
12301
+ // Licensed under the MIT License.
12302
12302
  /**
12303
12303
  * This class accepts a Node.js Readable stream as input, and keeps reading data
12304
12304
  * from the stream into the internal buffer structure, until it reaches maxBuffers.
@@ -12561,7 +12561,7 @@ class BufferScheduler {
12561
12561
  }
12562
12562
 
12563
12563
  // Copyright (c) Microsoft Corporation.
12564
- // Licensed under the MIT license.
12564
+ // Licensed under the MIT License.
12565
12565
  /**
12566
12566
  * Reads a readable stream into buffer. Fill the buffer from offset to end.
12567
12567
  *
@@ -12637,7 +12637,7 @@ const fsStat = util__namespace.promisify(fs__namespace.stat);
12637
12637
  const fsCreateReadStream = fs__namespace.createReadStream;
12638
12638
 
12639
12639
  // Copyright (c) Microsoft Corporation.
12640
- // Licensed under the MIT license.
12640
+ // Licensed under the MIT License.
12641
12641
  /**
12642
12642
  * A ShareClient represents a URL to the Azure Storage share allowing you to manipulate its directories and files.
12643
12643
  */
@@ -15184,7 +15184,7 @@ function isFile(fileOrShare) {
15184
15184
  }
15185
15185
 
15186
15186
  // Copyright (c) Microsoft Corporation.
15187
- // Licensed under the MIT license.
15187
+ // Licensed under the MIT License.
15188
15188
  /**
15189
15189
  * ShareClientInternal is the thin wrapper for Share which contains internal helper methods.
15190
15190
  */
@@ -15199,7 +15199,7 @@ class ShareClientInternal extends StorageClient {
15199
15199
  }
15200
15200
 
15201
15201
  // Copyright (c) Microsoft Corporation.
15202
- // Licensed under the MIT license.
15202
+ // Licensed under the MIT License.
15203
15203
  /**
15204
15204
  * A ShareServiceClient represents a URL to the Azure Storage File service allowing you
15205
15205
  * to manipulate file shares.
@@ -15605,7 +15605,7 @@ class ShareServiceClient extends StorageClient {
15605
15605
  }
15606
15606
 
15607
15607
  // Copyright (c) Microsoft Corporation.
15608
- // Licensed under the MIT license.
15608
+ // Licensed under the MIT License.
15609
15609
  /** Known values of {@link ShareTokenIntent} that the service accepts. */
15610
15610
  exports.KnownShareTokenIntent = void 0;
15611
15611
  (function (KnownShareTokenIntent) {