diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-10-21 14:17:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-21 14:17:08 -0400 |
commit | 39fb55096ec12c8c18d15dff63a750a22169e3e6 (patch) | |
tree | 1e93aae8a6b35f0d6341941e204d583a218eef93 /cli/Cargo.toml | |
parent | 9fe2bf42dc584779cc43f0ec15a5a3d6dddca283 (diff) |
fix(install): better json editing (#26450)
1. Respects the formatting of the file (ex. keeps four space indents or
tabs).
2. Handles editing of comments.
3. Handles trailing commas.
4. Code is easier to maintain.
Diffstat (limited to 'cli/Cargo.toml')
-rw-r--r-- | cli/Cargo.toml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 7d6fc7162..e0fb4bb6a 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -70,7 +70,7 @@ winres.workspace = true [dependencies] deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] } deno_cache_dir = { workspace = true } -deno_config = { version = "=0.37.1", features = ["workspace", "sync"] } +deno_config = { version = "=0.37.2", features = ["workspace", "sync"] } deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] } deno_doc = { version = "0.154.0", default-features = false, features = ["rust", "html", "syntect"] } deno_graph = { version = "=0.83.3" } @@ -106,8 +106,8 @@ data-encoding.workspace = true dhat = { version = "0.3.3", optional = true } dissimilar = "=1.0.4" dotenvy = "0.15.7" -dprint-plugin-json = "=0.19.3" -dprint-plugin-jupyter = "=0.1.3" +dprint-plugin-json = "=0.19.4" +dprint-plugin-jupyter = "=0.1.5" dprint-plugin-markdown = "=0.17.8" dprint-plugin-typescript = "=0.93.0" env_logger = "=0.10.0" @@ -123,7 +123,7 @@ http-body-util.workspace = true hyper-util.workspace = true import_map = { version = "=0.20.1", features = ["ext"] } indexmap.workspace = true -jsonc-parser.workspace = true +jsonc-parser = { workspace = true, features = ["cst", "serde"] } jupyter_runtime = { package = "runtimelib", version = "=0.14.0" } lazy-regex.workspace = true libc.workspace = true @@ -168,7 +168,6 @@ typed-arena = "=2.0.2" uuid = { workspace = true, features = ["serde"] } walkdir = "=2.3.2" which.workspace = true -yoke.workspace = true zeromq.workspace = true zip = { version = "2.1.6", default-features = false, features = ["deflate-flate2"] } zstd.workspace = true |