Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cssstats

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssstats - npm Package Compare versions

Comparing version 2.0.0-beta.2 to 2.0.0-beta.3

6

lib/selectors.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc