diff --git a/Cargo.lock b/Cargo.lock index 86fb314..1e694d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -524,7 +524,22 @@ checksum = "4356a61f2ed4c9b3610245215fbf48970eb277126919f87db9d0efa93a74245c" dependencies = [ "cfg-if", "owo-colors", - "oxc-miette-derive", + "oxc-miette-derive 2.7.1", + "textwrap", + "thiserror", + "unicode-segmentation", + "unicode-width 0.2.2", +] + +[[package]] +name = "oxc-miette" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b776084bf11ad750806cb63f9ed2606a12ab374cf458f36a7731eba1f5d753fc" +dependencies = [ + "cfg-if", + "owo-colors", + "oxc-miette-derive 3.0.0", "textwrap", "thiserror", "unicode-segmentation", @@ -542,6 +557,17 @@ dependencies = [ "syn", ] +[[package]] +name = "oxc-miette-derive" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66e0bafc397eee2f94c5bf89bb5a82ba6d522d1b79e2924c8169f053febb433f" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "oxc_allocator" version = "0.128.0" @@ -550,7 +576,19 @@ checksum = "8b554cc48bdde5684b8a2bf3355524694ee47d9de4246eaf6199b8aecfd952cb" dependencies = [ "allocator-api2", "hashbrown 0.17.0", - "oxc_data_structures", + "oxc_data_structures 0.128.0", + "rustc-hash", +] + +[[package]] +name = "oxc_allocator" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b34ec71e68e73a0ed7d929e58ab2bb4f58752dea944c08f14ccc3b8272c77946" +dependencies = [ + "allocator-api2", + "hashbrown 0.17.0", + "oxc_data_structures 0.137.0", "rustc-hash", ] @@ -561,14 +599,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d027d8f8b23257e1711e0db8b80c9dacb3ab567a3357b4560eaa1d0a04da2d30" dependencies = [ "bitflags", - "oxc_allocator", - "oxc_ast_macros", - "oxc_data_structures", + "oxc_allocator 0.128.0", + "oxc_ast_macros 0.128.0", + "oxc_data_structures 0.128.0", "oxc_diagnostics", - "oxc_estree", + "oxc_estree 0.128.0", "oxc_regular_expression", - "oxc_span", - "oxc_str", + "oxc_span 0.128.0", + "oxc_str 0.128.0", "oxc_syntax", ] @@ -584,12 +622,30 @@ dependencies = [ "syn", ] +[[package]] +name = "oxc_ast_macros" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3706e193b659865e03155a44e443f0447abf6789f9a3eb436ae10e557afab899" +dependencies = [ + "phf", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "oxc_data_structures" version = "0.128.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c425cdc1a05603d9b6d13786892d69364a0c18de06ffa511109a9e0a760b423c" +[[package]] +name = "oxc_data_structures" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fde9ca13ef89018fb4c18502cefb9668baac6066905d27a914c29fb5fae1c8ac" + [[package]] name = "oxc_diagnostics" version = "0.128.0" @@ -597,7 +653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa06c0bec3b31c76e6b30b935f80dd3b29c01bf0d0fbc13b5b8f3eca508ad9ee" dependencies = [ "cow-utils", - "oxc-miette", + "oxc-miette 2.7.1", "percent-encoding", ] @@ -610,10 +666,10 @@ dependencies = [ "cow-utils", "num-bigint", "num-traits", - "oxc_allocator", + "oxc_allocator 0.128.0", "oxc_ast", "oxc_regular_expression", - "oxc_span", + "oxc_span 0.128.0", "oxc_syntax", ] @@ -623,6 +679,12 @@ version = "0.128.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0aef225084b2735b871215ceba04582ecfe15be563c4c3a9e22f33e34fab74f4" +[[package]] +name = "oxc_estree" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b6c062d52b9ff15d118b87679bdd0a05c43599c1d55fd1cab280da1cc822858" + [[package]] name = "oxc_index" version = "4.1.0" @@ -644,14 +706,14 @@ dependencies = [ "memchr", "num-bigint", "num-traits", - "oxc_allocator", + "oxc_allocator 0.128.0", "oxc_ast", - "oxc_data_structures", + "oxc_data_structures 0.128.0", "oxc_diagnostics", "oxc_ecmascript", "oxc_regular_expression", - "oxc_span", - "oxc_str", + "oxc_span 0.128.0", + "oxc_str 0.128.0", "oxc_syntax", "rustc-hash", "seq-macro", @@ -664,11 +726,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e92ddddf8645910675528f66b3159c018c553fa47e4644514513705f5d3c22b" dependencies = [ "bitflags", - "oxc_allocator", - "oxc_ast_macros", + "oxc_allocator 0.128.0", + "oxc_ast_macros 0.128.0", "oxc_diagnostics", - "oxc_span", - "oxc_str", + "oxc_span 0.128.0", + "oxc_str 0.128.0", "phf", "rustc-hash", "unicode-id-start", @@ -681,11 +743,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f03b54ae4c2254ffdbba43f82e4ea097182b300d2f3ccd1f81f8ca145556e659" dependencies = [ "compact_str", - "oxc-miette", - "oxc_allocator", - "oxc_ast_macros", - "oxc_estree", - "oxc_str", + "oxc-miette 2.7.1", + "oxc_allocator 0.128.0", + "oxc_ast_macros 0.128.0", + "oxc_estree 0.128.0", + "oxc_str 0.128.0", +] + +[[package]] +name = "oxc_span" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5245fa99a7c9405d57e2d9666afc9fd01ac644e37aff1cb3e1cedd50c17915" +dependencies = [ + "compact_str", + "oxc-miette 3.0.0", + "oxc_allocator 0.137.0", + "oxc_ast_macros 0.137.0", + "oxc_estree 0.137.0", + "oxc_str 0.137.0", ] [[package]] @@ -696,8 +772,20 @@ checksum = "686c0fe58e5a4a3698921871fbe23043ac271cf324540591dfcc5e7d0f127a5a" dependencies = [ "compact_str", "hashbrown 0.17.0", - "oxc_allocator", - "oxc_estree", + "oxc_allocator 0.128.0", + "oxc_estree 0.128.0", +] + +[[package]] +name = "oxc_str" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c61444d5681ce805fbbb5dc0498d980685a4c6a82dd57c2e17ff948041c1fb" +dependencies = [ + "compact_str", + "hashbrown 0.17.0", + "oxc_allocator 0.137.0", + "oxc_estree 0.137.0", ] [[package]] @@ -710,12 +798,12 @@ dependencies = [ "cow-utils", "dragonbox_ecma", "nonmax", - "oxc_allocator", - "oxc_ast_macros", - "oxc_estree", + "oxc_allocator 0.128.0", + "oxc_ast_macros 0.128.0", + "oxc_estree 0.128.0", "oxc_index", - "oxc_span", - "oxc_str", + "oxc_span 0.128.0", + "oxc_str 0.128.0", "phf", "unicode-id-start", ] @@ -960,10 +1048,10 @@ dependencies = [ name = "rulepath_lang_typescript" version = "0.1.0" dependencies = [ - "oxc_allocator", + "oxc_allocator 0.128.0", "oxc_ast", "oxc_parser", - "oxc_span", + "oxc_span 0.137.0", "rulepath_ir", "rulepath_parsers", "rulepath_workspace", diff --git a/Cargo.toml b/Cargo.toml index ee2e24e..d5b8c76 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ miette = { version = "=7.6.0", features = ["fancy"] } oxc_allocator = "=0.128.0" oxc_ast = "=0.128.0" oxc_parser = "=0.128.0" -oxc_span = "=0.128.0" +oxc_span = "=0.137.0" petgraph = "=0.8.3" rayon = "=1.12.0" schemars = { version = "=1.2.1", features = ["derive"] }