node-logentries
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -197,3 +197,3 @@ /* Copyright (c) 2011-2013 Richard Rodger, BSD License */ | ||
var value = json[key] | ||
if( 'object' == typeof( value ) || Array.isArray(value) ) { | ||
if(value && 'object' == typeof( value ) || Array.isArray(value) ) { | ||
result += flatten(value, prefix + key + ".") | ||
@@ -225,3 +225,3 @@ } else { | ||
} | ||
else if( 'object' == typeof( data ) || Array.isArray(data) ) { | ||
else if( data && 'object' == typeof( data ) || Array.isArray(data) ) { | ||
args[1] = opts.flatten ? flatten(data, '') : JSON.stringify(data) | ||
@@ -228,0 +228,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"keywords": ["log", "logging", "winston", "logentries", "logentries.com", "wrapper","api"], | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/rjrodger/node-logentries", | ||
@@ -8,0 +8,0 @@ "author": "Richard Rodger <richard@ricebridge.com> (http://richardrodger.com/)", |
@@ -7,3 +7,3 @@ # node-logentries | ||
Current Version: 0.1.1 | ||
Current Version: 0.1.2 | ||
@@ -10,0 +10,0 @@ Tested on: node 0.4.9 |
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
18673
2