1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/runtime/ops
Aaron O'Mullan 0260b488fb
core: introduce extensions (#9800)
Extensions allow declarative extensions to "JsRuntime" (ops, state, JS or middleware).

This allows for:
- `op_crates` to be plug-and-play & self-contained, reducing complexity leaked to consumers
- op middleware (like metrics_op) to be opt-in and for new middleware (unstable, tracing,...)
- `MainWorker` and `WebWorker` to be composable, allowing users to extend workers with their ops whilst benefiting from the other infrastructure (inspector, etc...)

In short extensions improve deno's modularity, reducing complexity and leaky abstractions for embedders and the internal codebase.
2021-04-28 18:41:50 +02:00
..
fs.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
fs_events.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
http.rs chore: align fetch to spec (#10203) 2021-04-20 14:47:22 +02:00
io.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
mod.rs core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
net.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
net_unix.rs refactor: rewrite "net" ops to use serde_v8 (#10028) 2021-04-06 10:33:43 +02:00
os.rs feat(permissions): allow env permission to take values (#9825) 2021-04-13 13:25:21 +02:00
permissions.rs feat(permissions): allow env permission to take values (#9825) 2021-04-13 13:25:21 +02:00
plugin.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
process.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
runtime.rs core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
signal.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
tls.rs fix(tls): throw meaningful error when hostname is invalid (#10387) 2021-04-26 23:40:45 +02:00
tty.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
utils.rs chore: update copyright headers (#10243) 2021-04-20 14:27:36 +09:00
web_worker.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
worker_host.rs feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00