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

counterpane

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

counterpane - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

26

lib/counterpane.js

@@ -9,5 +9,2 @@ var fs = require('fs');

var testDir = options.testDir || argv.t || '';
console.log(srcDir, testDir);
var ignoreList = [

@@ -22,3 +19,2 @@ '/app/config.js',

var skipCount = 0;
var relFilePath,

@@ -36,12 +32,10 @@ appDir,

list = output[key];
if(typeof list === 'object'){
summaryString = key + "\n" + String(list.length) + ' missing tests';
console.log(summaryString.red);
summaryString = key + "\n" + String(list.length) + ' missing tests';
console.log(summaryString.red);
for(var j= 0; j < list.length; j++) {
console.log(list[j]);
}
console.log("\n" + '-------------------------------------------------------------'.red + "\n");
for(var j= 0; j < list.length; j++) {
console.log(list[j]);
}
console.log("\n" + '-------------------------------------------------------------'.red + "\n");
}
}

@@ -55,16 +49,10 @@ }

}
var i = 0;
(function next () {
var file = list[i++];
if (!file) {
return done(null);
}
file = dir + '/' + file;
fs.stat(file, function (error, stat) {
if (stat && stat.isDirectory()) {

@@ -75,3 +63,2 @@ walk(file, function (error) {

} else {
var skip = false;

@@ -86,3 +73,2 @@ for (var j = 0; j < ignoreList.length; j++) {

}
if (!skip) {

@@ -89,0 +75,0 @@ var checkFile = file.replace(srcDir, testDir);

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

"description": "Counts files covered by tests",
"version": "0.1.10",
"version": "0.1.11",
"repository": {

@@ -8,0 +8,0 @@ "url": ""

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