Open
Description
According to @SimenB, here are the issues that should probably be taken care of before we unflag and mark vm modules as stable:
- SourceTextModule memory leak (#33439)
-
vm.Script
'simportModuleDynamically
should get a reference to thecontext
used to run it (#35714) - Segmentation fault with
import()
instead of callingimportModuleDynamically
(#35889) - importModuleDynamically for vm module is cached (#36351)
- VM ESM with dynamic imports resolves promises before linking is complete (#33216)
- Change API of
module.lnk((specifier) => module)
tomodule.link(specifiers, modules)
so that it has fewer C++ -> JS calls and can be reused to implementrequire(esm)
.
/cc @devsnek
Metadata
Metadata
Assignees
Labels
Issues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to experimental features.Issues that need assistance from volunteers or PRs that need help to proceed.Issues and PRs related to ES module loadersMark issue so that it is never considered staleIssues and PRs related to the vm subsystem.