mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +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:
parent
a34cb28e60
commit
6aa6716a91
12
lib/zlib.js
12
lib/zlib.js
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user