deno
3090d6f8 - fix(ext/node): align nextTick ordering in ESM (#34085)

Commit
114 days ago
fix(ext/node): align nextTick ordering in ESM (#34085) Closes #34052 This updates module evaluation so promise and `queueMicrotask` jobs queued during top-level ESM evaluation run before `process.nextTick`, matching Node ESM behavior. It also drains the nextTick queue at the end of main CJS loading to preserve Node CJS entrypoint ordering. Tests added for both ESM and CJS ordering.
Author
Parents
Loading