0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00

zlib: remove usage of public util module

PR-URL: https://github.com/nodejs/node/pull/28454
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Karen He 2019-06-27 10:29:27 -07:00 committed by Rich Trott
parent a34cb28e60
commit 6aa6716a91

View File

@ -35,12 +35,12 @@ const {
} = require('internal/errors');
const Transform = require('_stream_transform');
const {
deprecate,
types: {
isAnyArrayBuffer,
isArrayBufferView
}
} = require('util');
deprecate
} = require('internal/util');
const {
isArrayBufferView,
isAnyArrayBuffer
} = require('internal/util/types');
const binding = internalBinding('zlib');
const assert = require('internal/assert');
const {