New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yog-log

Package Overview
Dependencies
Maintainers
3
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.0.22 to 0.0.23

6

index.js

@@ -282,4 +282,4 @@ var fs = require('fs'),

if (req) {
if (req.headers[logIDName || 'http_x_bd_logid']) {
logId = parseInt(req.headers[logIDName || 'http_x_bd_logid'], 10);
if (req.headers[logIDName]) {
logId = parseInt(req.headers[logIDName], 10);
}

@@ -668,3 +668,3 @@ else if (parseInt(req.query['logid'], 10) > 0) {

//只在请求过来的时候才设置LogId
logger.params['LogId'] = logger.getLogID(req);
logger.params['LogId'] = logger.getLogID(req, config.LogIdName || 'x_bd_logid');
logger.parseReqParams(req, res);

@@ -671,0 +671,0 @@

{
"name": "yog-log",
"version": "0.0.22",
"version": "0.0.23",
"description": "yog 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