Skip to content

Commit 67cc5c0

Browse files
Update lib/internal/modules/esm/translators.js
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
1 parent f034a65 commit 67cc5c0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/internal/modules/esm/translators.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ function loadCJSModule(module, source, url, filename, isMain) {
144144

145145
// NOTE: This re-invented require() is only used on the loader-hook worker thread.
146146
// On the main thread, the authentic require() is used instead (fixed by #60380).
147-
// Remaining quirks on the loader-hook thread: lacks require.cache, require.extensions.
148147
const request = { specifier, attributes: importAttributes, phase: kEvaluationPhase, __proto__: null };
149148
const job = cascadedLoader.getOrCreateModuleJob(url, request, kRequireInImportedCJS);
150149
job.runSync();

0 commit comments

Comments
 (0)