mirror of
https://github.com/swc-project/swc.git
synced 2024-11-27 04:47:03 +03:00
chore(deps): Update indexmap
to v2
(#8370)
**Description:** Updates `indexmap` to `v2`, reducing dependency duplication. Unfortunately there are still many dependencies that require `v1`, including `rkyv` and `cranelift-egraph` that have no published versions using indexmap `v2`.
This commit is contained in:
parent
c73abc8319
commit
91e0fc7250
31
Cargo.lock
generated
31
Cargo.lock
generated
@ -1831,7 +1831,6 @@ checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"hashbrown 0.12.3",
|
||||
"rayon",
|
||||
"serde",
|
||||
]
|
||||
|
||||
@ -1843,6 +1842,8 @@ checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897"
|
||||
dependencies = [
|
||||
"equivalent",
|
||||
"hashbrown 0.14.1",
|
||||
"rayon",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -3795,7 +3796,7 @@ dependencies = [
|
||||
"criterion",
|
||||
"dashmap",
|
||||
"either",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"jsonc-parser",
|
||||
"lru",
|
||||
"napi",
|
||||
@ -3862,7 +3863,7 @@ dependencies = [
|
||||
"crc",
|
||||
"dashmap",
|
||||
"hex",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"is-macro",
|
||||
"ntest",
|
||||
"once_cell",
|
||||
@ -3994,7 +3995,7 @@ dependencies = [
|
||||
name = "swc_config"
|
||||
version = "0.1.7"
|
||||
dependencies = [
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"swc_config_macro",
|
||||
@ -4335,7 +4336,7 @@ name = "swc_ecma_compat_es2015"
|
||||
version = "0.1.52"
|
||||
dependencies = [
|
||||
"arrayvec",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"is-macro",
|
||||
"serde",
|
||||
"serde_derive",
|
||||
@ -4553,7 +4554,7 @@ dependencies = [
|
||||
"arrayvec",
|
||||
"backtrace",
|
||||
"criterion",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"num-bigint",
|
||||
"num_cpus",
|
||||
"once_cell",
|
||||
@ -4620,7 +4621,7 @@ dependencies = [
|
||||
"anyhow",
|
||||
"criterion",
|
||||
"dashmap",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"once_cell",
|
||||
"preset_env_base",
|
||||
"pretty_assertions",
|
||||
@ -4711,7 +4712,7 @@ dependencies = [
|
||||
"better_scoped_tls",
|
||||
"bitflags 2.3.2",
|
||||
"criterion",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"once_cell",
|
||||
"phf",
|
||||
"rayon",
|
||||
@ -4748,7 +4749,7 @@ name = "swc_ecma_transforms_compat"
|
||||
version = "0.160.57"
|
||||
dependencies = [
|
||||
"arrayvec",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"is-macro",
|
||||
"num-bigint",
|
||||
"rayon",
|
||||
@ -4800,7 +4801,7 @@ dependencies = [
|
||||
"Inflector",
|
||||
"anyhow",
|
||||
"bitflags 2.3.2",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"is-macro",
|
||||
"path-clean",
|
||||
"pathdiff",
|
||||
@ -4827,7 +4828,7 @@ name = "swc_ecma_transforms_optimization"
|
||||
version = "0.195.64"
|
||||
dependencies = [
|
||||
"dashmap",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"once_cell",
|
||||
"petgraph",
|
||||
"rayon",
|
||||
@ -4882,7 +4883,7 @@ version = "0.180.62"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"dashmap",
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"once_cell",
|
||||
"rayon",
|
||||
"serde",
|
||||
@ -4954,7 +4955,7 @@ dependencies = [
|
||||
name = "swc_ecma_usage_analyzer"
|
||||
version = "0.20.36"
|
||||
dependencies = [
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"rustc-hash",
|
||||
"swc_atoms",
|
||||
"swc_common",
|
||||
@ -4969,7 +4970,7 @@ dependencies = [
|
||||
name = "swc_ecma_utils"
|
||||
version = "0.124.35"
|
||||
dependencies = [
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"num_cpus",
|
||||
"once_cell",
|
||||
"rayon",
|
||||
@ -5074,7 +5075,7 @@ dependencies = [
|
||||
name = "swc_fast_graph"
|
||||
version = "0.21.10"
|
||||
dependencies = [
|
||||
"indexmap 1.9.3",
|
||||
"indexmap 2.0.2",
|
||||
"petgraph",
|
||||
"rustc-hash",
|
||||
"swc_common",
|
||||
|
@ -52,7 +52,7 @@ anyhow = "1"
|
||||
base64 = "0.21.0"
|
||||
dashmap = "5.4.0"
|
||||
either = "1"
|
||||
indexmap = { version = "1.9.3", features = ["serde"] }
|
||||
indexmap = { version = "2.0.0", features = ["serde"] }
|
||||
jsonc-parser = { version = "0.21.0", features = ["serde"] }
|
||||
lru = "0.10.0"
|
||||
once_cell = "1.18.0"
|
||||
|
@ -27,7 +27,7 @@ default = []
|
||||
anyhow = "1"
|
||||
crc = "2.1.0"
|
||||
dashmap = { version = "5.4.0", optional = true }
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
is-macro = "0.3.0"
|
||||
once_cell = "1.18.0"
|
||||
parking_lot = "0.12.1"
|
||||
|
@ -9,7 +9,7 @@ repository = "https://github.com/swc-project/swc.git"
|
||||
version = "0.1.7"
|
||||
|
||||
[dependencies]
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
|
@ -14,7 +14,7 @@ version = "0.1.52"
|
||||
|
||||
[dependencies]
|
||||
arrayvec = "0.7.4"
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
is-macro = "0.3.0"
|
||||
serde = "1.0.188"
|
||||
serde_derive = "1.0.188"
|
||||
|
@ -35,7 +35,7 @@ trace-ast = []
|
||||
[dependencies]
|
||||
arrayvec = "0.7.2"
|
||||
backtrace = { version = "0.3.61", optional = true }
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
num-bigint = "0.4.3"
|
||||
num_cpus = "1.13.1"
|
||||
once_cell = "1.18.0"
|
||||
|
@ -19,7 +19,7 @@ serde-impl = ["serde"]
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
dashmap = "5.4.0"
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
once_cell = "1.18.0"
|
||||
semver = { version = "1.0.17", features = ["serde"] }
|
||||
serde = { version = "1", features = ["derive"], optional = true }
|
||||
|
@ -19,7 +19,7 @@ concurrent-renamer = ["rayon"]
|
||||
[dependencies]
|
||||
better_scoped_tls = { version = "0.1.1", path = "../better_scoped_tls" }
|
||||
bitflags = "2.3.2"
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
once_cell = "1.18.0"
|
||||
phf = { version = "0.11", features = ["macros"] }
|
||||
rayon = { version = "1", optional = true }
|
||||
|
@ -21,7 +21,7 @@ concurrent = [
|
||||
|
||||
[dependencies]
|
||||
arrayvec = "0.7.2"
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
is-macro = "0.3.0"
|
||||
num-bigint = "0.4"
|
||||
rayon = { version = "1.7.0", optional = true }
|
||||
|
@ -16,7 +16,7 @@ bench = false
|
||||
Inflector = "0.11.4"
|
||||
anyhow = "1.0.71"
|
||||
bitflags = "2.3.2"
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
is-macro = "0.3.0"
|
||||
path-clean = "0.1.0"
|
||||
pathdiff = "0.2.0"
|
||||
@ -37,7 +37,7 @@ swc_ecma_utils = { version = "0.124.35", path = "../swc_ecma_utils" }
|
||||
swc_ecma_visit = { version = "0.96.11", path = "../swc_ecma_visit" }
|
||||
|
||||
[dev-dependencies]
|
||||
indexmap = { version = "1.9.3", features = ["serde"] }
|
||||
indexmap = { version = "2.0.0", features = ["serde"] }
|
||||
serde_json = "1"
|
||||
|
||||
swc_ecma_loader = { version = "0.45.11", path = "../swc_ecma_loader", features = [
|
||||
|
@ -23,7 +23,7 @@ debug = []
|
||||
|
||||
[dependencies]
|
||||
dashmap = "5.4.0"
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
once_cell = "1.18.0"
|
||||
petgraph = "0.6"
|
||||
rayon = { version = "1.7.0", optional = true }
|
||||
|
@ -20,7 +20,7 @@ serde-impl = ["serde"]
|
||||
[dependencies]
|
||||
base64 = "0.21.0"
|
||||
dashmap = "5.4.0"
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
once_cell = "1.18.0"
|
||||
rayon = { version = "1.7.0", optional = true }
|
||||
serde = { version = "1.0.118", features = ["derive"], optional = true }
|
||||
|
@ -22,7 +22,7 @@ concurrent = ["swc_common/concurrent", "indexmap/rayon"]
|
||||
trace-ast = []
|
||||
|
||||
[dependencies]
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
rustc-hash = "1.1.0"
|
||||
tracing = "0.1.37"
|
||||
|
||||
|
@ -20,7 +20,7 @@ bench = false
|
||||
concurrent = ["swc_common/concurrent", "rayon"]
|
||||
|
||||
[dependencies]
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
num_cpus = "1.13.1"
|
||||
once_cell = "1.18.0"
|
||||
rayon = { version = "1.7.0", optional = true }
|
||||
|
@ -12,7 +12,7 @@ version = "0.21.10"
|
||||
bench = false
|
||||
|
||||
[dependencies]
|
||||
indexmap = "1.9.3"
|
||||
indexmap = "2.0.0"
|
||||
petgraph = "0.6"
|
||||
rustc-hash = "1.1.0"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user