@azure/storage-file-share 12.27.0-alpha.20250310.1 → 12.27.0-alpha.20250313.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azure/storage-file-share",
3
3
  "sdk-type": "client",
4
- "version": "12.27.0-alpha.20250310.1",
4
+ "version": "12.27.0-alpha.20250313.2",
5
5
  "description": "Microsoft Azure Storage SDK for JavaScript - File",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist-esm/storage-file-share/src/index.js",
@@ -6441,7 +6441,7 @@ export declare class ShareFileClient extends StorageClient {
6441
6441
  * return new Promise((resolve, reject) => {
6442
6442
  * const chunks = [];
6443
6443
  * readableStream.on("data", (data) => {
6444
- * chunks.push(data instanceof Buffer ? data : Buffer.from(data));
6444
+ * chunks.push(typeof data === "string" ? Buffer.from(data) : data);
6445
6445
  * });
6446
6446
  * readableStream.on("end", () => {
6447
6447
  * resolve(Buffer.concat(chunks));