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

prom-client

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prom-client - npm Package Compare versions

Comparing version 5.0.2 to 5.0.4

5

lib/counter.js

@@ -89,5 +89,6 @@ /**

}
if(value === 0) {
return;
}
that.hashMap = createValue(that.hashMap, value || 1, labels, hash);

@@ -94,0 +95,0 @@ };

8

lib/metrics/processMaxFileDescriptors.js

@@ -10,6 +10,12 @@ 'use strict';

var isSet = false;
if(process.platform !== 'linux') {
return function() {
};
}
var fileDescriptorsGauge = new Gauge(PROCESS_MAX_FDS, 'Maximum number of open file descriptors.');
return function() {
if(isSet || process.platform !== 'linux') {
if(isSet) {
return;

@@ -16,0 +22,0 @@ }

{
"name": "prom-client",
"version": "5.0.2",
"version": "5.0.4",
"description": "Client for prometheus",

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