Skip to content

Commit 6b8972b

Browse files
author
Marlon Costa
committed
build(deps): Update tree-sitter to 0.26.5 and related dependencies
1 parent 37e5d83 commit 6b8972b

File tree

14 files changed

+1363
-1204
lines changed

14 files changed

+1363
-1204
lines changed

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@ serde = { version = "^1.0", features = ["derive"] }
2424
termcolor = "^1.2"
2525
walkdir = "^2.3"
2626

27-
tree-sitter = "=0.25.3"
27+
tree-sitter = "=0.26.5"
2828
tree-sitter-java = "=0.23.5"
29-
tree-sitter-kotlin-ng = "1.1.0"
29+
tree-sitter-kotlin-codanna = "0.3.9"
3030
tree-sitter-typescript = "=0.23.2"
31-
tree-sitter-javascript = "=0.23.1"
32-
tree-sitter-python = "=0.23.6"
33-
tree-sitter-rust = "=0.23.2"
31+
tree-sitter-javascript = "=0.25.0"
32+
tree-sitter-python = "=0.25.0"
33+
tree-sitter-rust = "=0.24.0"
3434
tree-sitter-preproc = { path = "./tree-sitter-preproc", version = "=0.20.3" }
3535
tree-sitter-ccomment = { path = "./tree-sitter-ccomment", version = "=0.20.3" }
3636
tree-sitter-mozcpp = { path = "./tree-sitter-mozcpp", version = "=0.20.4" }
3737
tree-sitter-mozjs = { path = "./tree-sitter-mozjs", version = "=0.20.3" }
3838

3939
[dev-dependencies]
40-
insta = { version = "1.29.0", features = ["yaml", "json", "redactions"] }
40+
insta = { version = "1.46.1", features = ["yaml", "json", "redactions"] }
4141
pretty_assertions = "^1.3"
4242

4343
[profile.dev.package.insta]

enums/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ edition = "2024"
66

77
[dependencies]
88
clap = { version = "^4.0", features = ["derive"] }
9-
askama = "^0.14"
9+
askama = "^0.15"
1010

11-
tree-sitter = "=0.25.3"
11+
tree-sitter = "=0.26.5"
1212
tree-sitter-java = "=0.23.5"
13-
tree-sitter-kotlin-ng = "1.1.0"
13+
tree-sitter-kotlin-codanna = "0.3.9"
1414
tree-sitter-typescript = "=0.23.2"
15-
tree-sitter-javascript = "=0.23.1"
16-
tree-sitter-python = "=0.23.6"
17-
tree-sitter-rust = "=0.23.2"
15+
tree-sitter-javascript = "=0.25.0"
16+
tree-sitter-python = "=0.25.0"
17+
tree-sitter-rust = "=0.24.0"
1818
tree-sitter-preproc = { path = "../tree-sitter-preproc", version = "=0.20.3" }
1919
tree-sitter-ccomment = { path = "../tree-sitter-ccomment", version = "=0.20.3" }
2020
tree-sitter-mozcpp = { path = "../tree-sitter-mozcpp", version = "=0.20.4" }

enums/src/languages.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use tree_sitter::Language;
33
mk_langs!(
44
// 1) Name for enum
55
// 2) tree-sitter function to call to get a Language
6-
(Kotlin, tree_sitter_kotlin_ng),
6+
(Kotlin, tree_sitter_kotlin_codanna),
77
(Java, tree_sitter_java),
88
(Rust, tree_sitter_rust),
99
(Cpp, tree_sitter_cpp),

src/langs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ mk_langs!(
5353
"kotlin",
5454
KotlinCode,
5555
KotlinParser,
56-
tree_sitter_kotlin_ng,
56+
tree_sitter_kotlin_codanna,
5757
[kt, kts],
5858
["kotlin"]
5959
),

0 commit comments

Comments
 (0)