From b8079f5c23c7550196e1d0797a4294c684c53509 Mon Sep 17 00:00:00 2001 From: Karen He <32376376+baekrxnn@users.noreply.github.com> Date: Thu, 27 Jun 2019 10:29:27 -0700 Subject: [PATCH] zlib: remove usage of public util module PR-URL: https://github.com/nodejs/node/pull/28454 Reviewed-By: Anatoli Papirovski Reviewed-By: Rich Trott Reviewed-By: Anna Henningsen Reviewed-By: Trivikram Kamat Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell --- lib/zlib.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/zlib.js b/lib/zlib.js index 72144cdc01db16..445a538035a773 100644 --- a/lib/zlib.js +++ b/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 {