1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli
Bartek Iwańczuk 617eeabe83
feat(unstable): Node CJS and ESM resolvers for compat mode (#12424)
This commit adds CJS and ESM Node resolvers to the "--compat" mode.

The functionality is spread across "cli/compat" module and Node compatibility
layer in "deno_std/node"; this stems from the fact that ES module resolution
can only be implemented in Rust as it needs to directly integrated with 
"deno_core"; however "deno_std/node" already provided CJS module resolution.

Currently this resolution is only active when running a files using 
"deno run --compat --unstable <filename>", and is not available in other
subcommands, which will be changed in follow up commits.
2021-10-18 19:36:28 +02:00
..
ast fix: bundler should have a hygiene pass (#12418) 2021-10-12 22:47:11 -04:00
bench bench(deno_common): track void ops (#12389) 2021-10-10 16:36:55 +02:00
compat feat(unstable): Node CJS and ESM resolvers for compat mode (#12424) 2021-10-18 19:36:28 +02:00
dts fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
lsp chore: upgrade crates based on deno ast 0.3 (#12403) 2021-10-12 09:58:04 -04:00
ops fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
schemas fix(config-schema): correct default value of "lib" (#12145) 2021-09-20 11:30:00 -04:00
tests feat(unstable): Node CJS and ESM resolvers for compat mode (#12424) 2021-10-18 19:36:28 +02:00
tools chore: upgrade crates based on deno ast 0.3 (#12403) 2021-10-12 09:58:04 -04:00
tsc fix(cli): don't ignore diagnostics about for await (#12116) 2021-09-17 16:54:52 +10:00
auth_tokens.rs feat(cli): Support Basic authentication in DENO_AUTH_TOKENS (#11910) 2021-09-08 06:18:11 +02:00
build.rs fix: move unstable declarations to deno.unstable (#11876) 2021-08-31 11:25:15 +02:00
cache.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
Cargo.toml fix(fmt): keep parens for JS doc type assertions (#12475) 2021-10-18 10:21:42 -04:00
checksum.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
config_file.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_dir.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
diagnostics.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
diff.rs refactor: Remove duplicated colors.rs file (#11990) 2021-09-12 12:04:17 -04:00
disk_cache.rs chore: upgrade Rust to 1.54.0 (#11554) 2021-07-30 15:03:41 +02:00
emit.rs fix(cli): re-enable allowSyntheticDefaultImports for tsc (#12435) 2021-10-14 21:13:15 +11:00
errors.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
file_fetcher.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
file_watcher.rs chore: update dependencies (#11856) 2021-09-02 23:38:44 +02:00
flags.rs fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
flags_allow_net.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
fmt_errors.rs fix(cli/fmt_errors): don't panic on source line formatting errors (#12449) 2021-10-18 18:05:36 +02:00
fs_util.rs feat(cli/fmt): support more markdown extensions (#12195) 2021-09-23 21:49:25 +05:30
http_cache.rs fix(doc): fix rustdoc bare_urls warning (#11921) 2021-09-05 16:22:45 +02:00
http_util.rs feat(tls): custom in memory CA certificates (#12219) 2021-09-30 09:26:15 +02:00
lockfile.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
logger.rs feat(lsp): add internal debugging logging (#10438) 2021-05-11 14:54:10 +10:00
main.rs feat(unstable): Node CJS and ESM resolvers for compat mode (#12424) 2021-10-18 19:36:28 +02:00
module_loader.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
proc_state.rs feat(unstable): Node CJS and ESM resolvers for compat mode (#12424) 2021-10-18 19:36:28 +02:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
resolver.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
source_maps.rs refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
standalone.rs feat(runtime): allow passing extensions via Worker options (#12362) 2021-10-08 17:03:49 +02:00
text_encoding.rs fix(doc): fix rustdoc bare_urls warning (#11921) 2021-09-05 16:22:45 +02:00
tokio_util.rs feat: native HTTP bindings (#9935) 2021-04-08 18:34:15 -04:00
tsc.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
unix_util.rs chore: update copyright headers (#10243) 2021-04-20 14:27:36 +09:00
version.rs Remove denort optimization (#10350) 2021-04-26 13:28:38 -04:00

Deno CLI Crate

crates docs

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.