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

fwsp-logger

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fwsp-logger - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

17

lib/PinoLogger.js

@@ -122,7 +122,14 @@ 'use strict';

errSerializer(err) {
return err instanceof Error ? {
type: err.name || err.constructor.name,
message: err.message,
stack: err.stack
} : err;
let ret = err;
if (err instanceof Error) {
ret = Object.assign(
JSON.parse(JSON.stringify(err)),
{
type: err.name || err.constructor.name,
message: err.message,
stack: err.stack
}
);
}
return ret;
}

@@ -129,0 +136,0 @@

{
"name": "fwsp-logger",
"version": "0.2.0",
"version": "0.2.1",
"author": {

@@ -5,0 +5,0 @@ "name": "Eric Adum",

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