1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/rt
Nayeem Rahman a8f74aa381
fix: Improve URL compatibility (#6807)
- Fix protocol regex.
- Truncate repeated leading slashes in file paths.
- Make drive letter support platform-independent.
- Drop the hostname if a drive letter is parsed.
- Fix drive letter normalization and basing.
- Allow basing over the host.
- Fix same-protocol basing.
- Remove Windows UNC path support.
- Reverts #6418. This is non-standard. Wouldn't be too much of a problem but it 
   makes other parts of the spec hard to realize.
2020-07-23 21:37:11 -04:00
..
00_bootstrap_namespace.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
00_dom_exception.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02: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 Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
01_event.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +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 Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
02_abort_signal.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
02_console.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
03_dom_iterable.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
06_util.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
07_base64.js Don't use window.__base64. Combine deno_ns scripts. (#6858) 2020-07-23 11:12:25 -04:00
08_text_encoding.js Don't use window.__base64. Combine deno_ns scripts. (#6858) 2020-07-23 11:12:25 -04:00
10_dispatch_json.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
10_dispatch_minimal.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
11_crypto.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
11_resources.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
11_streams.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
11_timers.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
11_url.js fix: Improve URL compatibility (#6807) 2020-07-23 21:37:11 -04:00
11_workers.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +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
20_blob.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
20_headers.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
20_streams_queuing_strategy.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
21_dom_file.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
22_form_data.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
23_multipart.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
24_body.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
25_request.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
26_fetch.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
30_files.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
30_fs.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
30_metrics.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
30_net.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
30_os.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_compiler_api.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_diagnostics.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_error_stack.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_fs_events.js fix(cli/js/ops/fs_events): Ignore polling errors caused by return() (#6785) 2020-07-23 21:33:52 -04:00
40_net_unstable.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_performance.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_permissions.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_plugins.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_process.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_read_file.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_repl.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_signals.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_testing.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_tls.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
40_tty.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +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 Don't use window.__base64. Combine deno_ns scripts. (#6858) 2020-07-23 11:12:25 -04:00
99_main.js Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
README.md Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02: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