1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli
Yoshiya Hinosawa 265a9fb932
fix(console): fix inspection of Function (#7930)
This commit fixes the inspection of functions. The current 
implementation gets the name of the type of the function 
from "f.__proto__.constructor.name", and it throws when 
the prototype is set to null. 

This commit checks the prototype before accessing its 
constructor name and uses the generic name 'Function' 
if the prototype is not available.
2020-10-11 22:04:26 +02:00
..
bench chore: add a bundle benchmark (#7828) 2020-10-05 21:39:46 +11:00
dts fix(cli/console): only inspect getters with option (#7830) 2020-10-11 21:52:20 +02:00
ops reland JsRuntime/Worker is not a Future (#7924) 2020-10-11 13:20:40 +02:00
rt fix(console): fix inspection of Function (#7930) 2020-10-11 22:04:26 +02:00
tests fix(console): fix inspection of Function (#7930) 2020-10-11 22:04:26 +02:00
tsc refactor: add concept of 'legacy' compiler to enable non-breaking refactoring (#7762) 2020-10-01 20:33:15 +10:00
ast.rs refactor(cli): remove TextDocument (#7850) 2020-10-07 22:43:44 +11:00
build.rs refactor: rename isolate to js_runtime (#7858) 2020-10-07 17:20:20 +02:00
Cargo.toml v1.4.6 2020-10-10 12:30:55 +02:00
checksum.rs chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
colors.rs fix(cli/fmt): make fmt output more readable (#7534) 2020-09-17 21:48:08 -04:00
coverage.rs reland JsRuntime/Worker is not a Future (#7924) 2020-10-11 13:20:40 +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 Move JSON ops to deno_core (#7336) 2020-09-06 02:34:02 +02:00
diagnostics.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
diff.rs fix(cli/fmt): make fmt output more readable (#7534) 2020-09-17 21:48:08 -04:00
disk_cache.rs chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
errors.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
file_fetcher.rs refactor(cli): remove TextDocument (#7850) 2020-10-07 22:43:44 +11:00
file_watcher.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
flags.rs refactor(repl): use an inspector session (#7763) 2020-10-02 01:14:55 +02:00
flags_allow_net.rs chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
fmt.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
fmt_errors.rs refactor(cli/fmt_errors): Color stack traces in Rust (#7628) 2020-09-22 19:01:30 +02:00
fs.rs fix(cli/fs) Small change in filter expression (#7865) 2020-10-08 10:57:45 +02:00
global_state.rs refactor(cli): remove TextDocument (#7850) 2020-10-07 22:43:44 +11:00
global_timer.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
http_cache.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
http_util.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
import_map.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
info.rs feat(unstable): add module specifier to deno info --json output (#7725) 2020-09-27 21:50:18 +02:00
inspector.rs refactor(cli/repl): get context id from notification (#7864) 2020-10-11 19:49:55 +02:00
installer.rs Re-export deno_core::url (#7525) 2020-09-16 14:28:07 -04:00
js.rs refactor: rename isolate to js_runtime (#7858) 2020-10-07 17:20:20 +02:00
lint.rs refactor(cli/fmt_errors): Color stack traces in Rust (#7628) 2020-09-22 19:01:30 +02:00
lockfile.rs chore: add lockfile tests (#7816) 2020-10-05 10:32:18 +11:00
main.rs reland JsRuntime/Worker is not a Future (#7924) 2020-10-11 13:20:40 +02:00
media_type.rs cli/msg.rs -> cli/media_type.rs 2020-09-15 11:55:51 -04:00
metrics.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
module_graph.rs refactor(cli): remove TextDocument (#7850) 2020-10-07 22:43:44 +11:00
module_graph2.rs refactor(cli): remove TextDocument (#7850) 2020-10-07 22:43:44 +11:00
op_fetch_asset.rs refactor: Simplify op_fetch_asset signature (#7655) 2020-09-24 15:29:18 +02:00
permissions.rs Fix typos (#7882) 2020-10-08 15:40:49 -04:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
repl.rs refactor(cli/repl): get context id from notification (#7864) 2020-10-11 19:49:55 +02:00
resolve_addr.rs refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476) 2020-09-15 01:50:52 +02:00
signal.rs refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476) 2020-09-15 01:50:52 +02:00
source_maps.rs refactor(core): support error stack, remove js_check (#7629) 2020-09-22 23:30:03 +02:00
specifier_handler.rs refactor(cli): remove TextDocument (#7850) 2020-10-07 22:43:44 +11:00
state.rs fix(cli/repl): use a default referrer when empty (#7794) 2020-10-02 13:13:23 +02:00
system_loader.js fix: bundle loader returns exported value (#7764) 2020-09-30 18:51:19 +10:00
system_loader_es5.js fix: bundle loader returns exported value (#7764) 2020-09-30 18:51:19 +10:00
test_runner.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
text_encoding.rs Move JSON ops to deno_core (#7336) 2020-09-06 02:34:02 +02:00
tokio_util.rs set maximum size of thread pool to 31 (#7290) 2020-08-31 17:38:25 -04:00
tsc.rs refactor(cli): remove TextDocument (#7850) 2020-10-07 22:43:44 +11:00
tsc_config.rs chore: ensure cache is 'valid' during benchmarks (#7770) 2020-10-01 20:32:05 +10:00
upgrade.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
version.rs Move JSON ops to deno_core (#7336) 2020-09-06 02:34:02 +02:00
worker.rs reland JsRuntime/Worker is not a Future (#7924) 2020-10-11 13:20:40 +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.