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

dtable-utils

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dtable-utils - npm Package Compare versions

Comparing version 4.2.5 to 4.2.6

4

es/view/summaries.js

@@ -58,3 +58,5 @@ import { getRowsByIds } from '../table/row.js';

if (validNumbersCount > 0) {
medianArr.sort();
medianArr.sort(function (numLeft, numRight) {
return numLeft - numRight;
}); // sort number with asc
if (medianArr.length % 2 === 0) {

@@ -61,0 +63,0 @@ median = (medianArr[medianArr.length / 2 - 1] + medianArr[medianArr.length / 2]) / 2;

@@ -62,3 +62,5 @@ 'use strict';

if (validNumbersCount > 0) {
medianArr.sort();
medianArr.sort(function (numLeft, numRight) {
return numLeft - numRight;
}); // sort number with asc
if (medianArr.length % 2 === 0) {

@@ -65,0 +67,0 @@ median = (medianArr[medianArr.length / 2 - 1] + medianArr[medianArr.length / 2]) / 2;

{
"name": "dtable-utils",
"version": "4.2.5",
"version": "4.2.6",
"description": "dtable common utils",

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

Sorry, the diff of this file is too big to display

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