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.2 to 1.0.3

bundle.js

5

main.js

@@ -1,2 +0,2 @@

import { al } from './src/altitude.js';
import al from './src/altitude.js';

@@ -9,5 +9,2 @@ const intervals = [

console.log(al().data([[10, 20], [30, 40], [50, 60], [70, 80], [90, 100]]).extent())
console.log(al().data([[10, 20], [30, 40], [50, 60], [70, 80], [90, 100]]).extent())

17

package.json
{
"name": "altitude",
"version": "1.0.2",
"version": "1.0.3",
"description": "Managing interval-based data",

@@ -9,3 +9,4 @@ "main": "src/altitude.js",

"scripts": {
"test": "tape 'test/**/*-test.js'"
"test": "tape 'test/**/*-test.js'",
"build": "rollup -c rollup.config.mjs"
},

@@ -26,7 +27,13 @@ "repository": {

"devDependencies": {
"tape": "^5.6.6"
"tape": "^5.6.3",
"eslint": "^8.39.0",
"esm": "^3.2.25"
},
"dev": {
"esm": "3"
"esm": {
"force": true,
"mainFields": [
"module",
"main"
]
}
}

@@ -1,2 +0,2 @@

export function al() {
export default function al() {

@@ -3,0 +3,0 @@ let data = []

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