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

@elastic.io/bunyan-logger

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic.io/bunyan-logger - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1-dev1

7

lib/ValsStringTransformer.js

@@ -30,3 +30,7 @@ const { Transform } = require('stream');

static castObjValsToString (value) {
if (typeof value === 'object') {
const valueType = typeof value;
if (valueType === 'boolean' || valueType === 'undefined' || value === null) {
return value;
}
if (valueType === 'object') {
if (Array.isArray(value)) {

@@ -39,2 +43,3 @@ return value.map(v => ValsStringTransformer.castObjValsToString(v));

}
return String(value);

@@ -41,0 +46,0 @@ }

2

package.json
{
"name": "@elastic.io/bunyan-logger",
"version": "1.0.0",
"version": "1.0.1-dev1",
"description": "Logger for elastic.io platform based on Bunyan",

@@ -5,0 +5,0 @@ "main": "lib/logger.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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