node/lib/internal/modules
Joyee Cheung 3c4ef343ee module: remove bogus assertion in CJS entrypoint handling with --import
The synchronous CJS translator can handle entrypoints now, this
can be hit when --import is used, so lift the bogus assertions and
added tests.

PR-URL: https://github.com/nodejs/node/pull/54592
Fixes: https://github.com/nodejs/node/issues/54577
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-09-17 12:28:09 +02:00
..
cjs path: fix bugs and inconsistencies 2024-09-14 14:56:31 +00:00
esm module: remove bogus assertion in CJS entrypoint handling with --import 2024-09-17 12:28:09 +02:00
helpers.js src: add JS APIs for compile cache and NODE_DISABLE_COMPILE_CACHE 2024-08-28 23:22:57 +00:00
package_json_reader.js lib,src: remove --experimental-policy 2024-05-07 16:25:45 +00:00
run_main.js module: fix strip-types interaction with detect-module 2024-08-03 17:15:11 +00:00