mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
6d44952d4d
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. |
||
---|---|---|
.. | ||
byonm_phantom_dep_res_failure | ||
child_process_extra_pipes | ||
cjs_analysis_multiple_errors | ||
cjs_dynamic_import_esm_with_exports | ||
cjs_reexport_node_condition | ||
cjs_reexport_same_specifier_in_sub_folder | ||
detect_es_module_defined_as_cjs | ||
imports_wildcard | ||
next_tick_uncaught_exception | ||
node_debug | ||
node_process_beforeexit_exit_events_emitted_without_listeners | ||
node_test_module | ||
node_test_module_no_sanitizers | ||
readline_promises | ||
rejection_handled_web_process | ||
require_export_from_parent_with_no_filename | ||
stdio_ipc | ||
web_node_events_dispatched_in_correct_order | ||
worker_threads | ||
worker_threads_cache |