hmpo-logger
Advanced tools
Comparing version 4.1.4 to 4.1.5
@@ -8,3 +8,3 @@ const _ = require('underscore'); | ||
if (typeof val === 'boolean') { return val; } | ||
if (typeof val === 'string') { return val.substr(0, 200); } | ||
if (typeof val === 'string') { return val.substring(0, 200); } | ||
if (val instanceof Date) { return val; } | ||
@@ -14,3 +14,3 @@ if (val === null) { return null; } | ||
try { | ||
return JSON.stringify(val); | ||
return JSON.stringify(val).substring(0, 200); | ||
} catch (e) { | ||
@@ -17,0 +17,0 @@ return '?'; |
{ | ||
"name": "hmpo-logger", | ||
"version": "4.1.4", | ||
"version": "4.1.5", | ||
"description": "Consistent logging for hmpo apps", | ||
@@ -26,19 +26,19 @@ "main": "index.js", | ||
"dependencies": { | ||
"async": "^3.2.2", | ||
"async": "^3.2.3", | ||
"debug": "^4.3.3", | ||
"glob": "^7.2.0", | ||
"on-finished": "^2.3.0", | ||
"on-finished": "^2.4.1", | ||
"on-headers": "^1.0.1", | ||
"sort-object-keys": "^1.1.2", | ||
"underscore": "^1.13.1", | ||
"underscore": "^1.13.2", | ||
"winston": "^2.4.5" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.3.4", | ||
"eslint": "^8.4.1", | ||
"mocha": "^9.1.3", | ||
"chai": "^4.3.6", | ||
"eslint": "^8.10.0", | ||
"mocha": "^9.2.1", | ||
"nyc": "^15.1.0", | ||
"sinon": "^12.0.1", | ||
"sinon": "^13.0.1", | ||
"sinon-chai": "^3.7.0", | ||
"sinon-test": "^3.1.1" | ||
"sinon-test": "^3.1.3" | ||
}, | ||
@@ -45,0 +45,0 @@ "nyc": { |
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
92383
Updatedasync@^3.2.3
Updatedon-finished@^2.4.1
Updatedunderscore@^1.13.2