Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ecs-logs-js

Package Overview
Dependencies
Maintainers
88
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecs-logs-js - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

History.md

@@ -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 @@ =====

3

lib/index.js

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc