1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/cli
Bartek Iwańczuk f77c5701f7
feat(compat): integrate import map and classic resolutions in ESM resolution (#12549)
This commit integrates import map and "classic" resolutions in
the "--compat" mode when using ES modules; in effect
"http:", "https:" and "blob:" imports now work in compat mode.

The algorithm works as follows:

1. If there's an import map, try to resolve using it and if succeeded
return the specifier
2. Try to resolve using "Node ESM resolution", and if succeeded return
the specifier
3. Fall back to regular ESM resolution
2021-10-28 10:11:38 +02:00
..
ast fix(cli): no-check respects inlineSources compiler option (#12559) 2021-10-27 17:18:53 +11:00
bench bench(http): avoid obj destructuring for parity with std (#12528) 2021-10-25 18:51:17 +02:00
compat feat(compat): integrate import map and classic resolutions in ESM resolution (#12549) 2021-10-28 10:11:38 +02:00
dts feat(ext/net): add TlsConn.handshake() (#12467) 2021-10-26 22:27:47 +02:00
lsp feat(cli): enable useUnknownInCatchVariables by default (#12547) 2021-10-28 08:43:40 +11: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(compat): integrate import map and classic resolutions in ESM resolution (#12549) 2021-10-28 10:11:38 +02:00
tools fix(lsp): formatting should error on certain additional swc diagnostics (#12491) 2021-10-21 10:18:18 -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 v1.15.3 (#12533) 2021-10-25 20:11:55 +09: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 feat(cli): enable useUnknownInCatchVariables by default (#12547) 2021-10-28 08:43:40 +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 fix: support verbatim UNC prefixed paths on Windows (#12438) 2021-10-25 11:54:36 -04:00
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(ext/webstorage): use implied origin when --location not set (#12548) 2021-10-27 11:10:27 +11:00
module_loader.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
proc_state.rs feat(compat): integrate import map and classic resolutions in ESM resolution (#12549) 2021-10-28 10:11:38 +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
windows_util.rs chore: upgrade Rust to 1.56.0 (#12514) 2021-10-26 07:17:11 +02: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.