Files
node/doc/api
Joyee Cheung 38bf955937 vm: make vm.Module.evaluate() conditionally synchronous
- Make sure that the vm.Module.evaluate() method is conditionally
  synchronous based on the specification. Previously, the returned
  promise is unconditionally pending (even for synthetic modules and
  source text modules without top-level await) instead of immediately
  fulfilled, making it harder to debug as it deviates from the
  specified behavior.
- Clarify the synchronicity of this method in the documentation
- Add more tests for the synchronicity of this method.

PR-URL: https://github.com/nodejs/node/pull/60205
Refs: https://github.com/nodejs/node/issues/59656
Refs: https://github.com/nodejs/node/issues/37648
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2025-10-18 08:20:47 +00:00
..
2025-10-16 08:17:53 +00:00
2025-07-15 17:18:42 +00:00
2025-06-09 23:45:29 +02:00
2025-07-28 20:03:37 +00:00
2025-07-15 17:18:42 +00:00
2024-11-01 03:43:53 +00:00
2025-07-28 20:03:37 +00:00
2025-10-15 13:27:47 -03:00
2025-07-31 23:44:19 +02:00
2025-10-15 13:27:47 -03:00
2025-07-28 20:03:37 +00:00
2025-10-15 13:27:47 -03:00
2025-08-28 23:08:02 +02:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-08-29 02:24:57 +00:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-06-09 23:45:29 +02:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-10-15 13:27:47 -03:00
2025-10-15 13:27:47 -03:00
2025-07-15 17:18:42 +00:00