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

yog-log

Package Overview
Dependencies
Maintainers
5
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yog-log - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

12

index.js

@@ -208,2 +208,14 @@ var fs = require('fs'),

this.params['isNative'] = '';
// 如果没有传msg,但是传了stack,则用stack信息替代msg
if (option['stack']) {
try {
if (!option['msg']) {
this.params['error_msg'] = this.opts['debug']
? option['stack']
: String(option['stack']).replace(/(\n)+|(\r\n)+/g, ' ');
}
} catch (e) {
//this.log('notice','wrong error obj');
}
}
},

@@ -210,0 +222,0 @@

4

package.json
{
"name": "yog-log",
"version": "0.2.5",
"version": "0.2.6",
"description": "yog logger",

@@ -19,3 +19,3 @@ "main": "index.js",

},
"devDependencies": {
"devDependencies": {
"express": "4.17.1"

@@ -22,0 +22,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