
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
updatable-priority-queue
Advanced tools
A priority queue implementation based on a binary heap, with an efficient update-key operation
A generic priority queue implementation based on a binary heap, with an efficient updateKey
operation.
It was made first to support the pathfinding algorithms of my jKstra graph library, but it can probably serves other purposes.
$> npm install updatable-priority-queue
Property | Type | Description |
---|---|---|
count | Integer | Number of items stored in the queue. |
Method | Returns | Description |
---|---|---|
insert(item, key) | Vertex | Adds an item to the queue, with a key used as sorting value. |
pop() | {item, key} | Removes and returns the first item of the queue, with its associated key, or null if the queue is empty. |
peek() | {item, key} | Reads the first item of the queue, with its associated key, without removing it, or null if the queue is empty. |
updateKey(item, newKey) | - | Updates the key associated with an element. |
FAQs
A priority queue implementation based on a binary heap, with an efficient update-key operation
The npm package updatable-priority-queue receives a total of 1,829 weekly downloads. As such, updatable-priority-queue popularity was classified as popular.
We found that updatable-priority-queue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.