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

egg-logger

Package Overview
Dependencies
Maintainers
11
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-logger - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

9

History.md
2.3.2 / 2019-02-28
==================
**fixes**
* [[`f51216b`](http://github.com/eggjs/egg-logger/commit/f51216bd84d48f75e44ebe2e1208c308d1969dce)] - fix: crash when format a getter-only error stack (#50) (Khaidi Chu <<i@2333.moe>>)
**others**
* [[`858a8b4`](http://github.com/eggjs/egg-logger/commit/858a8b46495fed21efb4215e36764b3030e573ee)] - chore: comments typo fix (#47) (Jeff <<jeff.tian@outlook.com>>)
2.3.1 / 2019-01-03

@@ -3,0 +12,0 @@ ==================

6

lib/utils.js

@@ -77,3 +77,3 @@ 'use strict';

* - {Function} formatter
* @return {Buffer} formated log string buffer
* @return {Buffer} formatted log string buffer
*/

@@ -144,5 +144,5 @@ format(level, args, meta, options) {

}
err.stack = err.stack || 'no_stack';
// name and stack could not be change on node 0.11+
const errStack = err.stack;
const errStack = err.stack || 'no_stack';
const errProperties = Object.keys(err).map(key => inspect(key, err[key])).join('\n');

@@ -149,0 +149,0 @@ return util.format('nodejs.%s: %s\n%s\n%s\npid: %s\nhostname: %s\n',

{
"name": "egg-logger",
"version": "2.3.1",
"version": "2.3.2",
"description": "egg logger",

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