css-tree
3.2.1 · 5 Mar 2026MIT183.3M / weekRepositoryHomepagenpmAtom feed
Upgrading css-tree From 2.3.1 to 3.0.0
1 release in betweenevery note read
Release by release
- New
Added support for the
@containerat-rule - New
Added support for the
@starting-styleat-rule - New
Added support for the
@scopeat-rule - New
Added support for the
@position-tryat-rule
- New
15 other lines we could not sort, mostly version bumps
- 3.0.0
Bumped
mdn/datato2.10.0 - 3.0.0
Aligned
<'font'>to CSS Fonts 4 - 3.0.0
Aligned
<color>to CSS Color 5 - 3.0.0
Relaxed parsing of syntax definition to allow whitespaces in range multiplier
- 3.0.0
Changed
parseWithFallback()to rollbacktokenIndexbefore calling a fallback - 3.0.0
Changed
Blockto not include{and} - 3.0.0
Changed
AtruleandRuleto include{and}for a block - 3.0.0
Left and right parts contain nodes instead of strings
- 3.0.0
Both left and right parts of a ratio can now be any number; validation of number range is no longer within the parser's scope.
- 3.0.0
Both parts can now be functions. Although not explicitly mentioned in the specification, mathematical functions can replace numbers, addressing potential use cases (#162).
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.