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

gracelog

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gracelog - npm Package Compare versions

Comparing version 0.6.7 to 0.6.8

20

CHANGELOG.md
# Change log
## Version 0.6.8
## Added
None
## Changed
#### Performance improvements
## Deprecated
None
## Remoed
None
***
## Version 0.6.7

@@ -4,0 +24,0 @@

17

logger.js

@@ -19,3 +19,3 @@ var async = require('./lib/async');

module.exports.setup = function (config) {
configData = config;
configData = config || { level: {} };
ip.setup();

@@ -31,4 +31,8 @@ address = ip.get();

}
if (!configData.remote && !configData.file) {
return;
}
// auto flush log data at every x milliseconds
module.exports._timerFlush();
};

@@ -126,2 +130,8 @@

Logger.prototype._handleLog = function (levelName, message) {
// check enabled or not
if (!this.config.level[levelName]) {
// not enabled
return;
}
// table is the same as debug

@@ -145,7 +155,2 @@ if (levelName === 'table') {

}
// check enabled or not
if (!this.config.level[levelName]) {
// not enabled
return;
}

@@ -152,0 +157,0 @@ var logMsg = msg.create(this.prefix, this.name, levelName, message);

{
"name": "gracelog",
"description": "Log management module",
"version": "0.6.7",
"version": "0.6.8",
"author": "Nobuyori Takahashi <voltrue2@yahoo.com>",

@@ -6,0 +6,0 @@ "repository": {

@@ -48,2 +48,3 @@ var assert = require('assert');

var calledDone = false;
log.on('output', function (address, name, level, msg) {

@@ -54,3 +55,4 @@ assert(address);

assert(msg);
if (level === 'fatal') {
if (level === 'fatal' && !calledDone) {
calledDone = true;
done();

@@ -57,0 +59,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