1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-03 17:08:35 -05:00
denoland-deno/tests/specs/node
David Sherret 2bbfef137c
feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094)
This resurrects the `--unstable-detect-cjs` flag (which became stable),
and repurposes it to attempt loading .js/.jsx/.ts/.tsx files as CJS in
the following additional scenarios:

1. There is no package.json
1. There is a package.json without a "type" field

Also cleans up the implementation of this in the LSP a lot by hanging
`resolution_mode()` off `Document` (didn't think about doing that until
now).
2024-11-27 09:50:38 -05: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-23 21:13:30 -07: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-18 20:38:57 +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
dynamic_import_and_require_dual fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05: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-28 18:16:43 +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-10-31 10:02:31 -07:00
stdio_ipc fix(ext/node): support stdin child_process IPC & fd stdout/stderr (#24106) 2024-06-07 22:51:32 +05:30
unstable_detect_cjs feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094) 2024-11-27 09:50:38 -05:00
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