diff --git a/ql/Cargo.lock b/ql/Cargo.lock index 3b8e78046888..128d54827305 100644 --- a/ql/Cargo.lock +++ b/ql/Cargo.lock @@ -121,9 +121,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.79" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" [[package]] name = "cfg-if" @@ -203,7 +203,7 @@ dependencies = [ "serde", "serde_json", "tracing", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -216,7 +216,7 @@ dependencies = [ "regex", "tracing", "tracing-subscriber", - "tree-sitter", + "tree-sitter 0.22.1", "tree-sitter-blame", "tree-sitter-json", "tree-sitter-ql", @@ -937,12 +937,22 @@ dependencies = [ "regex", ] +[[package]] +name = "tree-sitter" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5606b9e714f1b20d2b2a3f1b634b69ff377e967e3e2c12171d9301f946be9881" +dependencies = [ + "cc", + "regex", +] + [[package]] name = "tree-sitter-blame" version = "0.0.1" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -951,7 +961,7 @@ version = "0.20.0" source = "git+https://github.com/tausbn/tree-sitter-json.git?rev=745663ee997f1576fe1e7187e6347e0db36ec7a9#745663ee997f1576fe1e7187e6347e0db36ec7a9" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -960,7 +970,7 @@ version = "0.19.0" source = "git+https://github.com/tree-sitter/tree-sitter-ql.git?rev=d08db734f8dc52f6bc04db53a966603122bc6985#d08db734f8dc52f6bc04db53a966603122bc6985" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -969,7 +979,7 @@ version = "0.0.1" source = "git+https://github.com/erik-krogh/tree-sitter-ql-dbscheme.git?rev=63e1344353f63931e88bfbc2faa2e78e1421b213#63e1344353f63931e88bfbc2faa2e78e1421b213" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] diff --git a/ql/extractor/Cargo.toml b/ql/extractor/Cargo.toml index bc8de165e65b..c16369f8b790 100644 --- a/ql/extractor/Cargo.toml +++ b/ql/extractor/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tree-sitter = ">= 0.20, < 0.21" +tree-sitter = ">= 0.20, < 0.23" tree-sitter-ql = { git = "https://github.com/tree-sitter/tree-sitter-ql.git", rev = "d08db734f8dc52f6bc04db53a966603122bc6985"} tree-sitter-ql-dbscheme = { git = "https://github.com/erik-krogh/tree-sitter-ql-dbscheme.git", rev = "63e1344353f63931e88bfbc2faa2e78e1421b213"} tree-sitter-blame = {path = "../buramu/tree-sitter-blame"}