node/test/fixtures/es-module-loaders
Joyee Cheung 06206af181
module: unflag --experimental-require-module
This unflags --experimental-require-module so require(esm) can be
used without the flag. For now, when require() actually encounters
an ESM, it will still emit an experimental warning. To opt out
of the feature, --no-experimental-require-module can be used.

There are some tests specifically testing ERR_REQUIRE_ESM. Some
of them are repurposed to test --no-experimental-require-module.
Some of them are modified to just expect loading require(esm) to
work, when it's appropriate.

PR-URL: https://github.com/nodejs/node/pull/55085
Refs: https://github.com/nodejs/node/issues/52697
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2024-09-26 14:21:37 +00:00
..
never-settling-resolve-step
node_modules
assertionless-json-import.mjs
builtin-named-exports-loader.mjs module: unflag detect-module 2024-07-20 18:30:46 +00:00
builtin-named-exports.mjs
byop-dummy-loader.mjs
example-loader.mjs
hook-resolve-type-loader.mjs
hook-resolve-type.mjs
hooks-custom.mjs
hooks-initialize-port.mjs
hooks-initialize.mjs
hooks-input.mjs
http-loader.mjs
js-as-esm.js
loader-dep.js
loader-edge-cases.mjs
loader-invalid-format.mjs
loader-invalid-url.mjs
loader-load-bad-next-context.mjs
loader-load-bad-next-url.mjs
loader-load-dynamic-import.mjs
loader-load-foo-or-42.mjs
loader-load-impersonating-next-url.mjs
loader-load-incomplete.mjs
loader-load-next-modified.mjs
loader-load-null-return.mjs
loader-load-passing-modified-context.mjs
loader-load-passthru.mjs
loader-load-receiving-modified-context.mjs
loader-log-args.mjs
loader-resolve-42.mjs
loader-resolve-bad-next-context.mjs
loader-resolve-bad-next-specifier.mjs
loader-resolve-dynamic-import.mjs
loader-resolve-foo.mjs
loader-resolve-incomplete.mjs
loader-resolve-multiple-next-calls.mjs
loader-resolve-next-modified.mjs
loader-resolve-null-return.mjs
loader-resolve-passing-modified-context.mjs
loader-resolve-passthru.mjs
loader-resolve-receiving-modified-context.mjs
loader-resolve-shortcircuit.mjs
loader-resolve-strip-xxx.mjs
loader-resolve-strip-yyy.mjs
loader-shared-dep.mjs
loader-this-value-inside-hook-functions.mjs
loader-unknown-builtin-module.mjs
loader-with-custom-condition.mjs module: unflag --experimental-require-module 2024-09-26 14:21:37 +00:00
loader-with-dep.mjs
loader-with-too-many-args.mjs
missing-dynamic-instantiate-hook.mjs
mock-loader.mjs
mock.mjs
module-named-exports.mjs
not-found-assert-loader.mjs
preset-cjs-source.mjs
register-loader.cjs
register-loader.mjs
register-programmatically-loader-load.mjs
register-programmatically-loader-resolve.mjs
string-sources.mjs
syntax-error.mjs
thenable-load-hook-rejected-no-arguments.mjs
thenable-load-hook-rejected.mjs
thenable-load-hook.mjs
throw-undefined.mjs