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

binaryheap-resizable

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binaryheap-resizable - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

3

index.js

@@ -92,5 +92,4 @@ /**

}
return item;
}
return item;
};

@@ -97,0 +96,0 @@

{
"author" : "Roberto Sales <robertosalesc@dcc.ufba.br>",
"name": "binaryheap-resizable",
"version": "0.0.5",
"version": "0.0.6",
"description": "binary heap implemented over a resizable circular buffer",

@@ -6,0 +6,0 @@ "keywords": ["binary", "heap", "circular buffer", "tree"],

@@ -11,11 +11,6 @@ /**

heap.push({priority: 5});
console.log(heap.toArray());
heap.push({priority: 8});
console.log(heap.toArray());
heap.push({priority: 4});
console.log(heap.toArray());
heap.push({priority: 11});
console.log(heap.toArray());
heap.push({priority: 3});
console.log(heap.toArray());

@@ -27,4 +22,7 @@

console.log("Popped: " + heap.pop());
heap.pop();
console.log(heap.toArray());
console.log("Popped: " + heap.pop());
console.log(heap.toArray());

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