We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
new Buffer()
Buffer.from()
1 parent 6345a72 commit 4dc74f6Copy full SHA for 4dc74f6
index.js
@@ -25,7 +25,7 @@ function validateOptions(opts) {
25
function createFile(filename, output, buildResponse, sourceMap) {
26
var newFile = new Vinyl({
27
path: filename,
28
- contents: new Buffer(output)
+ contents: Buffer.from(output)
29
});
30
// Add a string containing the list of added dependencies for
31
// debugging purposes.
0 commit comments