node/test/fixtures/module-require
Dario Piotrowicz 7119303a81
module: fix bad require.resolve with option paths for . and ..
this change fixes `require.resolve` used with the `paths` option
not considering `.` and `..` as relative

Fixes: https://github.com/nodejs/node/issues/47000
PR-URL: https://github.com/nodejs/node/pull/56735
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jordan Harband <ljharb@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2025-01-25 23:32:13 +00:00
..
child
not-found
parent
relative module: fix bad require.resolve with option paths for . and .. 2025-01-25 23:32:13 +00:00