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
4
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.0 to 0.2.1

2

index.js

@@ -703,3 +703,3 @@ var fs = require('fs'),

//以下参数需要在response finish的时候计算
logger.params['STATUS'] = res.getHeader() ? res.statusCode : null;
logger.params['STATUS'] = res.statusCode ? res.statusCode : null;
logger.params['CONTENT_LENGTH'] = (res.getHeaders() || {})['content-length'] || '-';

@@ -706,0 +706,0 @@ if (req._startAt) {

{
"name": "yog-log",
"version": "0.2.0",
"version": "0.2.1",
"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