diff --git a/lib/internal/modules/esm/module_map.js b/lib/internal/modules/esm/module_map.js index 1c1cd54a3d79ed..01521fb7885ee1 100644 --- a/lib/internal/modules/esm/module_map.js +++ b/lib/internal/modules/esm/module_map.js @@ -4,7 +4,7 @@ const ModuleJob = require('internal/modules/esm/module_job'); const { SafeMap } = primordials; -const debug = require('util').debuglog('esm'); +const debug = require('internal/util/debuglog').debuglog('esm'); const { ERR_INVALID_ARG_TYPE } = require('internal/errors').codes; const { validateString } = require('internal/validators');