mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00: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>