diff --git a/Cargo.lock b/Cargo.lock index 1354516..0613d1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -300,6 +300,12 @@ version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +[[package]] +name = "fastrand" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -382,7 +388,7 @@ dependencies = [ "hashbrown 0.14.5", "new_debug_unreachable", "once_cell", - "phf", + "phf 0.11.3", "rustc-hash", "triomphe", ] @@ -643,9 +649,9 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec" [[package]] name = "oxc" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e31318da7866fb30c000877ae98c30d1f76212e4bdc6c088c5cb847e5d40954" +checksum = "480bd02f632566aa9f7ed0bd271d8cbb544ef0712e8d0a9ad6b764d243612172" dependencies = [ "oxc_allocator", "oxc_ast", @@ -683,9 +689,9 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4cb225affc487a1bc867455220d5427d0f2a35ed25d896f99bb3b912d49fb9e" +checksum = "dfe5ceabcff4448baf15c282a7bde671c3fa9255e94a3060228bcdb7d59f1e1b" dependencies = [ "allocator-api2", "bumpalo", @@ -696,9 +702,9 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ced8dcc14d588fa32594d70ff8f194712036d02d7a96718bce38abbfec72ed6" +checksum = "4f0b7bf1bac2ff9a5a387409ab7f935aa5e36c8d223969a3c0e3384a140110b6" dependencies = [ "bitflags", "oxc_allocator", @@ -712,11 +718,11 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43494643bd6d76a62446c58ae98568bf630c0bdd90726d7956d3f8e1e17f5906" +checksum = "724bd9eef130fc55453cd5f9e2a7d870133e5db474403f8283d3148691a06864" dependencies = [ - "phf", + "phf 0.12.1", "proc-macro2", "quote", "syn", @@ -724,18 +730,18 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ebcebde288c0dbc9b8bb7ecf8d4eb3d64c6f122609fbca9f89dce356786fa19" +checksum = "84085a4c568903a8034ab971a0d6b7db227ba0c6caef37a91e3d03e2827e78c4" dependencies = [ "rustversion", ] [[package]] name = "oxc_diagnostics" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136bd60c8d25e6c1b879a01d5f52ad260385afa2d74b0aa81c1cbc9680b468ef" +checksum = "17c48ca13c1cede0404affd6bfdb041eb04b0e4fe2c32938d9e35430b921ee3c" dependencies = [ "cow-utils", "oxc-miette", @@ -743,9 +749,9 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "405573ecc303a3e9852b2873aad30e8249b3e3cb668cf265f53a9072dada8d50" +checksum = "0698e3d908ebe33a95a40ab06c4ccd60ebc4da6bdec896ed177f3e504c0ed7d4" dependencies = [ "num-bigint", "num-traits", @@ -756,9 +762,9 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd0073f1b212fda3c1e37728db069bf22d136a90f58da4f6214a6ada7552dde" +checksum = "5228baf82f3967e8d188ed877f5a73069c6daabb142023270e5bdf0cf3150860" [[package]] name = "oxc_index" @@ -768,9 +774,9 @@ checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392" [[package]] name = "oxc_parser" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c0b65b7f87759287bc7c8d394733cda9bca5e14fe7b71388932c926f8cde67b" +checksum = "6e2e3b11d167121b56723767aed742d98d610f200a243eb412b74b260ce06997" dependencies = [ "bitflags", "cow-utils", @@ -791,25 +797,25 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0899e918e7da993922ac9d85a7cacefc5519afbab002a4e239aa0a8dc2201297" +checksum = "4adeefe307699b527d1bf6b4730a7342d234f6d8df02aefb656e472dcba8bbb7" dependencies = [ "bitflags", "oxc_allocator", "oxc_ast_macros", "oxc_diagnostics", "oxc_span", - "phf", + "phf 0.12.1", "rustc-hash", "unicode-id-start", ] [[package]] name = "oxc_span" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51599c317d4e19c07978bde4af8a40844a2410fb7b455836c3441a41865acfa" +checksum = "dc29b9cd960dab8d9005deca177bdf9207904a6f41fdc594a5537cf6a79ebc3e" dependencies = [ "compact_str", "oxc-miette", @@ -820,9 +826,9 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.73.2" +version = "0.74.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee16107642e60a1f53dac2dbaaf1a1cdc696c0f7427946f8b8906f3e09a85f0" +checksum = "247d56548f877e7b1599e962c0f391f697a5b25e6f6f59f12bea80cd72b5482a" dependencies = [ "bitflags", "cow-utils", @@ -833,7 +839,7 @@ dependencies = [ "oxc_estree", "oxc_index", "oxc_span", - "phf", + "phf 0.12.1", "rustc-hash", "ryu-js", "unicode-id-start", @@ -851,8 +857,19 @@ version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" dependencies = [ - "phf_macros", - "phf_shared", + "phf_macros 0.11.3", + "phf_shared 0.11.3", +] + +[[package]] +name = "phf" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "913273894cec178f401a31ec4b656318d95473527be05c0752cc41cdc32be8b7" +dependencies = [ + "phf_macros 0.12.1", + "phf_shared 0.12.1", + "serde", ] [[package]] @@ -861,18 +878,41 @@ version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" dependencies = [ - "phf_shared", + "phf_shared 0.11.3", "rand", ] +[[package]] +name = "phf_generator" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cbb1126afed61dd6368748dae63b1ee7dc480191c6262a3b4ff1e29d86a6c5b" +dependencies = [ + "fastrand", + "phf_shared 0.12.1", +] + [[package]] name = "phf_macros" version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" dependencies = [ - "phf_generator", - "phf_shared", + "phf_generator 0.11.3", + "phf_shared 0.11.3", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "phf_macros" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d713258393a82f091ead52047ca779d37e5766226d009de21696c4e667044368" +dependencies = [ + "phf_generator 0.12.1", + "phf_shared 0.12.1", "proc-macro2", "quote", "syn", @@ -887,6 +927,15 @@ dependencies = [ "siphasher 1.0.1", ] +[[package]] +name = "phf_shared" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06005508882fb681fd97892ecff4b7fd0fee13ef1aa569f8695dae7ab9099981" +dependencies = [ + "siphasher 1.0.1", +] + [[package]] name = "pin-project-lite" version = "0.2.16" @@ -1208,7 +1257,7 @@ dependencies = [ "is-macro", "num-bigint", "once_cell", - "phf", + "phf 0.11.3", "rustc-hash", "scoped-tls", "string_enum", @@ -1230,7 +1279,7 @@ dependencies = [ "new_debug_unreachable", "num-bigint", "num-traits", - "phf", + "phf 0.11.3", "rustc-hash", "seq-macro", "serde", @@ -1256,7 +1305,7 @@ dependencies = [ "new_debug_unreachable", "num-bigint", "num-traits", - "phf", + "phf 0.11.3", "rustc-hash", "serde", "smallvec", diff --git a/Cargo.toml b/Cargo.toml index f87967a..1622098 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ doctest = false # doctest = false [dependencies] -oxc = "0.73.2" +oxc = "0.74.0" swc_ecma_parser = { version = "17.0.1", features = ["typescript"] } swc_ecma_ast = "13.0.0"