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.7.3 to 0.7.4

12

lib/msg.js

@@ -6,2 +6,3 @@ 'use strict';

var compress = false;
var showHidden = false;

@@ -13,2 +14,5 @@ var depth = 4;

color.setup(config);
if (config.compress) {
compress = true;
}
if (config.showHidden) {

@@ -57,4 +61,8 @@ showHidden = true;

} else {
msgItem = '\n' + util.inspect(msgItem, { showHidden: showHidden, depth: depth });
}
if (compress) {
msgItem = JSON.stringify(msgItem);
} else {
msgItem = util.inspect(msgItem, { showHidden: showHidden, depth: depth });
}
}
}

@@ -61,0 +69,0 @@ return msgItem;

2

package.json
{
"name": "gracelog",
"description": "Log management module",
"version": "0.7.3",
"version": "0.7.4",
"author": "Nobuyori Takahashi <voltrue2@yahoo.com>",

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

@@ -35,3 +35,4 @@ # gracelog

"file": "<log directory path> or false"
"console": true or false,
"compress": true or false, // if true, objects will be printed as a single line output
"console": true or false,
"remote": <object> or null/false,

@@ -38,0 +39,0 @@ "color": true or false,

@@ -28,3 +28,4 @@ var assert = require('assert');

console: true,
file: process.cwd() + '/test/logs/'
compress: true,
file: process.cwd() + '/test/logs/'
});

@@ -31,0 +32,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