fix(node): add missing named zlib exports (#2435)

Some of Node's named zlib exports were only being exported as
part of the default export. This commit adds the remaining named
exports.

Fixes: https://github.com/denoland/deno_std/issues/2432
This commit is contained in:
Colin Ihrig 2022-07-11 16:54:07 -04:00 committed by GitHub
parent eb4f512cc4
commit f26ad9954e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,3 +120,35 @@ export default {
unzip,
unzipSync,
};
export {
codes,
createDeflate,
createDeflateRaw,
createGunzip,
createGzip,
createInflate,
createInflateRaw,
createUnzip,
Deflate,
deflate,
DeflateRaw,
deflateRaw,
deflateRawSync,
deflateSync,
Gunzip,
gunzip,
gunzipSync,
Gzip,
gzip,
gzipSync,
Inflate,
inflate,
InflateRaw,
inflateRaw,
inflateRawSync,
inflateSync,
Unzip,
unzip,
unzipSync,
};