Skip to content

Commit

Permalink
zlib: removed extra util require
Browse files Browse the repository at this point in the history
PR-URL: #21069
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
ErnestoSalazar authored and Trott committed Jun 6, 2018
1 parent 5ebdce2 commit 1c8f760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const {
const Transform = require('_stream_transform');
const {
_extend,
inherits,
types: {
isAnyArrayBuffer,
isArrayBufferView
Expand All @@ -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 = {
Expand Down

0 comments on commit 1c8f760

Please sign in to comment.