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

loglevel-mixin

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loglevel-mixin - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

9

LogLevelMixin.js

@@ -154,10 +154,11 @@ /* jslint node: true, esnext: true */

return Object.assign(logevent, args);
} else if (arg instanceof Error) {
if (arg.stack) {
} else {
if (arg instanceof Error && arg.stack) {
logevent.stack = arg.stack.split(/\n/).map(l => l.trim());
} else if (arg.error instanceof Error && arg.error.stack) {
logevent.stack = arg.error.stack.split(/\n/).map(l => l.trim());
}
return Object.assign(logevent, arg, args);
} else {
return Object.assign(logevent, arg, args);
}
};

@@ -42,3 +42,3 @@ {

},
"version": "1.3.1"
"version": "1.4.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