1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/tests
Bartek Iwańczuk 808f797633
fix(compat): cjs/esm interop for dynamic imports (#13792)
This commit fixes CJS/ESM interop in compat mode for dynamically
imported modules.

"ProcState::prepare_module_load" was changed to accept a list
of "graph roots" without associated "module kind". That module kind
was always hardcoded to "ESM" which is not true for CJS/ESM interop -
a CommonJs module might be imported using "import()" function. In
such case the root of the graph should have "CommonJs" module kind
instead of "ESM".
2022-03-11 02:33:02 +01:00
..
integration fix(compat): cjs/esm interop for dynamic imports (#13792) 2022-03-11 02:33:02 +01:00
testdata fix(compat): cjs/esm interop for dynamic imports (#13792) 2022-03-11 02:33:02 +01:00
unit chore(ext/crypto): remove old todos (#13887) 2022-03-09 18:13:11 +05:30
integration_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00