Socket
Socket
Sign inDemoInstall

jscs

Package Overview
Dependencies
Maintainers
4
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscs - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

8

lib/rules/validate-indentation.js

@@ -116,8 +116,6 @@ var assert = require('assert');

if (line.check && Array.isArray(expected)) {
if (actual === expected[1]) {
indentStack[idx] = expected[1];
} else {
indentStack[idx] = expected[0];
expected = actual === expected[1] ? expected[1] : expected[0];
if (!line.pop) {
indentStack[idx] = expected;
}
expected = indentStack[idx];
}

@@ -124,0 +122,0 @@

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

"name": "jscs",
"version": "1.7.0",
"version": "1.7.1",
"main": "lib/checker",

@@ -8,0 +8,0 @@ "homepage": "https://github.com/jscs-dev/node-jscs",

Sorry, the diff of this file is too big to display

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