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

@shardus/monitor-client

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shardus/monitor-client - npm Package Compare versions

Comparing version 2.8.2 to 2.8.3

2

package.json
{
"name": "@shardus/monitor-client",
"version": "2.8.2",
"version": "2.8.3",
"description": "",

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

@@ -20,4 +20,11 @@ (function main() {

let modifier = this.sortAsc ? 1 : -1
if (a[this.sortKey] < b[this.sortKey]) return -1 * modifier
if (a[this.sortKey] > b[this.sortKey]) return 1 * modifier
const valueA = a[this.sortKey]
const valueB = b[this.sortKey]
if (typeof valueA === 'number' && typeof valueB === 'number') {
return (valueA - valueB) * modifier
}
if (valueA < valueB) return -1 * modifier
if (valueA > valueB) return 1 * modifier
return 0

@@ -52,3 +59,8 @@ })

loadExternal: node.currentLoad.nodeLoad.external.toFixed(3),
queueLength: node.queueLength,
queueLengthAll: node.queueLengthAll || 0,
queueLength: node.queueLength || 0,
bucket15: node.queueLengthBuckets?.c15 || 0,
bucket60: node.queueLengthBuckets?.c60 || 0,
bucket120: node.queueLengthBuckets?.c120 || 0,
bucket600: node.queueLengthBuckets?.c600 || 0,
avgQueueTime: node.txTimeInQueue.toFixed(3),

@@ -55,0 +67,0 @@ maxQueueTime: node.maxTxTimeInQueue.toFixed(3),

Sorry, the diff of this file is not supported yet

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