1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00
denoland-deno/cli/rt
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
..
00_bootstrap_namespace.js simplify deno_web init (#7313) 2020-09-01 16:32:07 -04:00
01_build.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
01_colors.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
01_errors.js refactor: remove OpError, use ErrBox everywhere (#7187) 2020-08-26 00:22:15 +02:00
01_internals.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
01_version.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
01_web_util.js refactor: prune unneeded JS code (#7689) 2020-09-26 15:59:24 +02:00
02_console.js fix(console): fix inspection of Function (#7930) 2020-10-11 22:04:26 +02:00
06_util.js refactor: prune unneeded JS code (#7689) 2020-09-26 15:59:24 +02:00
10_dispatch_minimal.js fix(core): handle unregistered errors in core better (#7817) 2020-10-05 20:35:51 +11:00
11_crypto.js refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521) 2020-09-16 22:22:43 +02:00
11_timers.js fix: clearing timers race condition (#7617) 2020-09-22 19:33:29 +02:00
11_workers.js refactor: Move URL to op_crates/web (#7544) 2020-09-17 19:13:20 +02:00
12_io.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
13_buffer.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
27_websocket.js fix(websocket): add missing close events and remove extra error event (#7606) 2020-09-29 11:42:29 +02:00
30_files.js refactor: move op_resources and op_close to deno_core (#7539) 2020-09-17 18:09:50 +02:00
30_fs.js refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521) 2020-09-16 22:22:43 +02:00
30_metrics.js refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521) 2020-09-16 22:22:43 +02:00
30_net.js fix: net listen crashes on explicit undefined hostname (#7706) 2020-09-27 10:44:53 -04:00
30_os.js refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521) 2020-09-16 22:22:43 +02:00
40_compiler_api.js refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521) 2020-09-16 22:22:43 +02:00
40_diagnostics.js refactor: improve tsc diagnostics (#7420) 2020-09-12 11:53:57 +02:00
40_error_stack.js fix(cli/rt/error_stack): Improve message line formatting (#7860) 2020-10-08 11:05:19 +02:00
40_fs_events.js refactor: move op_resources and op_close to deno_core (#7539) 2020-09-17 18:09:50 +02:00
40_net_unstable.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_performance.js fix(cli/rt): make some web API constructors illegal at runtime (#7468) 2020-09-19 23:30:59 +02:00
40_permissions.js fix(cli/rt): make some web API constructors illegal at runtime (#7468) 2020-09-19 23:30:59 +02:00
40_plugins.js refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521) 2020-09-16 22:22:43 +02:00
40_process.js refactor: move op_resources and op_close to deno_core (#7539) 2020-09-17 18:09:50 +02:00
40_read_file.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_signals.js refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521) 2020-09-16 22:22:43 +02:00
40_testing.js refactor: move op_resources and op_close to deno_core (#7539) 2020-09-17 18:09:50 +02:00
40_tls.js refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521) 2020-09-16 22:22:43 +02:00
40_tty.js refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521) 2020-09-16 22:22:43 +02:00
40_write_file.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
90_deno_ns.js refactor: move op_resources and op_close to deno_core (#7539) 2020-09-17 18:09:50 +02:00
99_main.js refactor(repl): use an inspector session (#7763) 2020-10-02 01:14:55 +02:00
README.md docs: end sentences with a period in markdown (#7813) 2020-10-04 07:19:11 +11:00

Runtime JavaScript Code

This directory contains Deno runtime code written in plain JavaScript.

Each file is a plain, old script, not ES modules. The reason is that snapshotting ES modules is much harder, especially if one needs to manipulate global scope (like in case of Deno).

Each file is prefixed with a number, telling in which order scripts should be loaded into V8 isolate. This is temporary solution and we're striving not to require specific order (though it's not 100% obvious if that's feasible).

Deno Web APIs

This directory facilities Web APIs that are available in Deno.

Please note, that some implementations might not be completely aligned with specification.

Some Web APIs are using ops under the hood, eg. console, performance.

Implemented Web APIs