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

kitten-logger

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kitten-logger - npm Package Compare versions

Comparing version 0.1.20 to 0.1.21

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## v0.1.21
- Fix #3: kitten-logger was crashing because of null or undefined messages.
## v0.1.20

@@ -2,0 +5,0 @@ - Do not truncate logs.

2

package.json
{
"name": "kitten-logger",
"version": "0.1.20",
"version": "0.1.21",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -46,2 +46,6 @@ const utils = require('./utils');

if (msg == null) {
msg = '';
}
// if the output is a terminal and we have a beautifier for this namespace, use it to parse the msg

@@ -82,2 +86,6 @@ if (msg.constructor === String){

if (msg == null) {
msg = '';
}
// if the output is a terminal and we have a beautifier for this namespace, use it to parse the msg

@@ -84,0 +92,0 @@ if (formatters[namespace] instanceof Function) {

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