Comparing version 2.0.0-beta.2 to 2.0.0-beta.3
@@ -63,7 +63,7 @@ | ||
graph = result.getSpecificityGraph() | ||
result.specificity.max = _.max(graph) | ||
result.specificity.average = _.sum(graph) / graph.length | ||
result.specificity.max = _.max(graph) || 0 | ||
result.specificity.average = _.sum(graph) / graph.length || 0 | ||
if (opts.specificityGraph) { | ||
result.specificity.graph = result.getSpecificityGraph() | ||
result.specificity.graph = graph | ||
} | ||
@@ -70,0 +70,0 @@ |
{ | ||
"name": "cssstats", | ||
"version": "2.0.0-beta.2", | ||
"version": "2.0.0-beta.3", | ||
"description": "High-level stats for stylesheets", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
459661