Releases: projectwallace/css-analyzer
Releases · projectwallace/css-analyzer
5.10.1
What's Changed
- Fix export of
compareSpecificityby @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
letfor 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
5.9.0
What's Changed
- GH-302: new font desctructuring algorithm, also extracts line-height by @bartveneman in #303
- GH-300: analyze prefixed selectors by @bartveneman in #304
- GH-307: fix broken
@font-faceanalysis when incorrect encoding was used
Full Changelog: v5.8.0...v5.9.0
5.8.0
What's Changed
- update benchmark by @bartveneman in #294
- fix: trim() stringifyNode to prevent subtle uniqueness bugs by @bartveneman in #296
- feat: add analysis for line-heights by @bartveneman in #297
Full Changelog: v5.7.3...v5.8.0
5.7.3
What's Changed
- 🏎️ replace all dictionaries with Map() by @bartveneman in #283
- fix: strip \9 from units by @bartveneman in #292
- replace last Object.create(null) with new Map() by @bartveneman in #293
Full Changelog: v5.7.2...v5.7.3
v5.7.2
Fixed
- update GitHub/actions versions by @bartveneman in #284
- Fix incorrect embed type reporting when an extra
;is present by @bartveneman in #287 - Fix incorrect hexlength reporting when a browserhack is present (
#000\9) by @bartveneman in #287
Full Changelog: v5.7.1...v5.7.2
v5.7.1
Fixed
- 🐛 calculate embedded size correctly on duplicate embeds by @bartveneman in #282
Full Changelog: v5.7.0...v5.7.1
v5.7.0
What's new
- add embed type analysis by @bartveneman in #272
- report color formats by @bartveneman in #280
- Count !important usage combined with custom properties by @bartveneman in #275
Bug fixes
- Replace specificity analysis with @bramus/specificity by @bartveneman in #270
Misc.
- Use Set() for counting unique declarations and selectors by @bartveneman in #265
- use Sets for keywords instead of object lookups by @bartveneman in #273
- Bump minimatch from 3.0.4 to 3.1.2 by @dependabot in #271
- Bump loader-utils from 3.2.0 to 3.2.1 by @dependabot in #266
- improve stringifyNode performance by @bartveneman in #274
- Adjust test matrix: drop node 12, include node 18 by @bartveneman in #276
- update csstree to 2.3.1 by @bartveneman in #278
- Bump json5 from 2.2.0 to 2.2.2 by @dependabot in #277
- seperate analysis for complexity and isA11y by @bartveneman in #279
Full Changelog: v5.6.0...v5.7.0
v5.6.0
What's new
- Add analysis for browserhacks in
@media,@supports, properties and values by @bartveneman in #258 - count extra selector complexity for browser prefixes
- add property complexity
- Add
declarations.totalUnique+declarations.uniquenessRatioby @bartveneman in #243
Fixed
- fix: do not add https://github.com/layers to https://github.com/containers
- fix: typings for specifity metrics
Other changes
- reduce bundle size by avoiding ?. syntax
- reduce memory usage for selector analysis
- reduce bundle size (5.25kb -> 5.23) by not repeating DivisionByZero logic
- faster tests: rm assert.not.throws by @bartveneman in #241
- reduce memory usage for OccurrenceCounter by hashing the values by @bartveneman in #242
- Update microbundle & uvu by @bartveneman in #255
- update csstree to 2.2.0 by @bartveneman in #256
- update csstree to 2.2.1 by @bartveneman in #257
Full Changelog: v5.5.0...v5.6.0