Skip to content

Releases: tbela99/css-parser

0.0.1-rc3

17 Aug 04:20

Choose a tag to compare

0.0.1-rc3 Pre-release
Pre-release

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

12 Aug 03:42

Choose a tag to compare

0.0.1-rc2 Pre-release
Pre-release

Invalid escape sequence parsing

v0.0.1-rc1

05 Aug 14:31

Choose a tag to compare

v0.0.1-rc1 Pre-release
Pre-release

compute border shorthamd

0.0.1-alpha5

05 Aug 14:30

Choose a tag to compare

0.0.1-alpha5 Pre-release
Pre-release

a lot of bug fixed

0.0.1-alpha4

21 Jul 12:13

Choose a tag to compare

0.0.1-alpha4 Pre-release
Pre-release
0.0.1-alpha4

0.0.1-alpha3

21 Jul 12:13

Choose a tag to compare

0.0.1-alpha3 Pre-release
Pre-release
0.0.1-alpha3

v0.0.1-alpha2

21 Jul 12:13

Choose a tag to compare

v0.0.1-alpha2 Pre-release
Pre-release
v0.0.1-alpha2

v0.0.1-alpha1

21 Jul 12:13

Choose a tag to compare

v0.0.1-alpha1 Pre-release
Pre-release
v0.0.1-alpha1