node/lib/internal/modules
MURAKAMI Masahiko 6fdd202c57
module: require.resolve.paths returns null with node schema
require.resolve.paths should returns null with builtin module.
when builtin module without `node:` schema, `paths` returns null.
But, it don't return null when builtin module with `node:` schema.

Fixes: https://github.com/nodejs/node/issues/45001
PR-URL: https://github.com/nodejs/node/pull/45147
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2022-11-21 15:20:46 -05:00
..
cjs module: require.resolve.paths returns null with node schema 2022-11-21 15:20:46 -05:00
esm watch: watch for missing dependencies 2022-11-21 15:16:22 -05:00
package_json_reader.js module: refactor to avoid unsafe array iteration 2021-01-06 11:30:18 +01:00
run_main.js esm: remove specifier resolution flag 2022-10-04 09:44:08 +00:00