All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2024-09-10
- Export for Lexer-related tools:
keyword
,property
,vendorPrefix
,isCustomProperty
. These functions are also exported bycss-tree
package. - Custom types.
- Browser specific builds.
1.0.8 - 2022-02-27
- Support for
:matches-css-after(raw)
pseudo class [uBO reference]. - Support for
:matches-css-before(raw)
pseudo class [uBO reference]. - Support for
:matches-css(raw)
pseudo class [ADG reference].
- README typos.
1.0.7 - 2022-02-22
- False positive parsing errors when using
:upward
pseudo class: #8.
1.0.6 - 2022-02-21
- Import types from
@types/css-tree
. - Small example project in TypeScript.
- Integrate ESLint, some code style improvements.
- Remove Node warnings when running tests.
- Exclude some unnecessary files from NPM release.
- Move package under
AdguardTeam
organization.
1.0.4 - 2022-02-19
- Browser builds now ends with
.min.js
. - README improvements.
1.0.3 - 2022-02-19
- Minor optimizations, README improvements.
1.0.2 - 2022-02-18
- Change
:-abp-has
to selector list instead of selector.
1.0.1 - 2022-02-18
- Improved
:contains
(and:-abp-contains
&:has-text
) pseudo class parsing, handle parenthesis / function calls in the parameter.
1.0.0 - 2022-02-18
- Initial version of the library.
- Support for
:-abp-contains(text / regexp)
pseudo class [ABP reference]. - Support for
:-abp-has(selector)
pseudo class [ABP reference]. - Support for
:contains(text / regexp)
pseudo class [ADG reference]. - Support for
:has-text(text / regexp)
pseudo class [uBO reference]. - Support for
:if-not(selector)
pseudo class [ADG reference]. - Support for
:matches-media(media query list)
pseudo class [uBO reference]. - Support for
:min-text-length(number)
pseudo class [uBO reference]. - Support for
:nth-ancestor(number)
pseudo class [ADG reference]. - Support for
:style(style declaration list)
pseudo class [uBO reference]. - Support for
:upward(selector / number)
pseudo class [ADG reference], [uBO reference]. - Support for
:xpath(xpath expression)
pseudo class [ADG reference], [uBO reference].