node/lib/internal/modules
Joyee Cheung bdd590be73
module: use kNodeModulesRE to detect node_modules
This is faster and more consistent with other places using the
regular expression to detect node_modules.

PR-URL: https://github.com/nodejs/node/pull/55243
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
2024-10-04 17:29:34 +00:00
..
cjs module: use kNodeModulesRE to detect node_modules 2024-10-04 17:29:34 +00:00
esm module: use kNodeModulesRE to detect node_modules 2024-10-04 17:29:34 +00:00
helpers.js module: use kNodeModulesRE to detect node_modules 2024-10-04 17:29:34 +00:00
package_json_reader.js lib,src: remove --experimental-policy 2024-05-07 16:25:45 +00:00
run_main.js module: support loading entrypoint as url 2024-09-27 15:26:48 +08:00