diff --git a/lib/vm.js b/lib/vm.js index b2875d1e1134d8..49be6cf3f5e10d 100644 --- a/lib/vm.js +++ b/lib/vm.js @@ -32,7 +32,10 @@ const { ERR_INVALID_ARG_TYPE, ERR_VM_MODULE_NOT_MODULE, } = require('internal/errors').codes; -const { isModuleNamespaceObject, isArrayBufferView } = require('util').types; +const { + isModuleNamespaceObject, + isArrayBufferView +} = require('internal/util/types'); const { validateInt32, validateUint32, diff --git a/lib/zlib.js b/lib/zlib.js index ec08db9f7c56b0..5ca6f59717ee6e 100644 --- a/lib/zlib.js +++ b/lib/zlib.js @@ -30,12 +30,12 @@ const { } = require('internal/errors').codes; const Transform = require('_stream_transform'); const { - deprecate, - types: { - isAnyArrayBuffer, - isArrayBufferView - } -} = require('util'); + deprecate +} = require('internal/util'); +const { + isAnyArrayBuffer, + isArrayBufferView +} = require('internal/util/types'); const binding = internalBinding('zlib'); const assert = require('internal/assert'); const { diff --git a/test/parallel/test-bootstrap-modules.js b/test/parallel/test-bootstrap-modules.js index e65098b92295bc..d00cf4a3513906 100644 --- a/test/parallel/test-bootstrap-modules.js +++ b/test/parallel/test-bootstrap-modules.js @@ -26,7 +26,6 @@ const expectedModules = new Set([ 'Internal Binding trace_events', 'Internal Binding types', 'Internal Binding url', - 'Internal Binding util', 'NativeModule buffer', 'NativeModule events', 'NativeModule fs',