We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ info: true }
node:zlib
We currently roll our own implementation for convenience methods that doesn't support {info:true} options.
{info:true}
Node.js implementation which lives under https://github.com/nodejs/node/blob/main/lib/zlib.js#L160 is as follows:
function zlibBufferOnEnd() { let buf; if (this.nread === 0) { buf = Buffer.alloc(0); } else { const bufs = this.buffers; buf = (bufs.length === 1 ? bufs[0] : Buffer.concat(bufs, this.nread)); } this.close(); if (this._info) this.cb(null, { buffer: buf, engine: this }); else this.cb(null, buf); }
We need to support this.info check for existing TODO tests to succeed.
this.info
The text was updated successfully, but these errors were encountered:
npaun
Successfully merging a pull request may close this issue.
We currently roll our own implementation for convenience methods that doesn't support
{info:true}
options.Node.js implementation which lives under https://github.com/nodejs/node/blob/main/lib/zlib.js#L160 is as follows:
We need to support
this.info
check for existing TODO tests to succeed.The text was updated successfully, but these errors were encountered: