Files
node/lib
Joyee Cheung 4f24aff94a module: preserve URL in the parent created by createRequire()
Previously, createRequire() does not preserve the URL it gets
passed in the mock parent module created, which can be
observable if it's used together with module.registerHooks().
This patch adds preservation of the URL if createRequire()
is invoked with one.

PR-URL: https://github.com/nodejs/node/pull/60974
Fixes: https://github.com/nodejs/node/issues/60973
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
2025-12-13 07:36:20 +00:00
..
2025-08-05 03:51:16 +00:00
2025-11-30 19:14:12 +01:00
2024-01-12 16:09:48 +00:00
2025-12-10 16:12:28 +00:00
2025-07-18 09:28:21 +00:00
2024-10-09 06:42:16 +00:00
2025-09-04 11:58:50 +00:00
2025-01-04 18:30:04 +00:00
2025-08-05 13:45:41 +00:00