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

@flatten-js/interval-tree

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flatten-js/interval-tree - npm Package Compare versions

Comparing version 1.0.18 to 1.0.19

7

dist/main.cjs.js

@@ -323,2 +323,9 @@ 'use strict';

/**
* Clear tree
*/
clear() {
this.root = null;
}
/**
* Insert new item into interval tree

@@ -325,0 +332,0 @@ * @param {Interval} key - interval object or array of two numbers [low, high]

@@ -319,2 +319,9 @@ /**

/**
* Clear tree
*/
clear() {
this.root = null;
}
/**
* Insert new item into interval tree

@@ -321,0 +328,0 @@ * @param {Interval} key - interval object or array of two numbers [low, high]

@@ -325,2 +325,9 @@ (function (global, factory) {

/**
* Clear tree
*/
clear() {
this.root = null;
}
/**
* Insert new item into interval tree

@@ -327,0 +334,0 @@ * @param {Interval} key - interval object or array of two numbers [low, high]

1

index.d.ts

@@ -75,2 +75,3 @@ // Type definitions for flatten-interval-tree library

isEmpty(): boolean;
clean(): void;
insert(key: Interval | NumericTuple, value?: Value<T>) : Node<T>;

@@ -77,0 +78,0 @@ exist(key: Interval | NumericTuple, value?: Value<T>): boolean;

2

package.json
{
"name": "@flatten-js/interval-tree",
"version": "1.0.18",
"version": "1.0.19",
"description": "Interval search tree",

@@ -5,0 +5,0 @@ "author": "Alex Bol",

@@ -168,2 +168,8 @@ # Interval Tree

### Clear()
Clear tree
```javascript
tree.clear()
```
## Documentation

@@ -170,0 +176,0 @@ Documentation may be found here: [https://alexbol99.github.io/flatten-interval-tree](https://alexbol99.github.io/flatten-interval-tree/)

@@ -80,2 +80,9 @@ /**

/**
* Clear tree
*/
clear() {
this.root = null
}
/**
* Insert new item into interval tree

@@ -82,0 +89,0 @@ * @param {Interval} key - interval object or array of two numbers [low, high]

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