diff --git a/lib/internal/modules/esm/translators.js b/lib/internal/modules/esm/translators.js index cf1765c7c3bd60..97a7f4a2f354f2 100644 --- a/lib/internal/modules/esm/translators.js +++ b/lib/internal/modules/esm/translators.js @@ -19,7 +19,8 @@ const { StringPrototype } = primordials; const { URL } = require('url'); -const { debuglog, promisify } = require('util'); +const { debuglog } = require('internal/util/debuglog'); +const { promisify } = require('internal/util'); const esmLoader = require('internal/process/esm_loader'); const { ERR_UNKNOWN_BUILTIN_MODULE