Roadmap for stabilization of vm modules
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 122k
- Forks
- 37.3k
- Merge medio
- 4 d 2 h
- PR fusionados (30 d)
- 283
Descripción
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) - https://github.com/nodejs/node/issues/43899
- https://github.com/nodejs/node/issues/31234
- VM ESM with dynamic imports resolves promises before linking is complete (#33216)
- https://github.com/nodejs/node/issues/60242
- https://github.com/nodejs/node/issues/35848
- https://github.com/nodejs/node/issues/31234
- https://github.com/nodejs/node/issues/31658
- SourceTextModule memory leak (#33439)
- Segmentation fault with
import()instead of callingimportModuleDynamically(#35889) - importModuleDynamically for vm module is cached (#36351)
- https://github.com/nodejs/node/issues/50113
- https://github.com/nodejs/node/issues/59118
- https://github.com/nodejs/node/issues/59656
- https://github.com/nodejs/node/issues/43663
- 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). - Source phase import support.
Tracking issue in Jest: https://github.com/jestjs/jest/issues/9430
/cc @devsnek
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza revisando las issues enlazadas que no están marcadas, especialmente #35714, #43899, #31234, #33216, #60242 y la compatibilidad con source phase import. La issue de seguimiento de Jest en https://github.com/jestjs/jest/issues/9430 proporciona contexto adicional. Se considera terminado cuando se hayan resuelto los bloqueadores de estabilización restantes y se pueda quitar el flag de vm modules para declararlos estables.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, node.js
- Área
- backend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Activo
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100