Releases: projectwallace/css-analyzer
Releases · projectwallace/css-analyzer
5.13.0
New
- count anonymous layers by @bartveneman in #367
- expose a whole lot of helper functions by @bartveneman in #364
- store node locations for font-face rules when using
{ useUnstableLocations }
by @bartveneman in #368 - add total complexity + sub-complexity metrics by @bartveneman in #369
Fixed
- fix negative tw class names being reported as vendor prefixed selector by @bartveneman in #371
Perf
- Reduce bundle size 10% by @bartveneman in #363
Other
- Lint code using oxlint by @bartveneman in #365
- lint for perf issues with oxlint by @bartveneman in #366
- upgrade to Node 20 and add to test matrix by @bartveneman in #370
Full Changelog: v5.12.2...v5.13.0
5.12.2
What's Changed
- Fix: do not crash on
@layer {}
or other atrules without prelude by @bartveneman in #357
Full Changelog: v5.12.1...v5.12.2
v5.12.1
What's Changed
- Bump postcss from 8.4.5 to 8.4.31 by @dependabot in #343
- readme fixes for benchmark by @bartveneman in #344
- some pkg bumping by @bartveneman in #345
- update css snapshots for testing and benchmarking by @bartveneman in #347
- Improve test speed: 1000ms -> 35ms by @bartveneman in #351
- Bump @babel/traverse from 7.16.5 to 7.23.2 by @dependabot in #352
- perf: avoid a lot of property lookups while analyzing specificity by @bartveneman in #353
- improve types for CssLocations by @bartveneman in #356
Full Changelog: v5.12.0...v5.12.1
5.12.0
What's Changed
- Analyze
@property
atrules #339 by @bartveneman in #341
Full Changelog: v5.11.0...v5.12.0
5.11.0
What's Changed
⚠️ Experimental⚠️ Store node locations with lists, so these lists can be used to display information by @bartveneman in #319- Report selector combinators by @bartveneman in #337
Full Changelog: v5.10.1...v5.11.0
5.11.0-alpha.3
v5.11.0-alpha.3 fix location issue for selector combinators after () or []
5.11.0-alpha.2
Experiments
- Report selector combinators
5.10.1
What's Changed
- Fix export of
compareSpecificity
by @bartveneman in #333
Full Changelog: v5.10.0...v5.10.1
5.11.0-alpha.1
Experiments
- Store node locations with lists, so these lists can be used to display information.
5.10.0
🥳 New
- Add gradient analysis by @bartveneman in #327
Fixes
- Fix typings here and there by @bartveneman in #310
- case-sensitivity fixes, additional tests by @bartveneman in #318
- fix animation-duration in value lists, closes #322 by @bartveneman in #329
Other changes
- improve LoC calculation, using CSSTree instead of Regex by @bartveneman in #309
- Reduce bundle size by @bartveneman in #312
- use
===
consistently instead of sometimes==
by @bartveneman in #313 - use consistent
let
for non-consts by @bartveneman in #314 - avoid many property lookups with some local caches by @bartveneman in #315
- use case-insensitive Set-like construct to avoid lot of toLowerCase() by @bartveneman in #316
- update @bramus/specificity 2.2.0->2.3.0 by @bartveneman in #328
Full Changelog: v5.9.0...v5.10.0