From 1c8f760b16a9c7f5f58581eb9247ba7631ab59fb Mon Sep 17 00:00:00 2001 From: ErnestoSalazar Date: Thu, 31 May 2018 14:27:22 -0700 Subject: [PATCH] zlib: removed extra util require PR-URL: https://github.com/nodejs/node/pull/21069 Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell Reviewed-By: Kyle Farnung Reviewed-By: Trivikram Kamat Reviewed-By: Rich Trott Reviewed-By: Daniel Bevenius Reviewed-By: Jon Moss Reviewed-By: Luigi Pinca --- lib/zlib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {