Socket
Socket
Sign inDemoInstall

lum_request-stats

Package Overview
Dependencies
4
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.0 to 3.2.0

4

lib/stats_emitter.js

@@ -47,3 +47,3 @@ 'use strict'

path: req.url,
ip: ip,
ip,
raw: req,

@@ -64,3 +64,3 @@ },

function getIp(req){
const ip = req.headers['x-forwarded-for'];
let ip = req.headers['x-forwarded-for'];
if (!ip) {

@@ -67,0 +67,0 @@ ip = req.socket && req.socket.remoteAddress;

{
"name": "lum_request-stats",
"version": "3.1.0",
"version": "3.2.0",
"description": "Get stats on your Node.js HTTP server requests",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc