Closed chadn closed 5 years ago
for node < v4 we need to have something like below instead of directly using Buffer.from
function bufferFrom(content) {
try {
return Buffer.from(content);
} catch(e) {
if (Object.prototype.toString.call(content) !== '[object String]') {
throw new TypeError("separator must be a string");
}
return new Buffer(content);
}
}
I am also getting this error. Could you please tell me when we get the resolve version.
Thanks for the reports! Will definitely fix this issue. (Thanks @deepakpadukone20 for #48 ) This is a holiday week in the US, so I might not have time to do this right away.
When can we expect the fix for this to be released ?
I've just gotten travis set up to test yazl against old versions of node. I should be able to fix this tonight.
yazl version 2.5.1 is now published. This should resolve all the compatibility issues.
Thank you all for your patience!
We use gulp-zip which uses yazl and a few days ago our build broke because of changes in 2.5.0 Here's the error
I forked gulp-zip and hardcoded yazl to use version 2.4.3 till this is fixed. Hopefully will be fixed soon.