mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
In certain cases, `require('.')` could resolve outside the package
directory. This behavior has been removed.
PR-URL: https://github.com/nodejs/node/pull/26973
Refs: https://github.com/nodejs/node/pull/3384
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>