Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return stream.transform(data, value => {
if (value.length) {
obj.push(value, pako.Z_SYNC_FLUSH);
return obj.result;
}
}, () => {
if (constructor === pako.Deflate) {