diff --git a/lib/internal/modules/esm/translators.js b/lib/internal/modules/esm/translators.js index 25552cff0e8f47..e33fc85993a2b2 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 readFileAsync = promisify(fs.readFile);