v5.0.0
V5: faster, more detailed and browser compatible
Breaking 🔥
- Drop support for Node 8 and 10 (see Node.js releases)
- Rename all metrics ending on
.share
to.ratio
- Rename
stylesheets
tostylesheet
- Remove
stylesheets.browserhacks.*
- Remove
stylesheets.cohesion
(replaced withrules.selectors.mean
) - Remove
atrules.documents.*
- Remove
atrules.mediaqueries.browserhacks.*
- Remove
atrules.namespace.*
- Remove
atrules.page.*
- Remove
atrules.supports.browserhacks.*
- Remove
stylesheets.simplicity (replaced by
rules.selectors.mean`) - Remove
selectors.js.*
- Remove
selectors.browserhacks.*
- Remove
values.total
- Remove
values.browserhacks.*
- Remove
values.colors.duplicate.*
New features
- Add
atrules.keyframes.prefixed.*
- Add
rules.selectors.mean/median/mode/etc
- Add
rules.declarations.mean/median/mode
- Add
selectors.specificity.*
- Add
selectors.complexity.*
Closes #207, #206, #200, #184, #183, #181, #148, #142, #129, #121, #83, #59