Files
node/lib
Chengzhong Wu 6277058e43 vm: sync-ify SourceTextModule linkage
Split `module.link(linker)` into two synchronous step
`sourceTextModule.linkRequests()` and
`sourceTextModule.instantiate()`. This allows creating vm modules and
resolving the dependencies in a complete synchronous procedure.

This also makes `syntheticModule.link()` redundant. The link step for a
SyntheticModule is no-op and is already taken care in the constructor
by initializing the binding slots with the given export names.

PR-URL: https://github.com/nodejs/node/pull/59000
Backport-PR-URL: https://github.com/nodejs/node/pull/60152
Refs: https://github.com/nodejs/node/issues/37648
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2025-10-11 22:51:07 +02:00
..
…
…
…
…
2025-08-26 11:22:37 +02:00
2024-11-27 11:03:39 -05:00
2025-08-26 11:22:39 +02:00
2025-07-28 08:58:22 +02:00
2024-01-12 16:09:48 +00:00
2024-07-16 12:01:14 +02:00
2024-11-27 11:03:39 -05:00
2024-11-27 11:03:39 -05:00
2025-09-20 06:16:51 +00:00
2025-02-03 20:09:53 +01:00
2025-10-07 17:29:36 +02:00
2025-04-17 10:51:20 -03:00
2025-09-20 03:32:52 +00:00