Comparing version 1.0.8 to 2.0.0
@@ -158,3 +158,8 @@ /** | ||
recontext.msg = message; | ||
if (message instanceof Date || message instanceof Error) { | ||
// Node6 related hack. See https://github.com/telefonicaid/logops/issues/36 | ||
recontext.msg = util.format(message); | ||
} else { | ||
recontext.msg = message; | ||
} | ||
@@ -161,0 +166,0 @@ var str = Object.keys(recontext) |
{ | ||
"name": "logops", | ||
"description": "Simple and performant nodejs JSON logger", | ||
"version": "1.0.8", | ||
"version": "2.0.0", | ||
"homepage": "https://github.com/telefonicaid/logops", | ||
@@ -21,3 +21,3 @@ "license": "Apache-2.0", | ||
"engines": { | ||
"node": ">=0.10.8 <6" | ||
"node": ">=6" | ||
}, | ||
@@ -24,0 +24,0 @@ "scripts": { |
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
133905
9
737