From a34cb28e60db7132dfb2cd020bb9f039c333cccf Mon Sep 17 00:00:00 2001 From: Karen He <32376376+baekrxnn@users.noreply.github.com> Date: Thu, 27 Jun 2019 16:34:53 -0700 Subject: vm: remove usage of public util module PR-URL: https://github.com/nodejs/node/pull/28460 Reviewed-By: Anatoli Papirovski Reviewed-By: Masashi Hirano Reviewed-By: Rich Trott Reviewed-By: James M Snell Reviewed-By: Yongsheng Zhang Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater --- lib/vm.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/vm.js') diff --git a/lib/vm.js b/lib/vm.js index 8e29762a29..a666a05c8a 100644 --- a/lib/vm.js +++ b/lib/vm.js @@ -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, -- cgit v1.2.3