Roadmap for stabilization of vm modules
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 122k
- Fork
- 37.3k
- Merge medio
- 4g 2h
- PR unite (30g)
- 283
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando le issue collegate non selezionate, in particolare #35714, #43899, #31234, #33216, #60242 e il supporto per source phase import. La issue di tracking di Jest all’indirizzo https://github.com/jestjs/jest/issues/9430 fornisce ulteriore contesto. Il lavoro sarà considerato completato quando saranno risolti i blocchi rimanenti per la stabilizzazione e sarà possibile rimuovere il flag da vm modules per dichiararli stabili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, node.js
- Ambito
- backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Attiva
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100