Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
vm: remove usage of public util module
  • Loading branch information
baekrxnn committed Jun 27, 2019
commit 65ba180f90f2acbb3aeb08503668b055a386f7d6
5 changes: 4 additions & 1 deletion lib/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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,
Expand Down
1 change: 0 additions & 1 deletion test/parallel/test-bootstrap-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const expectedModules = new Set([
'NativeModule path',
'NativeModule timers',
'NativeModule url',
'NativeModule util',
'NativeModule vm',
]);

Expand Down