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

@datastructures-js/linked-list

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datastructures-js/linked-list - npm Package Compare versions

Comparing version 5.2.4 to 5.2.5

4

CHANGELOG.md

@@ -8,2 +8,6 @@ # Changelog

## [Unreleased]
## [5.2.5] - 2023-01-09
### Fixed
- a bug in `removeEach`.
## [5.2.4] - 2022-09-04

@@ -10,0 +14,0 @@ ### Fixed

2

package.json
{
"name": "@datastructures-js/linked-list",
"version": "5.2.4",
"version": "5.2.5",
"description": "a javascript implementation of LinkedList & DoublyLinkedList",

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

@@ -146,5 +146,7 @@ /**

if (prev === null) {
this.removeFirst();
this._head = this._head.getNext();
current = this._head;
} else {
prev.setNext(prev.getNext().getNext());
current = current.getNext();
}

@@ -155,5 +157,5 @@ this._count -= 1;

prev = current;
current = current.getNext();
}
position += 1;
current = current.getNext();
}

@@ -160,0 +162,0 @@ return removedCount;

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