File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -32,21 +32,21 @@ bitflags = "2.9.1"
3232cfg-if = " 1.0.1"
3333cssparser = " 0.35"
3434encoding_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 "
3939thiserror = " 2.0"
4040precomputed-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" ] }
5050serde = " 1.0.219"
5151serde_derive = " 1.0.219"
5252serde_json = " 1.0.140"
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments