node/test/es-module
Antoine du Hamel 3ab9619e56
module: improve error message for invalid data URL
Fixes: https://github.com/nodejs/node/issues/37647

PR-URL: https://github.com/nodejs/node/pull/37701
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
2021-04-05 12:57:24 -04: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 module: drop -u alias for --conditions 2020-08-26 12:48:06 -04:00
test-esm-cyclic-dynamic-import.mjs
test-esm-data-urls.js module: improve error message for invalid data URL 2021-04-05 12:57:24 -04: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 test,benchmark: stop requiring URL and URLSearchParams 2021-01-24 21:43:34 -05: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-pending-deprecations.mjs esm: deprecate legacy main lookup for modules 2021-02-02 10:49:57 +01:00
test-esm-exports.mjs esm: deprecate legacy main lookup for modules 2021-02-02 10:49:57 +01:00
test-esm-forbidden-globals.mjs
test-esm-fs-promises.mjs fs: add fs/promises alias module 2020-02-18 22:15:50 -08:00
test-esm-get-source-loader.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-import-meta-resolve.mjs test: use .then(common.mustCall()) for all async IIFEs 2020-07-20 18:13:28 +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-05 12:57:24 -04:00
test-esm-invalid-extension.js module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-invalid-pjson.js esm: better package.json parser errors 2020-09-11 05:09:44 -07:00
test-esm-json-cache.mjs
test-esm-json.mjs
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-21 16:49:23 +01:00
test-esm-loader-dependency.mjs
test-esm-loader-get-format.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-loader-invalid-format.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-loader-invalid-url.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-loader-modulemap.js test,benchmark: stop requiring URL and URLSearchParams 2021-01-24 21:43:34 -05:00
test-esm-loader-search.js module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-loader-side-effect.mjs module: add hook for global preload code 2020-03-23 08:39:37 -05:00
test-esm-loader-stringify-text.mjs esm: doc & validate source values for formats 2020-05-21 12:59:50 +08:00
test-esm-local-deprecations.mjs test: account for pending deprecations in esm test 2021-03-02 14:08:53 +01:00
test-esm-main-lookup.mjs module: add specific error for dir import 2020-05-15 19:08:39 -07:00
test-esm-named-exports.mjs module: remove dynamicInstantiate loader hook 2020-05-27 16:38:38 -07:00
test-esm-namespace.mjs
test-esm-non-js.js
test-esm-nowarn-exports.mjs module: remove experimental modules warning 2020-04-17 12:26:12 -04:00
test-esm-path-posix.mjs path: add path/posix and path/win32 alias modules 2020-11-22 10:18:56 -08:00
test-esm-path-win32.mjs path: add path/posix and path/win32 alias modules 2020-11-22 10:18:56 -08:00
test-esm-pkgname.mjs
test-esm-preserve-symlinks-main.js
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-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
test-esm-specifiers.mjs module: fix specifier resolution option value 2020-09-10 07:58:08 -07:00
test-esm-symlink-main.js
test-esm-symlink-type.js
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 module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-type-flag-errors.js
test-esm-type-flag.mjs
test-esm-type-main.mjs module: no type module resolver side effects 2020-04-29 22:10:35 -07:00
test-esm-unknown-or-no-extension.js module: drop support for extensionless main entry points in esm 2020-01-22 23:21:11 -08:00
test-esm-util-types.mjs util: add util/types alias module 2020-11-22 10:19:02 -08:00
test-esm-wasm.mjs
test-esm-windows.js
testcfg.py