Skip to content

Commit 1ac5df6

Browse files
authored
Merge pull request #436 from brave/update-selectors
Bump selectors and cssparser (port to `master`)
2 parents 0fe3582 + bb9a620 commit 1ac5df6

File tree

8 files changed

+35
-48
lines changed

8 files changed

+35
-48
lines changed

Cargo.lock

+14-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "adblock"
3-
version = "0.9.4"
3+
version = "0.9.5"
44
authors = ["Anton Lazarev <[email protected]>", "Andrius Aucinas"]
55
edition = "2021"
66

@@ -37,8 +37,8 @@ memchr = "2.4"
3737
base64 = "0.13"
3838
rmp-serde = "0.15"
3939
lifeguard = { version = "^ 0.6.1", optional = true }
40-
cssparser = { version = "0.28", optional = true }
41-
selectors = { version = "0.23", optional = true }
40+
cssparser = { version = "0.29", optional = true }
41+
selectors = { version = "0.24", optional = true }
4242
serde_json = "1.0"
4343
thiserror = "1.0"
4444

fuzz/Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/Cargo.lock

+11-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "adblock-rs"
3-
version = "0.9.4"
3+
version = "0.9.5"
44
authors = ["Anton Lazarev <[email protected]>", "Andrius Aucinas"]
55
edition = "2018"
66
license = "MPL-2.0"

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adblock-rs",
3-
"version": "0.9.4",
3+
"version": "0.9.5",
44
"description": "Very fast, Rust-based, native implementation of ad-blocker engine for Node",
55
"keywords": [
66
"adblock",

src/filters/cosmetic.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -822,8 +822,7 @@ mod css_validation {
822822
/// Default implementations for `AtRuleParser` parsing methods return false. This is
823823
/// acceptable; at-rules should not be valid in cosmetic rules.
824824
impl cssparser::AtRuleParser<'_> for QualifiedRuleParserImpl {
825-
type PreludeNoBlock = ();
826-
type PreludeBlock = ();
825+
type Prelude = ();
827826
/// unused; just to satisfy type checking
828827
type AtRule = selectors::SelectorList<SelectorImpl>;
829828
type Error = ();

0 commit comments

Comments
 (0)