1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 00:59:24 -05:00
denoland-deno/runtime/js
Luca Casonato 20c7300412
refactor(ext/http): remove op_http_read (#16096)
We can use Resource::read_return & op_read instead. This allows HTTP
request bodies to participate in FastStream.

To make this work, `readableStreamForRid` required a change to allow non
auto-closing resources to be handled. This required some minor changes
in our FastStream paths in ext/http and ext/flash.
2022-09-30 07:54:12 +02:00
..
01_build.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
01_errors.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
01_version.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
01_web_util.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
06_util.js refactor: cleanup assert() & AssertionError definitions (#13859) 2022-03-19 13:57:37 +01:00
10_permissions.js feat: add --allow-sys permission flag (#16028) 2022-09-28 21:46:50 +09:00
11_workers.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
12_io.js refactor(runtime/io): use primordials (#15906) 2022-09-15 13:35:41 +05:30
13_buffer.js refactor: cleanup assert() & AssertionError definitions (#13859) 2022-03-19 13:57:37 +01:00
30_fs.js perf: fs optimizations - part 1 (#15873) 2022-09-22 14:39:25 +05:30
30_os.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
40_diagnostics.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
40_files.js feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) 2022-09-28 15:03:56 +02:00
40_fs_events.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
40_http.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
40_process.js feat: Add requesting API name to permission prompt (#15936) 2022-09-27 22:36:33 +02:00
40_read_file.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
40_signals.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
40_spawn.js fix(runtime): no FastStream for unrefable streams (#16095) 2022-09-30 00:42:33 +02:00
40_testing.js refactor(ext/http): remove op_http_read (#16096) 2022-09-30 07:54:12 +02:00
40_tty.js feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) 2022-09-28 15:03:56 +02:00
40_write_file.js perf(runtime): flatten arguments for write_file ops (#15776) 2022-09-05 17:20:48 +05:30
41_prompt.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
90_deno_ns.js fix: move Deno.hostname() from denoNsUnstable to denoNs (#16086) 2022-09-29 12:15:35 +02:00
99_main.js feat: implement Web Cache API (#15829) 2022-09-28 17:41:12 +05:30
README.md feat: add --location=<href> and globalThis.location (#7369) 2021-01-07 19:06:08 +01: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