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

little-ds-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

little-ds-toolkit - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

package.json
{
"name": "little-ds-toolkit",
"version": "0.2.1",
"version": "0.2.2",
"description": "A small collection of useful data structures",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -26,9 +26,3 @@ little-ds-toolkit

var heap = new Heap(function (a, b) {
if (a.value < b.value) {
return 1;
} esle if (a.value > b.value) {
return -1;
} else {
return 0;
}
return a.value - b.value;
});

@@ -100,3 +94,3 @@ ```

// replace item "A"
heap.removeIndex(itemPos.A, newItem);
heap.replaceIndex(itemPos.A, newItem);
```

@@ -103,0 +97,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