Socket
Socket
Sign inDemoInstall

errorlog

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

errorlog - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

gulpfile.js

11

package.json
{
"name": "errorlog",
"description": "Yet another logger for Node",
"version": "1.4.0",
"version": "1.4.1",
"author": {

@@ -15,2 +15,5 @@ "name": "Pier Fumagalli",

},
"scripts": {
"test": "gulp"
},
"homepage": "https://github.com/usrz/js-express-errorlog",

@@ -24,6 +27,6 @@ "keywords": [

"devDependencies": {
"chai": "^3.3.0",
"grunt": "^0.4.5",
"grunt-simple-mocha": "^0.4.0"
"chai": "^3.4.1",
"gulp": "^3.9.0",
"gulp-mocha": "^2.1.3"
}
}

@@ -70,7 +70,7 @@ 'use strict';

var defaultLevel = INFO;
var defaultColorize = true;
var defaultColorize = process.stderr.isTTY == true;
function wrap(stream) {
if (util.isFunction(stream.write)) {
var colorize = ((stream == process.stderr) || (stream == process.stdout));
var colorize = stream.isTTY == true;
var log = function log(message) {

@@ -77,0 +77,0 @@ if (colorize && defaultColorize) {

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