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

altitude

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

altitude - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

src/util/identity.js

2

main.js

@@ -7,4 +7,4 @@ import al from './src/altitude.js';

console.log(al().data([[10, 20], [30, 40], [50, 60], [70, 80], [90, 100]]).data())
console.log(al().data([[10, 20], [30, 40], [50, 60], [70, 80], [90, 100]]).sort_by_start().data())
console.log(al().data([[10, 20], [30, 40], [50, 60], [70, 80], [90, 100]]).extent())
{
"name": "altitude",
"version": "1.0.3",
"version": "1.0.4",
"description": "Managing interval-based data",

@@ -5,0 +5,0 @@ "main": "src/altitude.js",

@@ -0,1 +1,5 @@

import isValid from './util/is-valid.js';
import identity from './util/identity.js';
export default function al() {

@@ -33,2 +37,10 @@

table.isValid = () => {
return isValid(data);
}
table.identity = () => {
return identity(table);
}
table.sort_by_start = () => {

@@ -38,3 +50,3 @@ data.sort((a, b) => {

});
return data;
return table;
}

@@ -46,3 +58,3 @@

});
return data;
return table;
}

@@ -49,0 +61,0 @@

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