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

antr

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antr - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

11

lib/Reporter.js

@@ -14,2 +14,3 @@ var sty = require('sty');

this._started = null;
this._succinct = options.runner._options.succinct;

@@ -35,6 +36,8 @@ this._runner.on('start', this._start.bind(this));

console.log(sty.yellow('\n' + 'node ' + file + '\n' + helper.strRepeat('=', file.length + 5)));
output.forEach(function(line){ // Write each line from the child process
console.log(sty.bold(line.data));
});
if(!this._succinct) {
console.log(sty.yellow('\n' + 'node ' + file + '\n' + helper.strRepeat('=', file.length + 5)));
output.forEach(function(line){ // Write each line from the child process
console.log(sty.bold(line.data));
});
}
} else {

@@ -41,0 +44,0 @@ this._passed++;

@@ -21,3 +21,4 @@ var async = require('async');

listFiles: options.listFiles || false,
progressBar: (options.progressBar == false) ? false : true
progressBar: (options.progressBar == false) ? false : true,
succinct: (options.succinct == true) ? true : false
}

@@ -24,0 +25,0 @@ this._stats = {

@@ -9,3 +9,3 @@ {

],
"version": "0.1.3",
"version": "0.1.4",
"dependencies": {

@@ -12,0 +12,0 @@ "async": "0.2.9",

@@ -54,2 +54,3 @@ #antr

* **progressBar** Option to display a progress bar - defaults to `true`
* **succinct** Option to limit the amount of output on stdout/stderr - defaults to `false`

@@ -56,0 +57,0 @@ ## npm Maintainers

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