1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00
denoland-deno/cli/tools
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
..
coverage chore: upgrade to Rust 1.59 (#13767) 2022-02-24 20:03:12 -05:00
repl chore: upgrade to Rust 1.59 (#13767) 2022-02-24 20:03:12 -05:00
vendor chore: upgrade to Rust 1.59 (#13767) 2022-02-24 20:03:12 -05:00
doc.rs feat(cli): Replace bundling with eszip in deno compile (#13563) 2022-02-15 18:03:46 +05:30
fmt.rs chore: upgrade to Rust 1.59 (#13767) 2022-02-24 20:03:12 -05:00
installer.rs chore: upgrade to Rust 1.59 (#13767) 2022-02-24 20:03:12 -05:00
lint.rs refactor: use Arc instead of making copies of Flags struct (#13610) 2022-02-11 14:04:31 -05:00
mod.rs feat: deno vendor (#13670) 2022-02-16 13:14:19 -05:00
standalone.rs fix(compile): Support import maps (#13756) 2022-02-24 18:58:00 +05:30
test.rs fix(compat): cjs/esm interop for dynamic imports (#13792) 2022-03-11 02:33:02 +01:00
upgrade.rs chore: upgrade to Rust 1.59 (#13767) 2022-02-24 20:03:12 -05:00