@lbu/insight
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -12,6 +12,7 @@ const { | ||
module.exports = { | ||
bytesToHumanReadable, | ||
printProcessMemoryUsage, | ||
log, | ||
newLogger, | ||
bytesToHumanReadable, | ||
printProcessMemoryUsage, | ||
}; |
{ | ||
"name": "@lbu/insight", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Simple logger in NDJSON format", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "9e38110ceb9ddfdbf75a0e8300893fc0d4800e7e" | ||
"gitHead": "a7b150d9265f449127dc812d4bcef7fb803d6d63" | ||
} |
@@ -80,4 +80,9 @@ const { inspect } = require("util"); | ||
if (type === "function" || type === "bigint" || type === "symbol") { | ||
if (type === "bigint" || type === "symbol") { | ||
return message.toString(); | ||
} else if (type === "function") { | ||
return formatMessage(availableDepth, { | ||
name: message.name || "fn", | ||
length: message.length || 0, | ||
}); | ||
} | ||
@@ -84,0 +89,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10018
288
0