CSS selectors complexity and performance analyzer
BSD-2-CLAUSE License
Bot releases are hidden (Show)
browserslist
to v1.3.4analyze-css
can be used via Node.js 5.8) - https://github.com/sass/node-sass/issues/1245
It's been a while since the last release of analyze-css. This one brings the following:
Published by macbre over 9 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
redundantChildNodesSelectors
is missing tr-td and tr-thPublished by macbre over 9 years ago
This minor release brings the updated data for browser-specific prefixes and up to date dependencies.
autoprefixer-core
v5.1.7Published by macbre over 9 years ago
This minor release brings a bugfix:
body > .foo .bar
Published by macbre almost 10 years ago
This minor release brings the updated browser-specific prefixes metadata:
autoprefixer-core
v5.0.0This minor release brings the support of parsing SASS files with Indented Syntax.
Published by macbre almost 10 years ago
This release of analyze-css brings many "under the hood" changes. However, one new metric is introduced - the number of unique colors used in CSS (#68). Hopefully, it will be helpful for both developers and designers :)
analyze-css
(when used to fetch remote CSS file) will now send user agent (see #75):
analyze-css/0.9.0 (node v0.10.4, linux x64)
The full list of changes
cssMultiClassesSelectors
is not documented (reported by @gmetais)analyze-css
user agentautoprefixer-core
v4.0.0js-beautify
Published by macbre almost 10 years ago
This release brings the detection of duplicated properties (especially useful when using CSS preprocessors) and command line / CommonJS module option to disabled offenders:
Published by macbre almost 10 years ago
This release brings a better handling of errors and improved redundantChildNodesSelectors metric.
Published by macbre about 10 years ago
This release brings a reporting of line and column of an issue reported in the offenders - se #25.
A new metric has been added - redundantChildNodesSelectors
(see #51). It will report redundant selectors for child nodes, for instance .foo ul li
.
There are two bug fixes to redundantBodySelectors
metric - #49 and #51
Here's the full list of new features and bug fixes:
body
not always redundantPublished by macbre about 10 years ago
This release brings an experimental support for analyzing SCSS files via libsass binding for Node.js (see #3),
Simply pass a *.scss
file to analyze-css
. SASS preprocessor will be used automatically (based on the file extension).
analyze-css --file examples/base.scss --pretty
Here's the full list of new features:
@import
Published by macbre about 10 years ago
This minor release brings updated npm dependencies and prefixes data from autoprefixer.