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.1.19 to 0.1.20

22

CHANGELOG.md
# Change log
## Version 0.1.20
## Added
None
## Changed
#### Default config improved
If no logging method found (console, file, or remote), it now falls back to use console as the default logging method.
## Deprecated
None
## Removed
None
***
## Version 0.1.19

@@ -4,0 +26,0 @@

9

index.js

@@ -33,7 +33,12 @@ var loggerSource = require('./logger');

// if config console is missing, we create it and set it to true as a default
if (configData.console === undefined && !configData.file && !configData.remote) {
configData.console = true;
console.warn('<warn>[log] no logging method found: using "console" as the dedault');
}
// if config level is missing, we create a default one
if (!configData.level) {
configData.level = '>= verbose';
console.warn('<warn>[log] no log level found: created default log level');
console.log('<verbose>[log] default configurations:\n', configData);
console.warn('<warn>[log] no logging level found: using ">= verbose" as the dedault');
}

@@ -40,0 +45,0 @@

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

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

@@ -12,5 +12,3 @@ var assert = require('assert');

color: true,
console: true,
file: false,
level: '>= verbose'
file: false
});

@@ -17,0 +15,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