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

jscheckstyle

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscheckstyle - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

lib/jscheckstyle.js

@@ -205,3 +205,3 @@ var analyser = require('./analyser'),

if (path.existsSync(ignoreFile)) {
if ((fs.existsSync) ? fs.existsSync(ignoreFile) : path.existsSync(ignoreFile)) {
ignores = fs.readFileSync(ignoreFile, 'utf-8').split('\n').filter(function (line) {

@@ -208,0 +208,0 @@ return !!line;

{
"name": "jscheckstyle",
"version": "0.0.7",
"version": "0.0.8",
"description": "Static analysis tool for javascript - calculates cyclomatic complexity, amongst other things",

@@ -21,3 +21,3 @@ "keywords": [

"dependencies": {
"cli-table": ">=0.0.1",
"cli-table": ">=0.2.0",
"burrito": ">=0.2.8",

@@ -24,0 +24,0 @@ "file": ">=0.1.1"

@@ -6,2 +6,4 @@ [![Build Status](https://secure.travis-ci.org/nomiddlename/jscheckstyle.png?branch=master)](http://travis-ci.org/nomiddlename/jscheckstyle)

NOTE: jshint now does most of these checks, http://www.elijahmanor.com/2012/09/control-complexity-of-your-javascript.html so you may not need this any more. Use jshint instead, it checks for a whole load of other things as well.
## Installation

@@ -8,0 +10,0 @@ npm install jscheckstyle

@@ -80,4 +80,4 @@ var vows = require('vows'),

aNiceTable = function(output) {
assert.match(output, /┏[━┳]*┓/);
assert.match(output, /┗[━┻]*┛/);
assert.match(output, /┌[─┬]*┐/);
assert.match(output, /└[─┴]*┘/);
},

@@ -84,0 +84,0 @@ empty = function(output) {

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