Files
node/lib/internal
Darshan Sen c868aad15a sea: allow requiring core modules with the "node:" prefix
Previously, the `require()` function exposed to the embedded SEA code
was calling the internal `require()` function if the module name
belonged to the list of public core modules but the internal `require()`
function does not support loading modules with the "node:" prefix, so
this change forwards the calls to another `require()` function that
supports this.

Fixes: https://github.com/nodejs/single-executable/issues/69
Signed-off-by: Darshan Sen <raisinten@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/47779
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2023-05-04 14:32:35 +00:00
..
2023-03-26 18:03:58 +00:00
2023-04-26 08:56:04 +00:00
2023-03-06 10:44:14 +01:00
2023-05-02 00:48:20 +00:00
2023-05-02 00:48:20 +00:00
2023-05-02 00:48:20 +00:00
2023-03-12 18:35:55 +00:00
2023-03-06 10:44:14 +01:00
2023-05-02 00:48:20 +00:00
2023-04-21 20:55:11 -07:00
2022-09-07 09:33:10 +00:00
2022-08-05 14:25:06 +00:00
2023-04-05 08:31:56 -07:00
2023-02-28 09:37:24 +00:00
2023-05-02 00:48:20 +00:00
2023-05-02 00:48:20 +00:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.