diff --git a/lib/zlib.js b/lib/zlib.js index 5ce8637a50f04f..d8a1cb57c5a892 100644 --- a/lib/zlib.js +++ b/lib/zlib.js @@ -30,6 +30,7 @@ const { const Transform = require('_stream_transform'); const { _extend, + inherits, types: { isAnyArrayBuffer, isArrayBufferView @@ -50,7 +51,6 @@ const { Z_DEFAULT_STRATEGY, Z_DEFAULT_WINDOWBITS, Z_DEFAULT_MEMLEVEL, Z_FIXED, DEFLATE, DEFLATERAW, INFLATE, INFLATERAW, GZIP, GUNZIP, UNZIP } = constants; -const { inherits } = require('util'); // translation table for return codes. const codes = {