You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@datastructures-js/priority-queue

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datastructures-js/priority-queue - npm Package Versions

124

5.0.1

Diff
e
eyas-ranjous
published 5.0.1 •

Changelog

Source

[5.0.1] - 2021-02-23

Fixed

  • README
e
eyas-ranjous
published 5.0.0 •

Changelog

Source

[5.0.0] - 2021-01-24

Changed

  • upgrade heap to latest major version.
  • .enqueue can now be chanined.

Added

  • a default priority callback that returns the element itself if no callback is provided.

Fixed

  • cleaner error messages.
  • README
  • jsdoc
e
eyas-ranjous
published 4.1.2 •

Changelog

Source

[4.1.2] - 2020-09-22

Fixed

  • Allow any number value for priority.
e
eyas-ranjous
published 4.1.1 •

Changelog

Source

[4.1.1] - 2020-05-03

Fixed

  • README
  • package.json
e
eyas-ranjous
published 4.1.0 •

Changelog

Source

[4.1.0] - 2020-04-22

Added

  • allow passing a priority callback in constructor.
e
eyas-ranjous
published 4.0.0 •

Changelog

Source

[4.0.0] - 2020-04-13

Changed

  • split PriorityQueue into MinPriorityQueue & MaxPriorityQueue to enable working with different type of priorities.
e
eyas-ranjous
published 3.0.1 •

Changelog

Source

[3.0.1] - 2020-04-11

Fixed

  • jsdoc
e
eyas-ranjous
published 3.0.0 •

Changelog

Source

[3.0.0] - 2020-04-09

Changed

  • .front(), .back(), .dequeue(), .toArray() now returns the priority with the element.

Fixed

  • README
  • jsdoc
e
eyas-ranjous
published 2.0.0 •

Changelog

Source

[2.0.0] - 2020-03-09

Changed

  • use a Min Heap to store queue elements.
e
eyas-ranjous
published 1.0.2 •