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

@metrics/metric

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metrics/metric - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

lib/is.js

@@ -67,3 +67,3 @@ 'use strict';

const validValue = (value) => {
return Number.isSafeInteger(value) || value === null || value === undefined;
return Number.isFinite(value) || value === null || value === undefined;
};

@@ -70,0 +70,0 @@ module.exports.validValue = validValue;

{
"name": "@metrics/metric",
"version": "2.0.0",
"version": "2.1.0",
"description": "The metric class definition which metric objects in the @metrics library is instansiated from",

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