github macbre/analyze-css v0.10.0

latest releases: v2.2.11, v2.2.10, v2.2.9...
8 years ago

It's been a while since the last release. One new metric was added - average selectors length (#62).

analyze-css will now notify on accidental property resets (#85):

.foo {
  background-color: red;
  background: url(images/bg.gif) no-repeat top right;
}

will yield (via propertyResets metric offenders):

.foo: "background" resets "background-color" property set earlier

Enhancements

  • #62 - New metric: average selectors length
  • #84 - CSS parsing error handling
  • #85 - Detect accidental property resets
  • #98 - added position dump for unparsed selectors (by @mbardauskas)
  • #103 - Basic auth (by @gmetais)

Bug fixes

  • #88 - redundantChildNodesSelectors is missing tr-td and tr-th
  • #99 - Handle exceptions thrown during rules parsing

Internals

  • #81 - Use autoprefixer-core v5.0.0
  • #92 - prefixes: updated using autoprefixer-core v5.1.11
  • #93 - Use autoprefixer-core v5.2.0
  • #94 - Update npm dependencies
  • #101 - Upgrade css (v0.8.0) and node-sass (v3.2.0)
  • #102 - Travis: migrate to container-based infrastructure

Don't miss a new analyze-css release

NewReleases is sending notifications on new releases.