diff --git a/Cargo.lock b/Cargo.lock index dd99a19..732292f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "aho-corasick" -version = "0.7.20" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] @@ -101,15 +101,15 @@ checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" dependencies = [ "memchr", "once_cell", - "regex-automata", + "regex-automata 0.1.10", "serde", ] [[package]] name = "cc" -version = "1.0.90" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" +checksum = "066fce287b1d4eafef758e89e09d724a24808a9196fe9756b8ca90e86d0719a2" [[package]] name = "cfg-if" @@ -247,9 +247,9 @@ checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "memchr" -version = "2.5.0" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "normalize-line-endings" @@ -322,12 +322,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.7.3" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" +checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8" dependencies = [ "aho-corasick", "memchr", + "regex-automata 0.4.8", "regex-syntax", ] @@ -337,11 +338,22 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +[[package]] +name = "regex-automata" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + [[package]] name = "regex-syntax" -version = "0.6.29" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "rustix" @@ -459,6 +471,16 @@ dependencies = [ "regex", ] +[[package]] +name = "tree-sitter" +version = "0.22.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df7cc499ceadd4dcdf7ec6d4cbc34ece92c3fa07821e287aedecd4416c516dca" +dependencies = [ + "cc", + "regex", +] + [[package]] name = "tree-sitter-c" version = "0.20.2" @@ -466,7 +488,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cca211f4827d4b4dc79f388bf67b6fa3bc8a8cfa642161ef24f99f371ba34c7b" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -475,7 +497,7 @@ version = "0.20.0" source = "git+https://github.com/tree-sitter/tree-sitter-c-sharp#92c0a9431400cd8b6b6ee7503f81da3ae83fc830" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -484,17 +506,17 @@ version = "0.20.2" source = "git+https://github.com/tree-sitter/tree-sitter-java#2b57cd9541f9fd3a89207d054ce8fbe72657c444" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] name = "tree-sitter-javascript" -version = "0.20.4" +version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d015c02ea98b62c806f7329ff71c383286dfc3a7a7da0cc484f6e42922f73c2c" +checksum = "8710a71bc6779e33811a8067bdda3ed08bed1733296ff915e44faf60f8c533d7" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.22.6", ] [[package]] @@ -504,7 +526,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0832309b0b2b6d33760ce5c0e818cb47e1d72b468516bfe4134408926fa7594" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -514,7 +536,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10f4f25aa2790a524866eac9f872de86b8bbc01412f39402c2cef3b9fe1dff8b" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -524,7 +546,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e55ecb0372483057cb8f0f80c54d1cf76a3e301281d8db16d6c080e19395360f" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -534,7 +556,7 @@ dependencies = [ "anyhow", "clap", "csv", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] diff --git a/treeedb-javascript/Cargo.toml b/treeedb-javascript/Cargo.toml index 1474ec4..b9287af 100644 --- a/treeedb-javascript/Cargo.toml +++ b/treeedb-javascript/Cargo.toml @@ -13,4 +13,4 @@ repository = "https://github.com/langston-barrett/treeedb" [dependencies] anyhow = "1.0" treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] } -tree-sitter-javascript = { version = "0.20" } +tree-sitter-javascript = { version = "0.21" } diff --git a/treeedbgen-souffle-javascript/Cargo.toml b/treeedbgen-souffle-javascript/Cargo.toml index fe97656..e15020f 100644 --- a/treeedbgen-souffle-javascript/Cargo.toml +++ b/treeedbgen-souffle-javascript/Cargo.toml @@ -13,7 +13,7 @@ repository = "https://github.com/langston-barrett/treeedb" [dependencies] anyhow = "1" treeedbgen-souffle = { version = "0.1.0", path = "../treeedbgen-souffle", features = ["cli"] } -tree-sitter-javascript = { version = "0.20" } +tree-sitter-javascript = { version = "0.21" } [dev-dependencies] assert_cmd = "2.0"