Skip to content

Commit 9238bb1

Browse files
committed
Upgrade deps
1 parent d12738f commit 9238bb1

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ bitflags = "2.9.1"
3232
cfg-if = "1.0.1"
3333
cssparser = "0.35"
3434
encoding_rs = "0.8.35"
35-
hashbrown = "0.15.3"
36-
memchr = "2.7.4"
37-
mime = "0.3.16"
38-
selectors = "0.27"
35+
hashbrown = "0.15.4"
36+
memchr = "2.7.5"
37+
mime = "0.3.17"
38+
selectors = "0.30"
3939
thiserror = "2.0"
4040
precomputed-hash = "0.1.1"
4141

4242
[dev-dependencies]
43-
criterion = "0.5.1"
43+
criterion = "0.6.0"
4444
# Needed for criterion <= v0.5.1. See https://github.com/bheisler/criterion.rs/pull/703.
45-
clap = { version = "4.5.21", features = ["help"] }
46-
glob = "0.3.0"
47-
html5ever = "0.29"
48-
markup5ever_rcdom = "0.5.0-unofficial"
49-
hashbrown = { version = "0.15.0", features = ["serde"] }
45+
clap = { version = "4.5.41", features = ["help"] }
46+
glob = "0.3.2"
47+
html5ever = "0.35"
48+
markup5ever_rcdom = "0.35.0"
49+
hashbrown = { version = "0.15.4", features = ["serde"] }
5050
serde = "1.0.219"
5151
serde_derive = "1.0.219"
5252
serde_json = "1.0.140"

src/selectors_vm/ast.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ impl From<&Component<SelectorImplDescriptor>> for Condition {
141141
),
142142
)),
143143
Component::Nth(data) if data.ty == NthType::Child => {
144-
Self::OnTagName(OnTagNameExpr::NthChild(NthChild::new(data.a, data.b)))
144+
Self::OnTagName(OnTagNameExpr::NthChild(NthChild::new(data.an_plus_b.0, data.an_plus_b.1)))
145145
}
146146
Component::Nth(data) if data.ty == NthType::OfType => {
147-
Self::OnTagName(OnTagNameExpr::NthOfType(NthChild::new(data.a, data.b)))
147+
Self::OnTagName(OnTagNameExpr::NthOfType(NthChild::new(data.an_plus_b.0, data.an_plus_b.1)))
148148
}
149149
// NOTE: the rest of the components are explicit namespace or
150150
// pseudo class-related. Ideally none of them should appear in

0 commit comments

Comments
 (0)