0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00
denoland-deno/runtime/js
Casper Beyer f5a9474952
feat: stabilize Deno.ftruncate and Deno.ftruncateSync (#10126)
This stabilizes Deno.ftruncate and Deno.ftruncateSync.

This is a well known system call and the interface is 
not going to change. Implicitly requires write permissions 
as the file has to be opened with write to be truncated.
2021-04-11 14:05:22 +02:00
..
00_bootstrap_namespace.js chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01: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 chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01: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 chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
06_util.js refactor: move Console to op_crates/console (#9770) 2021-03-12 21:23:59 +01:00
11_timers.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02:00
11_workers.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02:00
12_io.js fix(core): error handling in examples (#9867) 2021-04-08 18:04:02 +02:00
13_buffer.js chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
30_files.js chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
30_fs.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02:00
30_metrics.js feat(unstable): per op metrics (#9240) 2021-02-21 19:20:31 +01:00
30_net.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02:00
30_os.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02:00
40_compiler_api.js chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01: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 chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
40_fs_events.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02:00
40_http.js API change: Deno.startHttp -> Deno.serveHttp (#10087) 2021-04-09 11:54:27 -04:00
40_net_unstable.js chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
40_performance.js chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
40_permissions.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02:00
40_plugins.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02:00
40_process.js chore: deprecate Deno.Buffer and read/write utils (#9793) 2021-04-06 00:05:36 +02:00
40_read_file.js fix(runtime/readFile*): close resources on error during read (#10059) 2021-04-08 16:36:52 +02:00
40_signals.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02:00
40_testing.js refactor: move Console to op_crates/console (#9770) 2021-03-12 21:23:59 +01:00
40_tls.js feat(unstable): ALPN config in listenTls (#10065) 2021-04-10 22:04:44 +02:00
40_tty.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +02: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 chore: use strict mode for internal runtime, core, and op_crates js (#9391) 2021-02-04 23:18:32 +01:00
90_deno_ns.js feat: stabilize Deno.ftruncate and Deno.ftruncateSync (#10126) 2021-04-11 14:05:22 +02:00
99_main.js refactor: convert ops to use serde_v8 (#10009) 2021-04-05 18:40:24 +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