diff --git a/Cargo.lock b/Cargo.lock index c95923a..4ed8d2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -199,6 +199,12 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +[[package]] +name = "foldhash" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" + [[package]] name = "generic-array" version = "0.14.7" @@ -220,6 +226,11 @@ name = "hashbrown" version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", +] [[package]] name = "indexmap" @@ -444,9 +455,9 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "oxc" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ddbf4e4c38cb6ed06bf7abec4832539edc264808d5879949e256fffd6c878e" +checksum = "07041e6a6e828b7e1a8f037afe3a8ea2637ea36478283e2f4d1b5997ccb70a89" dependencies = [ "oxc_allocator", "oxc_ast", @@ -518,19 +529,20 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "129dbe2e90c53fc6bba5d8fed442afaba6ae82efa158b194834a34068cd7f2c9" +checksum = "82c6c7387edb41be3d764a115672e7be89922ce6df9756cdedfdd9b152ce788c" dependencies = [ "allocator-api2", "bumpalo", + "simdutf8", ] [[package]] name = "oxc_ast" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "621f3fa2668c640c96cde64c51f5de7f583137c9e7dafcafc699d510975403d7" +checksum = "6b9fee36a81c3ee36c4f2b3acdb9c455971e9804ea399428e773a094025f92b1" dependencies = [ "bitflags", "cow-utils", @@ -546,9 +558,9 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "033622153c0d50ee87c9bdbb8010416cb0ecbc8c673bd2bfda31de8fa2d8a1e3" +checksum = "453922e0b0c402ff4f94d277d9c99c8f60757ed5a84458133758f8142b8707cf" dependencies = [ "proc-macro2", "quote", @@ -557,9 +569,9 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced8a8ed9660752d08d3cc27a4ccc8fdaab014e05657ff7655bf46a92f96a1aa" +checksum = "48e38fbfbc25e8f6c86889eaeaabf75722eeb22cc6b90b377bab7ca45674e24c" dependencies = [ "bitflags", "itertools", @@ -572,9 +584,9 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e2d6f5ae8b20380f431fc833cc944f779fbecc2cb5e000d62401fc6c7688a74" +checksum = "920a84ae7f0f1641d3f1feec7ea946b628fcec7ebd261de7e5c4027ec8ac9319" dependencies = [ "assert-unchecked", "bitflags", @@ -592,9 +604,9 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd81efd1448d22860d47c89760b37937323fc06db89e82114df62940cfcea80" +checksum = "72c76d3c3b2f2230ff4b941b68e94f85bc8a8b65aafb7708896ba1bdfaabee26" dependencies = [ "assert-unchecked", "ropey", @@ -602,9 +614,9 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab5a0abb4d0fcd900f125f13890d5c4ddb5b4a99a5b4d9fb419385c9448453d" +checksum = "da579fda6c94527afb13b9cb1fb933ba84ec61c77b74296e71c1b60a21b60447" dependencies = [ "oxc-miette", "rustc-hash", @@ -612,9 +624,9 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e07b49fdd327cc3da2b80b60ea399aec2232b170d8b9ed6cb048c4eb27ea8e71" +checksum = "e4de4aac4c0bd05848c4523c145a656aeded13d35fd07557dbafad2c34753837" dependencies = [ "num-bigint", "num-traits", @@ -625,9 +637,9 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c333d3664b489ff8016b34ca3e99f09ed61b0af7dce1970906d2102452c40ccb" +checksum = "5567979b29f2c6af66d912bdf68b18244e4716b1bce77da4cb5b54e036a5d7b9" [[package]] name = "oxc_index" @@ -637,9 +649,9 @@ checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34" [[package]] name = "oxc_mangler" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22afdc3bd53c48df3a35af55fd2a9a9f8b03233b100c21ab10651b6def7bd2b8" +checksum = "a2334e925fbaed19d13204aa98379000cf7eb555f8c9b2b714f10b7e6f7671c6" dependencies = [ "itertools", "oxc_ast", @@ -650,9 +662,9 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd7f5468e1af367f51119631d934ab425901ab6edaedf9907dd7d929f9739431" +checksum = "c9f3b136bd0b203164e03aba7f7ce836df62a7070f847762058439f18296d582" dependencies = [ "assert-unchecked", "bitflags", @@ -673,9 +685,9 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "560153d371d20b23a6e97bee0766f77d5d8ae2f66a280cf273dfe3031925a7c5" +checksum = "ecf141ba4acfed1b65b6393737dc7f15407a4bd0fff16677ca6dedac45a08468" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -708,16 +720,17 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57ac0421412a5bf11f062704acd575d879d2a68b5fd8a5d999b75543f315ea36" +checksum = "63066ff564e45261d0c86c783b2a9208d6604de2b4bd54004e062358cb66b64f" dependencies = [ "assert-unchecked", - "indexmap", + "hashbrown 0.15.2", "itertools", "oxc_allocator", "oxc_ast", "oxc_cfg", + "oxc_data_structures", "oxc_diagnostics", "oxc_ecmascript", "oxc_index", @@ -725,6 +738,7 @@ dependencies = [ "oxc_syntax", "phf", "rustc-hash", + "self_cell", ] [[package]] @@ -743,9 +757,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff5ad82ecf54bd33c27b2ad7279f6e5ffaf2f86544e31394b3a56ce0eb14179" +checksum = "afcf2e6f8c8f9c0019b7d82412ffe9171bdda72f8b3beba961abdfef4065f0bb" dependencies = [ "compact_str", "oxc-miette", @@ -756,9 +770,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2f32b5c30e2637c2533f133e0c0500e1531a3b991b9876d0bcc7ae1d31f0898" +checksum = "754c63ade3a31289e4605845e1e9ca40c34b40bf10e0e6b91634ec7ad97ade97" dependencies = [ "assert-unchecked", "bitflags", @@ -776,9 +790,9 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c24c8ef370cc76a256174689ba67ceb5e69482282024294a76ae0ebf72c1b7a1" +checksum = "cae67479b55a580689f60cb7b59bccd17da436f06e99673b96588c3c15076ca6" dependencies = [ "base64", "compact_str", @@ -807,9 +821,9 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.41.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3bdb67df5e8749d79d9c294d8bc18eb3c39b64707e7a178ee3126e6ab09df7e" +checksum = "4bff194c8ec8d5714ab7098ce352401109d7fd51645275184d9ce7f60e7eaeb6" dependencies = [ "compact_str", "itoa", @@ -982,6 +996,12 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "self_cell" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2fdfc24bc566f839a2da4c4295b82db7d25a24253867d5c64355abb5799bdbe" + [[package]] name = "semver" version = "1.0.24" @@ -996,18 +1016,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.216" +version = "1.0.217" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" +checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.216" +version = "1.0.217" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" +checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" dependencies = [ "proc-macro2", "quote", @@ -1016,9 +1036,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.133" +version = "1.0.134" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" +checksum = "d00f4175c42ee48b15416f6193a959ba3a0d67fc699a0db9ad12df9f83991c7d" dependencies = [ "indexmap", "itoa", diff --git a/Cargo.toml b/Cargo.toml index ea5daa2..0b2d8bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ crate-type = ["cdylib"] [dependencies] napi = { version = "3.0.0-alpha", default-features = false, features = ["serde-json", "napi3"] } napi-derive = { version = "3.0.0-alpha", default-features = false, features = ["type-def"] } -oxc = { version = "0.41", features = ["codegen", "transformer", "semantic"] } +oxc = { version = "0.44", features = ["codegen", "transformer", "semantic"] } oxc_resolver = "3" phf = "0.11" serde = { version = "1.0", features = ["derive"] }