Skip to content

Commit

Permalink
vm: remove usage of public util module
Browse files Browse the repository at this point in the history
PR-URL: nodejs#28460
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
baekrxnn authored and Trott committed Jul 19, 2019
1 parent 2fd2dd7 commit a34cb28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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

0 comments on commit a34cb28

Please sign in to comment.