Releases: tbela99/css-parser
Releases · tbela99/css-parser
0.0.1
Full Changelog: 0.0.1-rc7...0.0.1
0.0.1-rc7
Full Changelog: 0.0.1-rc6...0.0.1-rc7
0.0.1-rc6
- malformed token handling
- adding new test
- css nesting expansion
Full Changelog: 0.0.1-rc5...0.0.1-rc6
0.0.1-rc5
0.0.1-rc4
- parse at-rule prelude
- fix unclosed string
- parse resolution
- incorrectly parse malformed import
Full Changelog: 0.0.1-rc3...0.0.1-rc4
0.0.1-rc3
What's Changed
Minification
- merge identical rules
- merge adjacent rules
- minify colors
- compute shorthand: border-radius, border-width, margin, padding
- remove redundant declarations
- simple shorthand properties (padding, margin, etc). must have all required properties
- complex shorthand properties (background, font, etc.). may have optional properties
- conditionally unwrap :is()
- automatic css nesting
- automatically wrap selectors using :is()
- multi-level shorthand properties (border - [border-width, border-color, etc.]) https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties
- avoid reparsing (declarations, selectors, at-rule)
- avoid rerendering (declarations, selectors, at-rule)
- node and browser versions
- decode and replace utf-8 escape sequence
Performance
- flatten import At-Rule
Testing
- node tests
- browser tests
Code Coverage
- node
- browser
Full Changelog: 0.0.1-rc2...0.0.1-rc3
0.0.1-rc2
v0.0.1-rc1
compute border shorthamd
0.0.1-alpha5
a lot of bug fixed
0.0.1-alpha4
0.0.1-alpha4