node/lib/internal/modules
Derek Lewis 0347574834 module: fix check for package.json at volume root
This patch converts the "read package scope" algorithm's while loop
into a do-while loop enabling items at the filesystem root dir to
be considered within the scope of a sibling package.json also at the
filesystem root dir.

Fixes: https://github.com/nodejs/node/issues/33438

Co-authored-by: Guy Bedford <guybedford@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/34595
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
2020-08-15 02:22:13 +00:00
..
cjs module: fix check for package.json at volume root 2020-08-15 02:22:13 +00:00
esm policy: support conditions for redirects 2020-08-13 13:17:40 -05:00
package_json_reader.js policy: increase tests via permutation matrix 2020-08-05 13:48:59 -05:00
run_main.js module: handle Top-Level Await non-fulfills better 2020-08-08 20:33:46 +02:00