Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-perf

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-perf - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

7

index.js

@@ -104,2 +104,7 @@ var https = require('https')

function finish () {
var uri = (req.__baseRoute + req.route.path).replace(/:([^\/]*)/ig, '*')
if (uri[uri.length - 1] === "/") {
uri = uri.substring(0, uri.length - 1)
}
var data = {

@@ -109,3 +114,3 @@ ip_addr: req.headers['x-forwarded-for'] || req.connection.remoteAddress,

request_url: req.protocol + '://' + req.get('host') + req.originalUrl,
normalized_uri: (req.__baseRoute + req.route.path).replace(/:([^\/]*)/ig, '*'),
normalized_uri: uri,
status_code: res.statusCode,

@@ -112,0 +117,0 @@ time_in_millis: (new Date().getTime()) - startTime

2

package.json
{
"name": "express-perf",
"version": "1.2.0",
"version": "1.3.0",
"description": "",

@@ -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