diff options
author | Beni von Cheni <benjaminlchen@gmail.com> | 2019-03-16 01:19:44 -0400 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-22 00:48:32 +0100 |
commit | c97851dcd8c5e96a3601df52edd456922399a80b (patch) | |
tree | 7ee04033c643462437d3a678b24191941cf3302e /lib/stream.js | |
parent | d117e41e50667d7a36259bfc69416216bdf74eae (diff) | |
download | android-node-v8-c97851dcd8c5e96a3601df52edd456922399a80b.tar.gz android-node-v8-c97851dcd8c5e96a3601df52edd456922399a80b.tar.bz2 android-node-v8-c97851dcd8c5e96a3601df52edd456922399a80b.zip |
stream: reduce internal usage of public require of util
PR-URL: https://github.com/nodejs/node/pull/26698
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/stream.js')
-rw-r--r-- | lib/stream.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.js b/lib/stream.js index dfe61aaf09..97c86f7d6f 100644 --- a/lib/stream.js +++ b/lib/stream.js @@ -43,7 +43,7 @@ Stream.Stream = Stream; // Internal utilities try { - const types = require('util').types; + const types = require('internal/util/types'); if (types && typeof types.isUint8Array === 'function') { Stream._isUint8Array = types.isUint8Array; } else { |