node/test/es-module
Antoine du Hamel 92ed1c6cce
module: fix legacy node specifier resolution to resolve "main" field
PR-URL: https://github.com/nodejs/node/pull/38979
Fixes: https://github.com/nodejs/node/issues/32103
Fixes: https://github.com/nodejs/node/issues/38739
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
2021-06-13 19:38:01 -07:00
..
es-module.status
test-cjs-esm-warn.js
test-esm-assert-strict.mjs assert: add assert/strict alias module 2020-06-25 08:37:48 -07:00
test-esm-basic-imports.mjs
test-esm-cjs-builtins.js module: fix builtin reexport tracing 2020-10-04 10:30:13 -07:00
test-esm-cjs-exports.js module: refine module type mismatch error cases 2020-09-30 20:46:01 -07:00
test-esm-cjs-load-error-note.mjs module: only try to enrich CJS syntax errors 2020-10-19 18:41:10 +00:00
test-esm-cjs-main.js
test-esm-cjs-named-error.mjs module: named exports for CJS via static analysis 2020-09-28 18:27:25 -07:00
test-esm-custom-exports.mjs cli: add -C alias for --conditions flag 2021-05-31 15:34:53 -04:00
test-esm-cyclic-dynamic-import.mjs
test-esm-data-urls.js module: improve error message for invalid data URL 2021-04-03 20:06:05 +02:00
test-esm-default-type.mjs
test-esm-dns-promises.mjs lib: remove ERR_INVALID_OPT_VALUE and ERR_INVALID_OPT_VALUE_ENCODING 2020-09-11 17:54:42 +03:00
test-esm-double-encoding.mjs
test-esm-dynamic-import.js module: add support for node:‑prefixed require(…) calls 2021-03-19 12:34:58 +01:00
test-esm-encoded-path-native.js
test-esm-encoded-path.mjs
test-esm-error-cache.js test: use .then(common.mustCall()) for all async IIFEs 2020-07-20 18:13:28 +02:00
test-esm-example-loader.js
test-esm-exports-deprecations.mjs test: remove unnecessary --pending-deprecation flag 2021-06-02 13:22:16 -04:00
test-esm-exports.mjs esm: deprecate legacy main lookup for modules 2021-01-30 16:31:49 +02:00
test-esm-forbidden-globals.mjs
test-esm-fs-promises.mjs
test-esm-get-source-loader.mjs
test-esm-import-meta-resolve.mjs module: add support for URL to import.meta.resolve 2021-05-17 09:11:35 +02:00
test-esm-import-meta.mjs
test-esm-imports.mjs module: package "imports" field 2020-07-09 19:19:35 -07:00
test-esm-invalid-data-urls.js module: improve error message for invalid data URL 2021-04-03 20:06:05 +02:00
test-esm-invalid-extension.js
test-esm-invalid-pjson.js esm: better package.json parser errors 2020-09-11 05:09:44 -07:00
test-esm-json-cache.mjs module: remove module.createRequireFromPath 2021-02-15 07:03:08 -08:00
test-esm-json.mjs test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-live-binding.mjs
test-esm-loader-cache-clearing.js
test-esm-loader-custom-condition.mjs util: fix module prefixes during inspection 2020-12-12 20:58:01 +00:00
test-esm-loader-dependency.mjs
test-esm-loader-get-format.mjs
test-esm-loader-invalid-format.mjs
test-esm-loader-invalid-url.mjs errors: remove input from ERR_INVALID_URL message 2021-05-18 13:10:08 +02:00
test-esm-loader-modulemap.js test,benchmark: stop requiring URL and URLSearchParams 2021-01-18 13:44:33 -08:00
test-esm-loader-search.js
test-esm-loader-side-effect.mjs
test-esm-loader-stringify-text.mjs
test-esm-local-deprecations.mjs module: runtime deprecate subpath folder mappings 2021-03-20 19:14:14 +01:00
test-esm-main-lookup.mjs
test-esm-named-exports.mjs
test-esm-namespace.mjs
test-esm-non-js.js
test-esm-nowarn-exports.mjs test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-path-posix.mjs path: add path/posix and path/win32 alias modules 2020-10-20 14:27:31 +00:00
test-esm-path-win32.mjs path: add path/posix and path/win32 alias modules 2020-10-20 14:27:31 +00:00
test-esm-pkgname.mjs
test-esm-preserve-symlinks-main.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-preserve-symlinks-not-found-plain.mjs
test-esm-preserve-symlinks-not-found.mjs
test-esm-preserve-symlinks.js
test-esm-process.mjs
test-esm-repl.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-require-cache.mjs
test-esm-resolve-hook.mjs
test-esm-scope-node-modules.mjs
test-esm-shared-loader-dep.mjs
test-esm-shebang.mjs
test-esm-snapshot.mjs Revert "module: disable cjs snapshotting into esm loader" 2020-07-30 14:55:45 -05:00
test-esm-specifiers-legacy-flag.mjs module: fix legacy node specifier resolution to resolve "main" field 2021-06-13 19:38:01 -07:00
test-esm-specifiers.mjs test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-symlink-main.js
test-esm-symlink-type.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-symlink.js
test-esm-throw-undefined.mjs
test-esm-tla-unfinished.mjs module: handle Top-Level Await non-fulfills better 2020-08-08 20:33:46 +02:00
test-esm-tla.mjs module: unflag Top-Level Await 2020-08-03 14:27:28 -04:00
test-esm-transform-source-loader.mjs
test-esm-type-flag-errors.js
test-esm-type-flag.mjs
test-esm-type-main.mjs
test-esm-undefined-cjs-global-like-variables.js module: clarify CJS global-like variables not defined error message 2021-04-13 19:06:48 +02:00
test-esm-unknown-or-no-extension.js
test-esm-util-types.mjs util: add util/types alias module 2020-10-21 01:26:34 +02:00
test-esm-wasm.mjs test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-windows.js
testcfg.py