New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dbl-linked-list-ds

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dbl-linked-list-ds - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

2

package.json

@@ -33,3 +33,3 @@ {

},
"version": "1.1.0",
"version": "2.0.0",
"devDependencies": {

@@ -36,0 +36,0 @@ "@types/mocha": "^5.2.5",

@@ -13,4 +13,5 @@ import { LinkedListNode } from './LinkedListNode';

remove(n: LinkedListNode<T>): void;
shift(): T | undefined;
tail(): Node<T>;
}
export {};

@@ -40,3 +40,3 @@ "use strict";

pop() {
const h = this.head();
const h = this.tail();
if (h !== undefined) {

@@ -68,2 +68,9 @@ this.remove(h);

}
shift() {
const h = this.head();
if (h !== undefined) {
this.remove(h);
return h.value;
}
}
tail() {

@@ -70,0 +77,0 @@ return this.tailN;

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