@vercel/build-utils 13.36.1 → 13.36.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/CHANGELOG.md +6 -0
- package/dist/file-blob.js +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/file-blob.js
CHANGED
|
@@ -71,6 +71,7 @@ class FileBlob {
|
|
|
71
71
|
return this.toStream();
|
|
72
72
|
}
|
|
73
73
|
toStream() {
|
|
74
|
-
|
|
74
|
+
const data = typeof this.data === "string" ? Buffer.from(this.data, "utf8") : this.data;
|
|
75
|
+
return (0, import_into_stream.default)(data);
|
|
75
76
|
}
|
|
76
77
|
}
|
package/dist/index.js
CHANGED
|
@@ -31744,7 +31744,8 @@ var FileBlob = class _FileBlob {
|
|
|
31744
31744
|
return this.toStream();
|
|
31745
31745
|
}
|
|
31746
31746
|
toStream() {
|
|
31747
|
-
|
|
31747
|
+
const data = typeof this.data === "string" ? Buffer.from(this.data, "utf8") : this.data;
|
|
31748
|
+
return (0, import_into_stream.default)(data);
|
|
31748
31749
|
}
|
|
31749
31750
|
};
|
|
31750
31751
|
|