Socket
Socket
Sign inDemoInstall

jscs

Package Overview
Dependencies
Maintainers
1
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.4.1 to 1.4.2

5

lib/rules/require-space-after-keywords.js

@@ -26,3 +26,6 @@ var assert = require('assert');

if (nextToken && nextToken.range[0] - token.range[1] !== 1) {
if (nextToken &&
nextToken.loc.end.line === token.loc.start.line &&
nextToken.range[0] - token.range[1] !== 1
) {
if (nextToken.type !== 'Punctuator' || nextToken.value !== ';') {

@@ -29,0 +32,0 @@ errors.add(

2

package.json

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

"name": "jscs",
"version": "1.4.1",
"version": "1.4.2",
"main": "lib/checker",

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

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