diff --git a/Cargo.lock b/Cargo.lock index 86fb314..ed0fec8 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,15 +599,33 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d027d8f8b23257e1711e0db8b80c9dacb3ab567a3357b4560eaa1d0a04da2d30" dependencies = [ "bitflags", - "oxc_allocator", - "oxc_ast_macros", - "oxc_data_structures", - "oxc_diagnostics", - "oxc_estree", - "oxc_regular_expression", - "oxc_span", - "oxc_str", - "oxc_syntax", + "oxc_allocator 0.128.0", + "oxc_ast_macros 0.128.0", + "oxc_data_structures 0.128.0", + "oxc_diagnostics 0.128.0", + "oxc_estree 0.128.0", + "oxc_regular_expression 0.128.0", + "oxc_span 0.128.0", + "oxc_str 0.128.0", + "oxc_syntax 0.128.0", +] + +[[package]] +name = "oxc_ast" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa406c62bb247767a6a051be6ac3be7db6c4f818129ccae570da6ee9eb96ead0" +dependencies = [ + "bitflags", + "oxc_allocator 0.137.0", + "oxc_ast_macros 0.137.0", + "oxc_data_structures 0.137.0", + "oxc_diagnostics 0.137.0", + "oxc_estree 0.137.0", + "oxc_regular_expression 0.137.0", + "oxc_span 0.137.0", + "oxc_str 0.137.0", + "oxc_syntax 0.137.0", ] [[package]] @@ -584,12 +640,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 +671,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa06c0bec3b31c76e6b30b935f80dd3b29c01bf0d0fbc13b5b8f3eca508ad9ee" dependencies = [ "cow-utils", - "oxc-miette", + "oxc-miette 2.7.1", + "percent-encoding", +] + +[[package]] +name = "oxc_diagnostics" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2cbafa6cc3c38d72e35cd9337a38a4558e9fee4521fa5cabe321b90519e80aa" +dependencies = [ + "cow-utils", + "oxc-miette 3.0.0", "percent-encoding", ] @@ -610,11 +695,11 @@ dependencies = [ "cow-utils", "num-bigint", "num-traits", - "oxc_allocator", - "oxc_ast", - "oxc_regular_expression", - "oxc_span", - "oxc_syntax", + "oxc_allocator 0.128.0", + "oxc_ast 0.128.0", + "oxc_regular_expression 0.128.0", + "oxc_span 0.128.0", + "oxc_syntax 0.128.0", ] [[package]] @@ -623,6 +708,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" @@ -633,6 +724,16 @@ dependencies = [ "serde", ] +[[package]] +name = "oxc_index" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "191884bee6c3744909a51acc7d78d4ae370d817b25875b10642f632327b6296e" +dependencies = [ + "nonmax", + "serde", +] + [[package]] name = "oxc_parser" version = "0.128.0" @@ -644,15 +745,15 @@ dependencies = [ "memchr", "num-bigint", "num-traits", - "oxc_allocator", - "oxc_ast", - "oxc_data_structures", - "oxc_diagnostics", + "oxc_allocator 0.128.0", + "oxc_ast 0.128.0", + "oxc_data_structures 0.128.0", + "oxc_diagnostics 0.128.0", "oxc_ecmascript", - "oxc_regular_expression", - "oxc_span", - "oxc_str", - "oxc_syntax", + "oxc_regular_expression 0.128.0", + "oxc_span 0.128.0", + "oxc_str 0.128.0", + "oxc_syntax 0.128.0", "rustc-hash", "seq-macro", ] @@ -664,11 +765,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e92ddddf8645910675528f66b3159c018c553fa47e4644514513705f5d3c22b" dependencies = [ "bitflags", - "oxc_allocator", - "oxc_ast_macros", - "oxc_diagnostics", - "oxc_span", - "oxc_str", + "oxc_allocator 0.128.0", + "oxc_ast_macros 0.128.0", + "oxc_diagnostics 0.128.0", + "oxc_span 0.128.0", + "oxc_str 0.128.0", + "phf", + "rustc-hash", + "unicode-id-start", +] + +[[package]] +name = "oxc_regular_expression" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e533f1345534dceaee6c2c7102e5f3d2e7466269199eca9abeb871e02a7496a4" +dependencies = [ + "bitflags", + "oxc_allocator 0.137.0", + "oxc_ast_macros 0.137.0", + "oxc_diagnostics 0.137.0", + "oxc_span 0.137.0", + "oxc_str 0.137.0", "phf", "rustc-hash", "unicode-id-start", @@ -681,11 +799,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 +828,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 +854,31 @@ dependencies = [ "cow-utils", "dragonbox_ecma", "nonmax", - "oxc_allocator", - "oxc_ast_macros", - "oxc_estree", - "oxc_index", - "oxc_span", - "oxc_str", + "oxc_allocator 0.128.0", + "oxc_ast_macros 0.128.0", + "oxc_estree 0.128.0", + "oxc_index 4.1.0", + "oxc_span 0.128.0", + "oxc_str 0.128.0", + "phf", + "unicode-id-start", +] + +[[package]] +name = "oxc_syntax" +version = "0.137.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "296b94ecc1235a2b5ea2a47412d4bc573b7a25a93132a1a2f49c617d85b58995" +dependencies = [ + "bitflags", + "cow-utils", + "nonmax", + "oxc_allocator 0.137.0", + "oxc_ast_macros 0.137.0", + "oxc_estree 0.137.0", + "oxc_index 5.0.0", + "oxc_span 0.137.0", + "oxc_str 0.137.0", "phf", "unicode-id-start", ] @@ -960,10 +1123,10 @@ dependencies = [ name = "rulepath_lang_typescript" version = "0.1.0" dependencies = [ - "oxc_allocator", - "oxc_ast", + "oxc_allocator 0.128.0", + "oxc_ast 0.137.0", "oxc_parser", - "oxc_span", + "oxc_span 0.128.0", "rulepath_ir", "rulepath_parsers", "rulepath_workspace", diff --git a/Cargo.toml b/Cargo.toml index ee2e24e..8b4f6e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ ignore = "=0.4.25" lasso = "=0.7.3" miette = { version = "=7.6.0", features = ["fancy"] } oxc_allocator = "=0.128.0" -oxc_ast = "=0.128.0" +oxc_ast = "=0.137.0" oxc_parser = "=0.128.0" oxc_span = "=0.128.0" petgraph = "=0.8.3"