1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli
Nayeem Rahman 2ea41d3ac1
fix(core/modules): Prepare modules only once per runtime (#11015)
This commit changes module loading implementation in "deno_core"
to call "ModuleLoader::prepare" hook only once per entry point.

This is done to avoid multiple type checking of the same code
in case of duplicated dynamic imports.

Relevant code in "cli/module_graph.rs" was updated as well.
2021-06-19 16:14:43 +02:00
..
bench chore: upgrade Rust to 1.53.0 (#11021) 2021-06-17 15:56:30 -04:00
dts fix: Worker accepts specifier as URL (#11038) 2021-06-18 21:34:51 +02:00
lsp chore: fix new linting errors flagged by Rust 1.53 (#11029) 2021-06-17 21:48:16 -04:00
ops fix: static import permissions in dynamic imports 2021-05-17 09:45:54 +02:00
tests fix(core/modules): Prepare modules only once per runtime (#11015) 2021-06-19 16:14:43 +02:00
tools fix(repl): Complete declarations (#10963) 2021-06-15 09:31:36 -04:00
tsc chore: update deno_lint binary used in CI to v0.5.0 (#10652) 2021-05-31 16:37:28 +02:00
ast.rs refactor(ast): Change AST parsing error to return struct with message and location (#10911) 2021-06-11 09:03:42 -04:00
auth_tokens.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
build.rs refactor: merge deno_file crate into deno_web (#10914) 2021-06-10 15:26:10 +02:00
Cargo.toml chore: upgrade Tokio to 1.7.1 (#11045) 2021-06-19 15:37:07 +02:00
checksum.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
colors.rs Remove denort optimization (#10350) 2021-04-26 13:28:38 -04:00
config_file.rs fix(#10733): empty tsconfig.json file does not cause error (#10734) 2021-05-31 16:37:35 +02: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 feat(runtime): stabilize Deno.fstat and Deno.fstatSync (#10108) 2021-04-12 11:27:38 +02:00
diff.rs chore: make all tests annotated with #[cfg(test)] (#9347) 2021-02-01 10:55:23 -05:00
disk_cache.rs chore: upgrade Rust to 1.53.0 (#11021) 2021-06-17 15:56:30 -04:00
errors.rs refactor(ast): Change AST parsing error to return struct with message and location (#10911) 2021-06-11 09:03:42 -04:00
file_fetcher.rs refactor: merge deno_file crate into deno_web (#10914) 2021-06-10 15:26:10 +02:00
file_watcher.rs feat: add deno test --watch (#9160) 2021-05-10 08:06:13 +02:00
flags.rs chore(lsp): add --parent-pid <pid> flag (#11023) 2021-06-17 19:57:58 -04:00
flags_allow_net.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
fmt_errors.rs fix(#10292): Don't gray-out internal frames (#10293) 2021-04-22 08:30:03 -04:00
fs_util.rs fix: do not panic on not found cwd (#10238) 2021-04-21 17:52:00 +02:00
http_cache.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
http_util.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
import_map.rs fix(cli): Don't statically error on dynamic unmapped bare specifiers (#10618) 2021-05-31 16:37:36 +02:00
info.rs feat(cli): represent type dependencies in info (#9630) 2021-03-01 22:49:58 +11:00
lockfile.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
logger.rs feat(lsp): add internal debugging logging (#10438) 2021-05-11 14:54:10 +10:00
main.rs fix(core/modules): Prepare modules only once per runtime (#11015) 2021-06-19 16:14:43 +02:00
media_type.rs fix(#10815): lsp only responds to formatting for md, json, jsonc (#10816) 2021-06-02 20:29:58 +10:00
module_graph.rs fix(core/modules): Prepare modules only once per runtime (#11015) 2021-06-19 16:14:43 +02:00
module_loader.rs fix(cli): Don't statically error on dynamic unmapped bare specifiers (#10618) 2021-05-31 16:37:36 +02:00
program_state.rs fix(core/modules): Prepare modules only once per runtime (#11015) 2021-06-19 16:14:43 +02:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
source_maps.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
specifier_handler.rs chore: upgrade Rust to 1.53.0 (#11021) 2021-06-17 15:56:30 -04:00
standalone.rs refactor: merge deno_file crate into deno_web (#10914) 2021-06-10 15:26:10 +02:00
text_encoding.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
tokio_util.rs feat: native HTTP bindings (#9935) 2021-04-08 18:34:15 -04:00
tsc.rs refactor: merge deno_file crate into deno_web (#10914) 2021-06-10 15:26:10 +02: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.