node/test/fixtures/es-modules
Joyee Cheung 3b3a95ac0c module: trim off internal stack frames for require(esm) warnings
Trim off irrelevant internal stack frames for require(esm) warnings
so it's easier to locate where the call comes from when
--trace-warnings is used.

PR-URL: https://github.com/nodejs/node/pull/55496
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
2024-10-29 18:29:27 +01:00
..
cjs-esm-esm-cycle module: cache synchronous module jobs before linking 2024-05-09 00:25:14 +00:00
deprecated-folders-ignore module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
dynamic-import module: implement NODE_COMPILE_CACHE for automatic on-disk code caching 2024-04-17 23:39:45 +02:00
esm-cjs-esm-cycle module: disallow CJS <-> ESM edges in a cycle from require(esm) 2024-04-08 14:45:55 +00:00
esm-cjs-esm-esm-cycle module: disallow CJS <-> ESM edges in a cycle from require(esm) 2024-04-08 14:45:55 +00:00
esm-esm-cjs-esm-cycle module: disallow CJS <-> ESM edges in a cycle from require(esm) 2024-04-08 14:45:55 +00:00
esm-esm-cjs-esm-esm-cycle module: disallow CJS <-> ESM edges in a cycle from require(esm) 2024-04-08 14:45:55 +00:00
exports-both module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
exports-import-default module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
exports-import-only module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
exports-require-only module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
folder%25with percentage# esm: fix hint on invalid module specifier 2023-12-23 20:38:08 +00:00
json-cache
legacy-main-resolver src,lib: reducing C++ calls of esm legacy main resolve 2023-07-03 18:42:47 +00:00
module-condition module: implement the "module-sync" exports condition 2024-09-25 06:35:26 +00:00
module-counter-by-type
package-cjs-named-error
package-default-extension module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
package-ends-node_modules src: do not treat all paths ending with node_modules as such 2023-12-25 11:44:26 +00:00
package-type-commonjs esm: bypass CJS loader in default load under --default-type=module 2023-11-10 09:20:46 +01:00
package-type-module esm: detect ESM syntax in ambiguous JavaScript 2023-10-20 15:44:56 +00:00
package-without-pjson
package-without-type module: warn on detection in typeless package 2024-03-23 00:38:31 +00:00
pjson-invalid
pjson-main
pkgimports module: fix segment deprecation for imports field 2022-10-13 07:31:31 -07:00
require-and-import module: fix submodules loaded by require() and import() 2024-04-16 14:07:44 +00:00
self-deprecated-folders
tla module: allow ESM that failed to be required to be re-imported 2024-10-28 12:21:22 +00:00
transpiled-cjs-require-module module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
builtin-imports-case.mjs
cjs-esm-esm.js
cjs-esm.js
cjs-exports-invalid.mjs
cjs-exports.mjs esm: export 'module.exports' on ESM CJS wrapper 2024-10-02 12:30:23 -07:00
cjs-file.cjs
cjs.js
conditional-exports.js
conditional-exports.mjs
data-import.mjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
dep1.js
dep2.js
es-note-error-1.cjs
es-note-error-1.mjs
es-note-error-2.cjs
es-note-error-2.mjs
es-note-error-3.cjs
es-note-error-3.mjs
es-note-error-4.cjs
es-note-error-4.mjs
es-note-promiserej-import-2.cjs
es-note-unexpected-export-1.cjs
es-note-unexpected-export-2.cjs
es-note-unexpected-import-1.cjs
es-note-unexpected-import-3.cjs
es-note-unexpected-import-4.cjs
es-note-unexpected-import-5.cjs
esm-snapshot-mutator.js
esm-snapshot.js
esm-top-level-await.mjs module: execute --import sequentially 2023-11-01 12:38:01 +00:00
export-es-module-2.mjs module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
export-es-module.mjs module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
export-name-code-injection.wasm module: fix code injection through export names 2023-10-13 18:03:52 -03:00
export-name-code-injection.wat module: fix code injection through export names 2023-10-13 18:03:52 -03:00
export-name-syntax-error.wasm module: fix code injection through export names 2023-10-13 18:03:52 -03:00
export-name-syntax-error.wat module: fix code injection through export names 2023-10-13 18:03:52 -03:00
exports-cases2.js
exports-cases3.js
exports-cases.js
file.ext
file.unknown
import-data-url.mjs lib,esm: handle bypass network-import via data: 2024-07-12 12:48:54 +00:00
import-esm.mjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
import-invalid-ext.mjs
import-invalid-pjson.mjs
import-json-named-export.mjs esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
import-name.wasm module: fix code injection through export names 2023-10-13 18:03:52 -03:00
import-name.wat module: fix code injection through export names 2023-10-13 18:03:52 -03:00
import-process-exit.mjs
import-resolve-exports.mjs esm: move hook execution to separate thread 2023-04-13 09:35:17 +02:00
imported-esm.mjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
imports-loose.mjs esm: --experimental-default-type flag to flip module defaults 2023-09-29 06:18:44 +00:00
imports-noext.mjs esm: --experimental-default-type flag to flip module defaults 2023-09-29 06:18:44 +00:00
invalid-cjs.js
invalid-posix-host.mjs esm: identify parent importing a url with invalid host 2023-09-23 05:41:26 +00:00
json-modules.mjs esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
loop.mjs
loose.js module: check --experimental-require-module separately from detection 2024-10-08 20:26:13 +00:00
message.mjs
mjs-file.mjs
noext
noext-esm esm: --experimental-default-type flag to flip module defaults 2023-09-29 06:18:44 +00:00
noext-wasm esm: --experimental-default-type flag to flip module defaults 2023-09-29 06:18:44 +00:00
pattern-trailing-slash.mjs
print-3.mjs
print-entrypoint.mjs module: support loading entrypoint as url 2024-09-27 15:26:48 +08:00
process-exit.mjs
reference-error.mjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
require-cjs.mjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
require-esm-throws-with-loaders.js esm: move hooks test with others 2024-06-25 10:08:44 +00:00
require-module.js module: trim off internal stack frames for require(esm) warnings 2024-10-29 18:29:27 +01:00
require-reference-error.cjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
require-syntax-error.cjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
require-throw-error.cjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
required-cjs.js module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
runmain.mjs esm: move hook execution to separate thread 2023-04-13 09:35:17 +02:00
should-not-be-resolved.mjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
simple.wasm
simple.wat
stateful.mjs
symlink.mjs
syntax-error.mjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
test-esm-comma,.mjs
test-esm-double-encoding-native%20.mjs
test-esm-ok.mjs
throw-error.mjs module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
wasm-dep.mjs
wasm-modules.mjs