mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
feat(ext/node): export missing constants from 'zlib' module (#25584)
That puts us at 99.5% compatibility for this module.
This commit is contained in:
parent
05bd547238
commit
3f6605d123
1 changed files with 61 additions and 17 deletions
|
@ -78,20 +78,15 @@ export class ZlibBase {
|
|||
export { constants };
|
||||
|
||||
export default {
|
||||
Options,
|
||||
BrotliOptions,
|
||||
brotliCompress,
|
||||
BrotliCompress,
|
||||
brotliCompressSync,
|
||||
brotliDecompress,
|
||||
BrotliDecompress,
|
||||
Deflate,
|
||||
DeflateRaw,
|
||||
Gunzip,
|
||||
Gzip,
|
||||
Inflate,
|
||||
InflateRaw,
|
||||
Unzip,
|
||||
ZlibBase,
|
||||
constants,
|
||||
brotliDecompressSync,
|
||||
BrotliOptions,
|
||||
codes,
|
||||
constants,
|
||||
createBrotliCompress,
|
||||
createBrotliDecompress,
|
||||
createDeflate,
|
||||
|
@ -101,24 +96,73 @@ export default {
|
|||
createInflate,
|
||||
createInflateRaw,
|
||||
createUnzip,
|
||||
brotliCompress,
|
||||
brotliCompressSync,
|
||||
brotliDecompress,
|
||||
brotliDecompressSync,
|
||||
deflate,
|
||||
deflateSync,
|
||||
Deflate,
|
||||
DEFLATE: constants.DEFLATE,
|
||||
deflateRaw,
|
||||
DeflateRaw,
|
||||
DEFLATERAW: constants.DEFLATERAW,
|
||||
deflateRawSync,
|
||||
deflateSync,
|
||||
gunzip,
|
||||
Gunzip,
|
||||
GUNZIP: constants.GUNZIP,
|
||||
gunzipSync,
|
||||
gzip,
|
||||
Gzip,
|
||||
GZIP: constants.GZIP,
|
||||
gzipSync,
|
||||
inflate,
|
||||
inflateSync,
|
||||
Inflate,
|
||||
INFLATE: constants.INFLATE,
|
||||
inflateRaw,
|
||||
InflateRaw,
|
||||
INFLATERAW: constants.INFLATERAW,
|
||||
inflateRawSync,
|
||||
inflateSync,
|
||||
Options,
|
||||
unzip,
|
||||
Unzip,
|
||||
UNZIP: constants.UNZIP,
|
||||
unzipSync,
|
||||
Z_BEST_COMPRESSION: constants.Z_BEST_COMPRESSION,
|
||||
Z_BEST_SPEED: constants.Z_BEST_SPEED,
|
||||
Z_BLOCK: constants.Z_BLOCK,
|
||||
Z_BUF_ERROR: constants.Z_BUF_ERROR,
|
||||
Z_DATA_ERROR: constants.Z_DATA_ERROR,
|
||||
Z_DEFAULT_CHUNK: constants.Z_DEFAULT_CHUNK,
|
||||
Z_DEFAULT_COMPRESSION: constants.Z_DEFAULT_COMPRESSION,
|
||||
Z_DEFAULT_LEVEL: constants.Z_DEFAULT_LEVEL,
|
||||
Z_DEFAULT_MEMLEVEL: constants.Z_DEFAULT_MEMLEVEL,
|
||||
Z_DEFAULT_STRATEGY: constants.Z_DEFAULT_STRATEGY,
|
||||
Z_DEFAULT_WINDOWBITS: constants.Z_DEFAULT_WINDOWBITS,
|
||||
Z_ERRNO: constants.Z_ERRNO,
|
||||
Z_FILTERED: constants.Z_FILTERED,
|
||||
Z_FINISH: constants.Z_FINISH,
|
||||
Z_FIXED: constants.Z_FIXED,
|
||||
Z_FULL_FLUSH: constants.Z_FULL_FLUSH,
|
||||
Z_HUFFMAN_ONLY: constants.Z_HUFFMAN_ONLY,
|
||||
Z_MAX_CHUNK: constants.Z_MAX_CHUNK,
|
||||
Z_MAX_LEVEL: constants.Z_MAX_LEVEL,
|
||||
Z_MAX_MEMLEVEL: constants.Z_MAX_MEMLEVEL,
|
||||
Z_MAX_WINDOWBITS: constants.Z_MAX_WINDOWBITS,
|
||||
Z_MEM_ERROR: constants.Z_MEM_ERROR,
|
||||
Z_MIN_CHUNK: constants.Z_MIN_CHUNK,
|
||||
Z_MIN_LEVEL: constants.Z_MIN_LEVEL,
|
||||
Z_MIN_MEMLEVEL: constants.Z_MIN_MEMLEVEL,
|
||||
Z_MIN_WINDOWBITS: constants.Z_MIN_WINDOWBITS,
|
||||
Z_NEED_DICT: constants.Z_NEED_DICT,
|
||||
Z_NO_COMPRESSION: constants.Z_NO_COMPRESSION,
|
||||
Z_NO_FLUSH: constants.Z_NO_FLUSH,
|
||||
Z_OK: constants.Z_OK,
|
||||
Z_PARTIAL_FLUSH: constants.Z_PARTIAL_FLUSH,
|
||||
Z_RLE: constants.Z_RLE,
|
||||
Z_STREAM_END: constants.Z_STREAM_END,
|
||||
Z_STREAM_ERROR: constants.Z_STREAM_ERROR,
|
||||
Z_SYNC_FLUSH: constants.Z_SYNC_FLUSH,
|
||||
Z_VERSION_ERROR: constants.Z_VERSION_ERROR,
|
||||
ZLIB_VERNUM: constants.ZLIB_VERNUM,
|
||||
ZlibBase,
|
||||
};
|
||||
|
||||
export {
|
||||
|
|
Loading…
Reference in a new issue