winston-papertrail
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -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] |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35270
10379
235
1