Releases: fb55/css-what
Releases · fb55/css-what
v6.1.0
v6.0.1
v6.0.0
Breaking Changes
- Added ES6 module export (by @spocke, #680)
- CommonJS is still provided for earlier NodeJS versions, but this change might cause issues with your build system. If they aren't trivially resolved, please open an issue!
- Removed all options 5cad07b
- BREAKING: Added a new value for
ignoreCase
:'quirks'
should ignore the case only in quirks mode. - BREAKING: Tags and attributes aren't lowercased anymore
- BREAKING: Added a new value for
- Made selector types & actions enums 65121fe
- Set empty namespace to null in attributes de367ca
- Simplify stringify output 8a29466 b3e5e59
Features
- Support parsing column combinators 8030f67
Fixes
- Strip leading whitespace encapsulated in comments a812a1c
- This used to be a way to sneak in descendant operators in front of selectors.
Refactors
Other
New Contributors
Full Changelog: v5.1.0...v6.0.0
v5.1.0
v5.0.1
v5.0.0
New Features:
ignoreCase
on attributes now respects thes
flag, as well as default values as per HTML spec (unless you are inxmlMode
).- Infer ignoreCase as per HTML spec (#444 by @fb55) 0f4210c
- Allow space after attribute selector modifier (#393 by @Semigradsky) a334fa3
- Support
s
identifier in attribute selectors (#387 by @Semigradsky) 7a41152
- Ignore comments around selectors (#441 by @fb55) fc91ba1
Bug fixes:
- Incorrect handling elemental selector without a namespace (#394 by @Semigradsky) 3215f5a
v4.0.0
Breaking changes:
- Disallow quotes around unpacked pseudos 276a4b2
- Throw errors when encountering multiple traversals in a row f07d582
- Disallow names starting with
#
(fixes #287) 7d1e95b
New Features:
- Add support for namespaces 63cb253 dc55861
- Add
isTraversal
function 8f64671 - Add JSDocs to exported functions 6b60fa9
Other changes: