1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/tests/specs/node
Nathan Whitaker 68cee70838
fix(ext/node): resolve exports even if parent module filename isn't present (#26553)
Fixes https://github.com/denoland/deno/issues/26505

I'm not exactly sure how this case comes about (I tried to write tests
for it but couldn't manage to reproduce it), but what happens is the
parent filename ends up null, and we bail out of resolving the specifier
in package exports.

I've checked, and in node the parent filename is also null (so that's
not a bug on our part), but node continues to resolve even in that case.
So this PR should match node's behavior more closely than we currently
do.
2024-11-06 00:36:23 +01:00
..
byonm_phantom_dep_res_failure fix(node): better detection for when to surface node resolution errors (#24653) 2024-07-24 00:22:24 +00:00
child_process_extra_pipes fix(ext/node): only set our end of child process pipe to nonblocking mode (#26495) 2024-10-25 02:09:37 +02:00
cjs_analysis_multiple_errors perf: analyze cjs re-exports in parallel (#23894) 2024-05-21 10:35:51 -04:00
cjs_dynamic_import_esm_with_exports chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
cjs_reexport_node_condition fix(node): Include "node" condition during CJS re-export analysis (#25785) 2024-09-21 16:10:38 -07:00
cjs_reexport_same_specifier_in_sub_folder fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-25 02:09:32 +02:00
detect_es_module_defined_as_cjs feat(node): load ES modules defined as CJS (#22945) 2024-03-21 11:35:51 -07:00
imports_wildcard chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
next_tick_uncaught_exception fix: report exceptions from nextTick (#26579) 2024-10-30 00:16:12 +01:00
node_debug fix(ext/node): support NODE_DEBUG env (#23583) 2024-04-29 09:36:53 +00:00
node_process_beforeexit_exit_events_emitted_without_listeners feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
node_test_module chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_test_module_no_sanitizers chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
readline_promises fix: actually add missing node:readline/promises module (#24772) 2024-07-28 15:41:10 -04:00
rejection_handled_web_process chore: fix flaky rejection_handled_web_process (#23817) 2024-05-14 23:51:51 +00:00
require_export_from_parent_with_no_filename fix(ext/node): resolve exports even if parent module filename isn't present (#26553) 2024-11-06 00:36:23 +01:00
stdio_ipc fix(ext/node): support stdin child_process IPC & fd stdout/stderr (#24106) 2024-06-07 22:51:32 +05:30
web_node_events_dispatched_in_correct_order feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
worker_threads refactor(tests): move worker_threads itests to spec tests (#23648) 2024-05-03 05:52:47 +00:00
worker_threads_cache fix(node): seperate worker module cache (#23634) 2024-05-16 07:09:35 +00:00