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

logformat

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logformat - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

index.js

@@ -24,3 +24,3 @@ "use strict";

return obj;
} else if (_.isNumber(obj) || _.isBoolean(obj) || _.isRegExp(obj) || _.isError(obj)) {
} else if (_.isNumber(obj) || _.isBoolean(obj) || _.isRegExp(obj)) {
return toString(obj);

@@ -31,2 +31,7 @@ } else if (_.isDate(obj)) {

var r = [];
if (_.isError(obj)) {
r.push(toString(obj));
}
_.each(obj, function (val, key) {

@@ -33,0 +38,0 @@ if (_.isNull(val) || _.isUndefined(val)) {

2

package.json
{
"name": "logformat",
"version": "1.0.3",
"version": "1.0.4",
"description": "stringify objects into searchable strings",

@@ -5,0 +5,0 @@ "main": "index.js",

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