1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 00:29:09 -05:00
denoland-deno/runtime/js
Bartek Iwańczuk 38a7128cdd
feat: Add "deno_net" extension (#11150)
This commits moves implementation of net related APIs available on "Deno"
namespace to "deno_net" extension.

Following APIs were moved:
- Deno.listen()
- Deno.connect()
- Deno.listenTls()
- Deno.serveHttp()
- Deno.shutdown()
- Deno.resolveDns()
- Deno.listenDatagram()
- Deno.startTls()
- Deno.Conn
- Deno.Listener
- Deno.DatagramConn
2021-06-29 01:43:03 +02:00
..
01_build.js chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
01_errors.js feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
01_version.js chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
01_web_util.js refactor(runtime): move performance API to timers extension (#10818) 2021-06-07 14:19:33 +02:00
06_util.js feat: Deno namespace configurable and unfrozen (#11062) 2021-06-22 07:17:35 +10:00
11_workers.js feat: transfer MessagePort between workers (#11076) 2021-06-22 16:30:16 +02:00
12_io.js feat(core): support AbortSignal in readFile (#10943) 2021-06-22 11:45:26 -04:00
13_buffer.js feat(cli): upgrade to TypeScript 4.3 (#9960) 2021-05-28 09:33:11 +10:00
30_fs.js feat(cli): support URL overload for Deno.chdir (#10793) 2021-06-03 16:32:18 +02:00
30_metrics.js refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
30_os.js refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
40_compiler_api.js refactor(cli): rename Deno.emit() bundle options to "module" and "classic" (#10332) 2021-04-26 06:54:57 +10:00
40_diagnostics.js chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
40_error_stack.js refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
40_files.js refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
40_fs_events.js feat: add FsWatcher interface (#10798) 2021-06-01 15:35:06 +09:00
40_permissions.js chore(ext/console): deprecate Deno.customInspect (#10035) 2021-06-25 16:19:18 +09:00
40_plugins.js fix: align plugin api with Extension (#10427) 2021-05-07 09:45:07 -04:00
40_process.js refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
40_read_file.js feat(core): support AbortSignal in readFile (#10943) 2021-06-22 11:45:26 -04:00
40_signals.js fix(runtime): fix signal promise API (#11069) 2021-06-22 15:17:44 +09:00
40_testing.js chore: update deno_lint binary used in CI to v0.5.0 (#10652) 2021-05-18 17:24:01 +02:00
40_tty.js refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
40_write_file.js chore: deprecate Deno.Buffer and read/write utils (#9793) 2021-04-06 00:05:36 +02:00
41_prompt.js refactor(web): use encoding_rs for text encoding (#10844) 2021-06-05 23:10:07 +02:00
90_deno_ns.js chore(ext/console): deprecate Deno.customInspect (#10035) 2021-06-25 16:19:18 +09:00
99_main.js feat(inspector): pipe console messages between terminal and inspector (#11134) 2021-06-27 02:27:50 +02:00
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