pino-colada
Advanced tools
Comparing version 1.4.4 to 1.4.5
@@ -33,2 +33,3 @@ var prettyBytes = require('prettier-bytes') | ||
if (!obj.level) return line + nl | ||
if (!obj.message) obj.message = obj.msg | ||
if (typeof obj.level === 'number') convertLogNumber(obj) | ||
@@ -40,3 +41,2 @@ | ||
function convertLogNumber (obj) { | ||
if (!obj.message) obj.message = obj.msg | ||
if (obj.level === 10) obj.level = 'trace' | ||
@@ -43,0 +43,0 @@ if (obj.level === 20) obj.level = 'debug' |
{ | ||
"name": "pino-colada", | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"description": "cute ndjson logger for pino", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
72692
3