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.11.1 to 1.11.2

23

index.js

@@ -114,8 +114,3 @@ var https = require('https')

function finish () {
if (!req.__baseRoute && !req.__layerPath) {
cleanup()
return
}
function compile () {
var uri = "";

@@ -131,2 +126,5 @@ if (req.__routeStack) {

}
if (uri[0] !== '/') {
uri = "/" + uri
}

@@ -142,4 +140,15 @@ var data = {

return data
}
req.__perf = compile
function finish () {
if (!req.__baseRoute && !req.__layerPath) {
cleanup()
return
}
var data = compile()
recordTimingData(data)
if (opts.debug) {

@@ -146,0 +155,0 @@ console.info('[express-perf]', data)

{
"name": "express-perf",
"version": "1.11.1",
"version": "1.11.2",
"description": "",

@@ -20,2 +20,3 @@ "main": "index.js",

"devDependencies": {
"chai": "^3.5.0",
"express": "^4.14.0",

@@ -22,0 +23,0 @@ "mocha": "^3.1.2",

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