deno/cli
Kyle Kelley 81d6ea8e11
feat(jupyter-kernel): accept nested objects from display calls (#20537)
Closes #20535.

# Screenshots

## JSON
<img width="779" alt="image"
src="https://github.com/denoland/deno/assets/836375/668bb1a6-3f76-4b36-974e-cdc6c93f94c3">

## Vegalite

<img width="558" alt="image"
src="https://github.com/denoland/deno/assets/836375/a5e70908-6b87-42d8-85c3-1323ad52a00f">

# Implementation

Instead of going the route of recursively getting all the objects under
`application/.*json` keys, I went with `JSON.stringify`ing in denospace
then parsing it from rust. One of the key benefits of serializing and
deserializing is that non-JSON-able entries will get stripped
automatically. This also keeps the code pretty simple.

In the future we should _only_ do this for `application/.*json` keys.

cc @mmastrac
2023-09-17 10:38:52 -06:00
..
args feat: Add "deno jupyter" subcommand (#20337) 2023-09-16 02:42:09 +02:00
bench feat: support import attributes (#20342) 2023-09-07 09:09:16 -04:00
cache feat: support import attributes (#20342) 2023-09-07 09:09:16 -04:00
js perf: improve async op santizer speed and accuracy (#20501) 2023-09-16 07:48:31 +02:00
lsp fix(lsp): include JSON modules in local import completions (#20536) 2023-09-17 07:50:30 +01:00
napi chore: forward v1.36.4 to main (#20352) 2023-09-01 18:08:58 +00:00
npm refactor: remove DENO_UNSTABLE_NPM_SYNC_DOWNLOAD and custom sync functionality (#20504) 2023-09-14 17:51:28 +00:00
ops refactor: rewrite cli/ ops to op2 (#20462) 2023-09-12 13:14:45 +02:00
schemas feat(ext/kv): connect to remote database (#20178) 2023-08-22 13:56:00 +08:00
standalone chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
tests feat(lsp): include source in auto import completion label (#20523) 2023-09-16 15:51:35 +01:00
tools feat(jupyter-kernel): accept nested objects from display calls (#20537) 2023-09-17 10:38:52 -06:00
tsc refactor: rewrite cli/ ops to op2 (#20462) 2023-09-12 13:14:45 +02:00
util fix(lsp): include JSON modules in local import completions (#20536) 2023-09-17 07:50:30 +01:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs build: add an environment variable to skip cross build check (#20281) (#20533) 2023-09-17 16:06:51 +00:00
Cargo.toml feat: Add "deno jupyter" subcommand (#20337) 2023-09-16 02:42:09 +02:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs chore: forward v1.36.4 to main (#20352) 2023-09-01 18:08:58 +00:00
emit.rs refactor(lsp): move config file related code to config.rs (#19790) 2023-07-10 21:45:09 +00:00
errors.rs feat: support import attributes (#20342) 2023-09-07 09:09:16 -04:00
factory.rs refactor: use "deno_config" crate (#20260) 2023-08-24 11:21:34 +02:00
file_fetcher.rs feat: support import attributes (#20342) 2023-09-07 09:09:16 -04:00
graph_util.rs refactor: move deno_core::TaskQueue to cli::util::sync (#20481) 2023-09-13 21:53:07 +00:00
http_util.rs feat(unstable): add more options to Deno.createHttpClient (#17385) 2023-05-21 03:43:54 +02:00
js.rs build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
main.rs feat: Add "deno jupyter" subcommand (#20337) 2023-09-16 02:42:09 +02:00
module_loader.rs feat: Add "deno jupyter" subcommand (#20337) 2023-09-16 02:42:09 +02:00
node.rs chore: rename some helpers on the Fs trait (#20097) 2023-08-08 16:28:18 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs refactor: remove DENO_UNSTABLE_NPM_SYNC_DOWNLOAD and custom sync functionality (#20504) 2023-09-14 17:51:28 +00:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
worker.rs fix: output traces for op sanitizer in more cases (#20494) 2023-09-14 16:38:15 +02:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.