diff options
author | 2023-03-14 08:27:28 -0700 | |
---|---|---|
committer | 2023-03-14 08:49:03 -0700 | |
commit | e613b501e218737cd9fc7a957f3ab65aee58a156 (patch) | |
tree | 402be1ee6e3fd8c2f79194b0fe7783774dde1f74 /src/bun.js | |
parent | 6d50b90070d49607f6732769850ee4dd39fc0579 (diff) | |
download | bun-e613b501e218737cd9fc7a957f3ab65aee58a156.tar.gz bun-e613b501e218737cd9fc7a957f3ab65aee58a156.tar.zst bun-e613b501e218737cd9fc7a957f3ab65aee58a156.zip |
Fix missing `constants` export in zlib
Diffstat (limited to 'src/bun.js')
-rw-r--r-- | src/bun.js/zlib.exports.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bun.js/zlib.exports.js b/src/bun.js/zlib.exports.js index d322b7028..33b89d878 100644 --- a/src/bun.js/zlib.exports.js +++ b/src/bun.js/zlib.exports.js @@ -3992,6 +3992,7 @@ var require_lib = __commonJS({ value: Object.freeze(codes), writable: false, }); + exports.constants = require_constants(); exports.Deflate = Deflate; exports.Inflate = Inflate; exports.Gzip = Gzip; @@ -4433,8 +4434,7 @@ var require_lib = __commonJS({ }); // zlib.js -var zlib_exports = {}; -__reExport(zlib_exports, __toESM(require_lib()), zlib_exports); +var zlib_exports = require_lib(); zlib_exports[Symbol.for("CommonJS")] = 0; export default zlib_exports; @@ -4467,4 +4467,5 @@ export var { gunzipSync, inflateRaw, inflateRawSync, + constants, } = zlib_exports; |