v4.3.0
Added
- Add quirks mode option where .class and #id selectors are case-insensitive
- Add optional prevElementSibling adapter method
Fixed
- Throw errors for namespaced selectors with better descriptions
What's Changed
- feat: Upgrade to css-what@6, add quirks mode option by @fb55 in https://github.com/fb55/css-select/pull/657
- In quirks mode,
.classand#idselectors are case-insensitive.
- In quirks mode,
- feat: Add optional
prevElementSiblingadapter method by @fb55 in 78776e8 - fix: Throw errors for namespaced selectors by @fb55 in 255e965
- Namespaced selectors (eg.
*|div,[foo|bar]already caused errors before this release. We now parse them properly and throw errors with better descriptions.
- Namespaced selectors (eg.
Full Changelog: https://github.com/fb55/css-select/compare/v4.2.1...v4.3.0