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 3.0.1 to 3.0.2

6

CHANGELOG.md

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

## [3.0.2] - 2021-01-02
### Fixed
- readme
## [3.0.1] - 2021-01-02

@@ -11,0 +17,0 @@

2

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

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

@@ -60,7 +60,11 @@ # @datastrucures-js/linked-list

const {
LinkedListNode,
LinkedList,
DoublyLinkedListNode,
DoublyLinkedList,
} = require('@datastructures-js/linked-list');
// list node classes are also exported
const {
LinkedListNode,
DoublyLinkedListNode
} = require('@datastructures-js/linked-list');
```

@@ -71,7 +75,11 @@

import {
LinkedListNode,
LinkedList,
DoublyLinkedListNode,
DoublyLinkedList
} from '@datastructures-js/linked-list';
// list node classes are also exported
import {
LinkedListNode,
DoublyLinkedListNode
} from '@datastructures-js/linked-list';
```

@@ -564,2 +572,15 @@

#### new LinkedListNode(value, next)
<table>
<tr><th>params</th></tr>
<tr>
<td>
value: any
<br />
next: LinkedListNode
</td>
</tr>
</table>
#### .setValue(value)

@@ -600,2 +621,17 @@ sets the node's value.

#### new DoublyLinkedListNode(value, prev, next)
<table>
<tr><th>params</th></tr>
<tr>
<td>
value: any
<br />
prev: DoublyLinkedListNode
<br />
next: DoublyLinkedListNode
</td>
</tr>
</table>
#### .setValue(value)

@@ -602,0 +638,0 @@ sets the node's value.

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