diff --git a/Cargo.lock b/Cargo.lock index be496936a0d5..a8220c731f17 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -29,9 +29,9 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "ahash" -version = "0.7.6" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" dependencies = [ "getrandom", "once_cell", @@ -41,15 +41,16 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "cd7d5a2cecb58716e47d67d5703a249964b14c7be1ec3cad3affc295b2d1c35d" dependencies = [ "cfg-if", "const-random", "getrandom", "once_cell", "version_check", + "zerocopy", ] [[package]] @@ -353,7 +354,7 @@ version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "421478dde88feb4281328dea29dbf6d2b57bc19a8968214fc3694c8c574bc47f" dependencies = [ - "ahash 0.7.6", + "ahash 0.7.7", "anyhow", "chrono", "either", @@ -1557,7 +1558,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.6", + "ahash 0.7.7", ] [[package]] @@ -1566,7 +1567,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.5", ] [[package]] @@ -2728,7 +2729,7 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" name = "preset_env_base" version = "0.4.5" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.5", "anyhow", "browserslist-rs", "dashmap", @@ -3784,7 +3785,7 @@ dependencies = [ name = "swc_cached" version = "0.3.17" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.5", "anyhow", "dashmap", "once_cell", @@ -3818,7 +3819,7 @@ dependencies = [ name = "swc_common" version = "0.33.1" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.5", "anyhow", "arbitrary", "ast_node", @@ -4940,7 +4941,7 @@ dependencies = [ name = "swc_estree_compat" version = "0.194.14" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.5", "anyhow", "copyless", "criterion", @@ -6844,6 +6845,26 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" +[[package]] +name = "zerocopy" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c19fae0c8a9efc6a8281f2e623db8af1db9e57852e04cde3e754dd2dc29340f" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc56589e9ddd1f1c28d4b4b5c773ce232910a6bb67a70133d61c9e347585efe9" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.37", +] + [[package]] name = "zeroize" version = "1.5.7" diff --git a/crates/preset_env_base/Cargo.toml b/crates/preset_env_base/Cargo.toml index 154278f45353..c3c9d7d3c824 100644 --- a/crates/preset_env_base/Cargo.toml +++ b/crates/preset_env_base/Cargo.toml @@ -11,7 +11,7 @@ version = "0.4.5" bench = false [dependencies] -ahash = "0.8.3" +ahash = "0.8.5" anyhow = "1" browserslist-rs = "0.12.2" dashmap = "5.4.0" diff --git a/crates/swc_cached/Cargo.toml b/crates/swc_cached/Cargo.toml index b59aa91a1b1c..ae664f948cad 100644 --- a/crates/swc_cached/Cargo.toml +++ b/crates/swc_cached/Cargo.toml @@ -13,7 +13,7 @@ version = "0.3.17" bench = false [dependencies] -ahash = "0.8.3" +ahash = "0.8.5" anyhow = "1.0.71" dashmap = "5.4.0" once_cell = "1.18.0" diff --git a/crates/swc_common/Cargo.toml b/crates/swc_common/Cargo.toml index 94b86740860d..4b493c98ce14 100644 --- a/crates/swc_common/Cargo.toml +++ b/crates/swc_common/Cargo.toml @@ -37,7 +37,7 @@ __rkyv = [] rkyv-impl = ["__rkyv", "rkyv", "swc_atoms/rkyv-impl", "bytecheck"] [dependencies] -ahash = { version = "0.8.3", optional = true } +ahash = { version = "0.8.5", optional = true } anyhow = { version = "1.0.71", optional = true } arbitrary = { version = "1", optional = true, features = ["derive"] } atty = { version = "0.2", optional = true } diff --git a/crates/swc_estree_compat/Cargo.toml b/crates/swc_estree_compat/Cargo.toml index 7bdb15e4d01d..8985a397bc9c 100644 --- a/crates/swc_estree_compat/Cargo.toml +++ b/crates/swc_estree_compat/Cargo.toml @@ -16,7 +16,7 @@ version = "0.194.14" bench = false [dependencies] -ahash = { version = "0.8.3", features = ["compile-time-rng"] } +ahash = { version = "0.8.5", features = ["compile-time-rng"] } anyhow = "1" copyless = "0.1.5" rayon = "1.7.0"