Socket
Socket
Sign inDemoInstall

@hestia-earth/utils

Package Overview
Dependencies
1
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.22 to 0.10.23

2

dist/term.js

@@ -8,3 +8,3 @@ "use strict";

if (isAverage === void 0) { isAverage = false; }
return (values || []).reduce(function (prev, curr) { return prev + parseFloat("" + curr); }, 0) / (isAverage ? values.length : 1);
return (values || []).reduce(function (prev, curr) { return prev + (utils_1.isEmpty(curr) ? 0 : parseFloat("" + curr)); }, 0) / (isAverage ? values.filter(function (v) { return !utils_1.isEmpty(v); }).length : 1);
};

@@ -11,0 +11,0 @@ exports.arrayValue = arrayValue;

{
"name": "@hestia-earth/utils",
"version": "0.10.22",
"version": "0.10.23",
"description": "Hestia Utils library",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc