New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kss

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kss - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

9

lib/kss_styleguide.js

@@ -68,2 +68,4 @@ var KssStyleguide, sectionQueryMatch;

refsB = b.data.reference.split('.'),
rLengthA = refsA.length,
rLengthB = refsB.length,
i, l = Math.max(refsA.length, refsB.length);

@@ -73,6 +75,7 @@

if (refsA[i] && refsB[i]) {
if (refsA[i] > refsB[i]) return +1;
if (refsA[i] < refsB[i]) return -1;
if (refsA[i] != refsB[i]) {
return refsA[i] - refsB[i];
}
} else {
return refsA[i] - refsB[i];
return refsA[i] ? +1 : -1;
}

@@ -79,0 +82,0 @@ }

@@ -5,3 +5,3 @@ {

"description": "NodeJS port of kss: A methodology for documenting CSS and generating styleguides",
"version": "0.1.3",
"version": "0.2.0",
"repository": {

@@ -19,3 +19,3 @@ "type": "git",

"engines": {
"node": ">0.6.0"
"node": ">=0.6.0"
},

@@ -22,0 +22,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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