@azure/storage-file-share 12.13.0-beta.1 → 12.13.0
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 +4 -3
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/src/storageClientContext.js +1 -1
- package/dist-esm/src/generated/src/storageClientContext.js.map +1 -1
- package/dist-esm/src/utils/constants.js +1 -1
- package/dist-esm/src/utils/constants.js.map +1 -1
- package/dist-esm/src/utils/utils.common.js +2 -1
- package/dist-esm/src/utils/utils.common.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -334,7 +334,7 @@ function ipRangeToString(ipRange) {
|
|
334
334
|
|
335
335
|
// Copyright (c) Microsoft Corporation.
|
336
336
|
// Licensed under the MIT license.
|
337
|
-
const SDK_VERSION = "12.13.0
|
337
|
+
const SDK_VERSION = "12.13.0";
|
338
338
|
const SERVICE_VERSION = "2021-12-02";
|
339
339
|
const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
|
340
340
|
const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
|
@@ -636,7 +636,8 @@ function appendToURLPath(url, name) {
|
|
636
636
|
let path = urlParsed.getPath();
|
637
637
|
path = path ? (path.endsWith("/") ? `${path}${name}` : `${path}/${name}`) : name;
|
638
638
|
urlParsed.setPath(path);
|
639
|
-
|
639
|
+
const normalizedUrl = new URL(urlParsed.toString());
|
640
|
+
return normalizedUrl.toString();
|
640
641
|
}
|
641
642
|
/**
|
642
643
|
* Append a string to URL query.
|
@@ -10501,7 +10502,7 @@ function convertTracingToRequestOptionsBase(options) {
|
|
10501
10502
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
10502
10503
|
*/
|
10503
10504
|
const packageName = "azure-storage-file-share";
|
10504
|
-
const packageVersion = "12.13.0
|
10505
|
+
const packageVersion = "12.13.0";
|
10505
10506
|
class StorageClientContext extends coreHttp__namespace.ServiceClient {
|
10506
10507
|
/**
|
10507
10508
|
* Initializes a new instance of the StorageClientContext class.
|