ecs-logs-js
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -0,1 +1,7 @@ | ||
0.2.1 / 2018-09-26 | ||
================== | ||
* feat: safe-json-stringify for encoding log events (#3) | ||
0.2.0 | ||
@@ -2,0 +8,0 @@ ===== |
@@ -15,2 +15,3 @@ /** | ||
var typeName = require('type-name'); | ||
var stringify = require('safe-json-stringify'); | ||
@@ -186,3 +187,3 @@ /** | ||
function format(entry) { // eslint-disable-line | ||
return JSON.stringify(makeEvent(entry, format.hostname)); | ||
return stringify(makeEvent(entry, format.hostname)); | ||
} | ||
@@ -189,0 +190,0 @@ |
{ | ||
"name": "ecs-logs-js", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Logger based on winston formatting messages compatible with ecs-logs", | ||
@@ -26,2 +26,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"safe-json-stringify": "^1.2.0", | ||
"type-name": "^2.0.1", | ||
@@ -28,0 +29,0 @@ "winston": "^2.2.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
670
22589
3
9
+ Addedsafe-json-stringify@^1.2.0
+ Addedsafe-json-stringify@1.2.0(transitive)