mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
fix(lint): update deno_lint (#28271)
Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
This commit is contained in:
parent
93a1bb738a
commit
6ac6e933dc
4 changed files with 28 additions and 16 deletions
30
Cargo.lock
generated
30
Cargo.lock
generated
|
@ -1581,9 +1581,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deno_ast"
|
name = "deno_ast"
|
||||||
version = "0.44.0"
|
version = "0.45.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "eebc7aaabfdb3ddcad32aee1b62d250149dc8b35dfbdccbb125df2bdc62da952"
|
checksum = "4063ccc7a20c4bf23b36d1856a53c56d0d949e6ea4aa83d751674a5dfce6a365"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.21.7",
|
"base64 0.21.7",
|
||||||
"deno_error",
|
"deno_error",
|
||||||
|
@ -1594,6 +1594,7 @@ dependencies = [
|
||||||
"percent-encoding",
|
"percent-encoding",
|
||||||
"serde",
|
"serde",
|
||||||
"sourcemap 9.0.0",
|
"sourcemap 9.0.0",
|
||||||
|
"string_capacity",
|
||||||
"swc_atoms",
|
"swc_atoms",
|
||||||
"swc_bundler",
|
"swc_bundler",
|
||||||
"swc_common",
|
"swc_common",
|
||||||
|
@ -1844,9 +1845,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deno_doc"
|
name = "deno_doc"
|
||||||
version = "0.164.0"
|
version = "0.168.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ad1edb02603c7e8a4003c84af2482a05e5eda3a14f1af275434fda89223f054d"
|
checksum = "1ffe4164ec8ceefb414b3b99671818d79b31923c57f39cb350eb13ad327a6992"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
|
@ -1984,9 +1985,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deno_graph"
|
name = "deno_graph"
|
||||||
version = "0.87.3"
|
version = "0.88.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "0f1d2f0aa5832b72abdc67e904649aa80ec707f0a5f8cc7825859221b56abd31"
|
checksum = "8514a537cc6746ee7958b02f62273eff615ada6fa30bf8f5b38eaa68180992a7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"capacity_builder 0.5.0",
|
"capacity_builder 0.5.0",
|
||||||
|
@ -2143,9 +2144,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deno_lint"
|
name = "deno_lint"
|
||||||
version = "0.72.1"
|
version = "0.73.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ef5020c50214ba5b42d84b623b58573095e800a81c6060e9589e7e4ea1206f8d"
|
checksum = "16d3df8a46c79ec6b1ab18639b8dd0f2ff035712885ac89b9123b5d6533b6869"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"deno_ast",
|
"deno_ast",
|
||||||
|
@ -3213,9 +3214,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dprint-plugin-typescript"
|
name = "dprint-plugin-typescript"
|
||||||
version = "0.93.3"
|
version = "0.93.4"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5804d1809f6191a9261f423c41cd51a50e49567d61caa5a8f6224eea94ae0d12"
|
checksum = "faae542025e642470671e0cf64a0b86f324d06166663d0d07cfc5e811680ce93"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"deno_ast",
|
"deno_ast",
|
||||||
|
@ -7621,6 +7622,15 @@ version = "1.1.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "string_capacity"
|
||||||
|
version = "0.1.5"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "fcd14cb3a5abda6d2626370785f5f788b22e95476f597159faa4a2cc2966961a"
|
||||||
|
dependencies = [
|
||||||
|
"itoa",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "string_enum"
|
name = "string_enum"
|
||||||
version = "0.4.4"
|
version = "0.4.4"
|
||||||
|
|
|
@ -50,7 +50,7 @@ license = "MIT"
|
||||||
repository = "https://github.com/denoland/deno"
|
repository = "https://github.com/denoland/deno"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
deno_ast = { version = "=0.44.0", features = ["transpiling"] }
|
deno_ast = { version = "=0.45.1", features = ["transpiling"] }
|
||||||
deno_core = { version = "0.338.0" }
|
deno_core = { version = "0.338.0" }
|
||||||
|
|
||||||
deno_bench_util = { version = "0.186.0", path = "./bench_util" }
|
deno_bench_util = { version = "0.186.0", path = "./bench_util" }
|
||||||
|
|
|
@ -71,11 +71,11 @@ deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "proposa
|
||||||
deno_cache_dir = { workspace = true, features = ["sync"] }
|
deno_cache_dir = { workspace = true, features = ["sync"] }
|
||||||
deno_config = { workspace = true, features = ["sync", "workspace"] }
|
deno_config = { workspace = true, features = ["sync", "workspace"] }
|
||||||
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
||||||
deno_doc = { version = "=0.164.0", features = ["rust", "comrak"] }
|
deno_doc = { version = "=0.168.0", features = ["rust", "comrak"] }
|
||||||
deno_error.workspace = true
|
deno_error.workspace = true
|
||||||
deno_graph = { version = "=0.87.3" }
|
deno_graph = { version = "=0.88.0" }
|
||||||
deno_lib.workspace = true
|
deno_lib.workspace = true
|
||||||
deno_lint = { version = "0.72.1" }
|
deno_lint = { version = "0.73.1" }
|
||||||
deno_lockfile.workspace = true
|
deno_lockfile.workspace = true
|
||||||
deno_media_type = { workspace = true, features = ["data_url", "decoding", "module_specifier"] }
|
deno_media_type = { workspace = true, features = ["data_url", "decoding", "module_specifier"] }
|
||||||
deno_npm.workspace = true
|
deno_npm.workspace = true
|
||||||
|
@ -113,7 +113,7 @@ dotenvy = "0.15.7"
|
||||||
dprint-plugin-json = "=0.19.4"
|
dprint-plugin-json = "=0.19.4"
|
||||||
dprint-plugin-jupyter = "=0.1.5"
|
dprint-plugin-jupyter = "=0.1.5"
|
||||||
dprint-plugin-markdown = "=0.17.8"
|
dprint-plugin-markdown = "=0.17.8"
|
||||||
dprint-plugin-typescript = "=0.93.3"
|
dprint-plugin-typescript = "=0.93.4"
|
||||||
fancy-regex = "=0.10.0"
|
fancy-regex = "=0.10.0"
|
||||||
faster-hex.workspace = true
|
faster-hex.workspace = true
|
||||||
# If you disable the default __vendored_zlib_ng feature above, you _must_ be able to link against `-lz`.
|
# If you disable the default __vendored_zlib_ng feature above, you _must_ be able to link against `-lz`.
|
||||||
|
|
|
@ -516,7 +516,9 @@ fn print_docs_to_stdout(
|
||||||
doc_flags: DocFlags,
|
doc_flags: DocFlags,
|
||||||
mut doc_nodes: Vec<deno_doc::DocNode>,
|
mut doc_nodes: Vec<deno_doc::DocNode>,
|
||||||
) -> Result<(), AnyError> {
|
) -> Result<(), AnyError> {
|
||||||
doc_nodes.retain(|doc_node| doc_node.kind() != doc::DocNodeKind::Import);
|
doc_nodes.retain(|doc_node| {
|
||||||
|
!matches!(doc_node.def, doc::node::DocNodeDef::Import { .. })
|
||||||
|
});
|
||||||
let details = if let Some(filter) = doc_flags.filter {
|
let details = if let Some(filter) = doc_flags.filter {
|
||||||
let nodes = doc::find_nodes_by_name_recursively(doc_nodes, &filter);
|
let nodes = doc::find_nodes_by_name_recursively(doc_nodes, &filter);
|
||||||
if nodes.is_empty() {
|
if nodes.is_empty() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue