Huge News!Announcing our $40M Series B led by Abstract Ventures.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.1.3 to 0.1.4

3

index.js

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

this.params['REQUEST_URI'] = req.originalUrl;
this.params['REQUEST_PATHNAME'] = req._parsedUrl ? req._parsedUrl.pathname : '-';
this.params['REQUEST_QUERY'] = req._parsedUrl ? req._parsedUrl.query : '-';
this.params['HOSTNAME'] = req.hostname;

@@ -260,2 +262,3 @@ this.params['HTTP_HOST'] = req.headers.host;

this.params['CONTENT_LENGTH'] = (res._headers || {})['content-length'] || '-';
this.params['BYTES_SENT'] = res.socket ? res.socket.bytesRead : 0;
this.params['HEADERS'] = req.headers;

@@ -262,0 +265,0 @@ this.params['pid'] = process.pid;

2

package.json
{
"name": "yog-log",
"version": "0.1.3",
"version": "0.1.4",
"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