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

winston-papertrail

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-papertrail - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

.npmignore

3

changelog.md

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

# v0.0.5 #
- Handle when logging a null value, Fix for issue #5
# v0.0.4 #

@@ -2,0 +5,0 @@ - Emits error when the buffer of messages reaches a maximum limit [Camilo Aguilar][2]

13

lib/winston-papertrail.js

@@ -201,6 +201,13 @@ /*

var lines = message.split('\n');
var lines = [],
msg = '',
gap = '';
var msg = '';
var gap = '';
// Only split if we actually have a message
if (message) {
lines = message.split('\n');
}
else {
lines = [''];
}

@@ -207,0 +214,0 @@ // If the incoming message has multiple lines, break them and format each

{
"name": "winston-papertrail",
"description": "A Papertrail transport for winston",
"version": "0.0.4",
"version": "0.0.5",
"author": "Ken Perkins <ken@clipboard.com>",

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

Sorry, the diff of this file is not supported yet

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