@azure/storage-file-share 12.23.0-alpha.20231206.1 → 12.23.0-alpha.20231218.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ import { fileAttributesToString, fileCreationTimeToString, fileLastWriteTimeToSt
19
19
  import { Batch } from "./utils/Batch";
20
20
  import { BufferScheduler } from "./utils/BufferScheduler";
21
21
  import { fsStat, fsCreateReadStream, readStreamToLocalFile, streamToBuffer, } from "./utils/utils.node";
22
- import { v4 as generateUuid } from "uuid";
22
+ import { randomUUID } from "@azure/core-util";
23
23
  import { generateFileSASQueryParameters } from "./FileSASSignatureValues";
24
24
  /**
25
25
  * A ShareClient represents a URL to the Azure Storage share allowing you to manipulate its directories and files.
@@ -2444,7 +2444,7 @@ export class ShareLeaseClient {
2444
2444
  }
2445
2445
  this._url = client.url;
2446
2446
  if (!leaseId) {
2447
- leaseId = generateUuid();
2447
+ leaseId = randomUUID();
2448
2448
  }
2449
2449
  this._leaseId = leaseId;
2450
2450
  }