Socket
Socket
Sign inDemoInstall

nstats

Package Overview
Dependencies
2
Maintainers
1
Versions
20
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

nstats.js

@@ -314,3 +314,5 @@ const fp = require('fastify-plugin')

this.data.responseOverhead.avg = (this.data.responseOverhead.total / this.data.totalPackets);
if(this.data.responseOverhead.total > 0) {
this.data.responseOverhead.avg = (this.data.responseOverhead.total / this.data.totalPackets);
}

@@ -317,0 +319,0 @@ if(this.httpServer)

{
"name": "nstats",
"version": "3.1.0",
"version": "3.2.0",
"description": "A fast and compact way to get all your network and process stats for your node application.",

@@ -5,0 +5,0 @@ "main": "nstats.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