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

cli-logger

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-logger - npm Package Compare versions

Comparing version 0.5.23 to 0.5.25

2

index.js

@@ -346,3 +346,3 @@ var EventEmitter = require('events').EventEmitter;

if(err) {
message = err.message || arguments[2];
message = arguments[2] || err.message;
parameters = (err.parameters || parameters || []).slice(0);

@@ -349,0 +349,0 @@ }

{
"name": "cli-logger",
"version": "0.5.23",
"version": "0.5.25",
"description": "Logger implementation for command line interfaces",

@@ -32,3 +32,3 @@ "author": "muji <noop@xpm.io>",

"bunyan": "~0.22.1",
"mocha": "~1.17.0",
"mocha": "~1.21.4",
"chai": "~1.8.1",

@@ -42,5 +42,5 @@ "istanbul": "~0.2.4"

"clean": "rm -f log/*.log",
"test": "istanbul cover _mocha -- -u bdd --recursive --bail --reporter list -A test/unit/"
"test": "istanbul cover _mocha -- -u bdd --recursive --reporter list -A test/unit/"
},
"config": {}
}

@@ -10,6 +10,6 @@ var expect = require('chai').expect;

})
afterEach(function(done) {
console.log = method;
done();
})
//afterEach(function(done) {
//console.log = method;
//done();
//})
it('should log trace message to console.log', function(done) {

@@ -24,2 +24,4 @@ var name = 'mock-console-logger';

expect(arguments[1]).to.eql(param);
// have to revert method here for mocha to be ok
console.log = method;
done();

@@ -26,0 +28,0 @@ }

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