-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Roadmap for stabilization of vm modules #37648
Copy link
Copy link
Open
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.experimentalIssues and PRs related to experimental features.Issues and PRs related to experimental features.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.loadersIssues and PRs related to ES module loadersIssues and PRs related to ES module loadersnever-staleMark issue so that it is never considered staleMark issue so that it is never considered stalevmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.
Metadata
Metadata
Assignees
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.experimentalIssues and PRs related to experimental features.Issues and PRs related to experimental features.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.loadersIssues and PRs related to ES module loadersIssues and PRs related to ES module loadersnever-staleMark issue so that it is never considered staleMark issue so that it is never considered stalevmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.
According to @SimenB, here are the issues that should probably be taken care of before we unflag and mark vm modules as stable:
vm.Script'simportModuleDynamicallyshould get a reference to thecontextused to run it (#35714)vmmodules #31658import()instead of callingimportModuleDynamically(#35889)vm.SourceTextModulememory leak #59118SourceTextModule: Using dynamic imports while passingcachedDatathrowsTypeError: Invalid host defined options#43663module.lnk((specifier) => module)tomodule.link(specifiers, modules)so that it has fewer C++ -> JS calls and can be reused to implementrequire(esm).Tracking issue in Jest: jestjs/jest#9430
/cc @devsnek