Comparing version 1.0.3 to 1.0.4
@@ -24,3 +24,3 @@ "use strict"; | ||
return obj; | ||
} else if (_.isNumber(obj) || _.isBoolean(obj) || _.isRegExp(obj) || _.isError(obj)) { | ||
} else if (_.isNumber(obj) || _.isBoolean(obj) || _.isRegExp(obj)) { | ||
return toString(obj); | ||
@@ -31,2 +31,7 @@ } else if (_.isDate(obj)) { | ||
var r = []; | ||
if (_.isError(obj)) { | ||
r.push(toString(obj)); | ||
} | ||
_.each(obj, function (val, key) { | ||
@@ -33,0 +38,0 @@ if (_.isNull(val) || _.isUndefined(val)) { |
{ | ||
"name": "logformat", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "stringify objects into searchable strings", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
10339
137