0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-10 06:07:03 -04:00
deno/runtime/js
Matt Mastracci 632684da34 refactor(cli): Move op descriptions into Rust and prepare for op import (#22271)
This moves the op sanitizer descriptions into Rust code and prepares for
eventual op import from `ext:core/ops`. We cannot import these ops from
`ext:core/ops` as the testing infrastructure ops are not always present.

Changes:
- Op descriptions live in `cli` code and are currently accessible via an
op for the older sanitizer code
 - `phf` dep moved to workspace root so we can use it here
- `ops.op_XXX` changed to to `op_XXX` to prepare for op imports later
on.
2024-02-08 14:56:46 +05:30
..
01_errors.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
01_version.ts refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
06_util.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
10_permissions.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
11_workers.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
13_buffer.js feat: Add warnings for more deprecated APIs (#21992) 2024-01-24 14:57:54 +01:00
30_os.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
40_fs_events.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
40_http.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
40_process.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
40_signals.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
40_tty.js refactor: Use virtul ops module (#22175) 2024-02-01 11:19:56 +05:30
41_prompt.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
90_deno_ns.js refactor: migrate extensions to virtual ops module (#22135) 2024-02-01 11:19:56 +05:30
98_global_scope_shared.js refactor: Use virtul ops module (#22175) 2024-02-01 11:19:56 +05:30
98_global_scope_window.js refactor: Use virtul ops module (#22175) 2024-02-01 11:19:56 +05:30
98_global_scope_worker.js refactor: Use virtul ops module (#22175) 2024-02-01 11:19:56 +05:30
99_main.js refactor(cli): Move op descriptions into Rust and prepare for op import (#22271) 2024-02-08 14:56:46 +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