deno
fix(ext/node): add ERR_REQUIRE_ASYNC_MODULE and ERR_REQUIRE_CYCLE_MODULE error codes
#33921
Merged

fix(ext/node): add ERR_REQUIRE_ASYNC_MODULE and ERR_REQUIRE_CYCLE_MODULE error codes #33921

bartlomieju merged 5 commits into main from fix/require-error-codes
bartlomieju
bartlomieju fix(ext/node): throw ERR_REQUIRE_ASYNC_MODULE for TLA in require()
5912a53a
bartlomieju fix(ext/node): detect ESM/CJS circular require cycles
2cf425f8
bartlomieju test: enable 5 newly passing test-require-module compat tests
90113ec2
bartlomieju fix: update require_esm spec test for new TLA error message
ca5af108
fibibot
fibibot commented on 2026-05-08
bartlomieju
bartlomieju commented on 2026-05-08
bartlomieju refactor: move import_sync_eval_stack from thread-local to ModuleMap
b87851eb
fibibot
fibibot approved these changes on 2026-05-08
bartlomieju bartlomieju merged ffbc071e into main 78 days ago
bartlomieju bartlomieju deleted the fix/require-error-codes branch 78 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone