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.1 to 0.2.2

4

index.js

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

this.params['HTTP_VERSION'] = req.httpVersionMajor + '.' + req.httpVersionMinor;
this.params['STATUS'] = res._header ? res.statusCode : null;
this.params['CONTENT_LENGTH'] = (res._headers || {})['content-length'] || '-';
this.params['STATUS'] = res.statusCode ? res.statusCode : null;
this.params['CONTENT_LENGTH'] = (res.getHeaders() || {})['content-length'] || '-';
this.params['BYTES_SENT'] = res.socket ? res.socket.bytesRead : 0;

@@ -269,0 +269,0 @@ this.params['HEADERS'] = req.headers;

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