New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@liqd-js/heap

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liqd-js/heap - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

dist/heap.d.ts

@@ -15,6 +15,7 @@ type Comparator<T> = (a: T, b: T) => number;

top(): T | undefined;
push(item: T): void;
push(item: T): this;
pop(): T | undefined;
update(item: T): boolean;
delete(item: T): boolean;
clear(): this;
sort(): this;

@@ -21,0 +22,0 @@ }

@@ -90,2 +90,3 @@ export default class Heap {

this.sift_up(this.data.length - 1);
return this;
}

@@ -145,2 +146,7 @@ pop() {

}
clear() {
this.data = new Array();
this.index = undefined;
return this;
}
sort() {

@@ -147,0 +153,0 @@ let data = this.data;

{
"name": "@liqd-js/heap",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -20,4 +20,4 @@ "author": "radixxko",

"devDependencies": {
"typescript": "^5.3.3"
"typescript": "^5.4.2"
}
}

Sorry, the diff of this file is not supported yet

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