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

standard-data-structures

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

standard-data-structures - npm Package Compare versions

Comparing version 1.7.1 to 2.0.0

2

docs/assets/js/search.js
var typedoc = typedoc || {};
typedoc.search = typedoc.search || {};
typedoc.search.data = {"kinds":{"128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","262144":"Accessor"},"rows":[{"id":0,"kind":128,"name":"Either","url":"classes/either.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":1,"kind":2048,"name":"left","url":"classes/either.html#left","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":2,"kind":2048,"name":"neither","url":"classes/either.html#neither","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Either"},{"id":3,"kind":2048,"name":"right","url":"classes/either.html#right","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":4,"kind":2048,"name":"try","url":"classes/either.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":5,"kind":2048,"name":"biChain","url":"classes/either.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":6,"kind":2048,"name":"biMap","url":"classes/either.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":7,"kind":2048,"name":"chain","url":"classes/either.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":8,"kind":2048,"name":"chainL","url":"classes/either.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":9,"kind":2048,"name":"chainR","url":"classes/either.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":10,"kind":2048,"name":"fold","url":"classes/either.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":11,"kind":2048,"name":"getLeftOrElse","url":"classes/either.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":12,"kind":2048,"name":"getRightOrElse","url":"classes/either.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":13,"kind":2048,"name":"map","url":"classes/either.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":14,"kind":2048,"name":"mapL","url":"classes/either.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":15,"kind":2048,"name":"mapR","url":"classes/either.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":16,"kind":256,"name":"ICollection","url":"interfaces/icollection.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":17,"kind":1024,"name":"asArray","url":"interfaces/icollection.html#asarray","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ICollection"},{"id":18,"kind":1024,"name":"isEmpty","url":"interfaces/icollection.html#isempty","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ICollection"},{"id":19,"kind":2048,"name":"fold","url":"interfaces/icollection.html#fold","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":20,"kind":2048,"name":"map","url":"interfaces/icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":21,"kind":128,"name":"List","url":"classes/list.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":22,"kind":262144,"name":"empty","url":"classes/list.html#empty","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"List"},{"id":23,"kind":2048,"name":"of","url":"classes/list.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"List"},{"id":24,"kind":1024,"name":"head","url":"classes/list.html#head","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":25,"kind":1024,"name":"isEmpty","url":"classes/list.html#isempty","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":26,"kind":1024,"name":"tail","url":"classes/list.html#tail","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":27,"kind":2048,"name":"fold","url":"classes/list.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":28,"kind":2048,"name":"map","url":"classes/list.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":29,"kind":2048,"name":"prepend","url":"classes/list.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":30,"kind":2048,"name":"reduce","url":"classes/list.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":31,"kind":262144,"name":"asArray","url":"classes/list.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"List"},{"id":32,"kind":128,"name":"LinkedListNode","url":"classes/linkedlistnode.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":33,"kind":1024,"name":"left","url":"classes/linkedlistnode.html#left","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":34,"kind":1024,"name":"right","url":"classes/linkedlistnode.html#right","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":35,"kind":512,"name":"constructor","url":"classes/linkedlistnode.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LinkedListNode"},{"id":36,"kind":1024,"name":"value","url":"classes/linkedlistnode.html#value","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":37,"kind":128,"name":"DoublyLinkedList","url":"classes/doublylinkedlist.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":38,"kind":262144,"name":"asArray","url":"classes/doublylinkedlist.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":39,"kind":262144,"name":"head","url":"classes/doublylinkedlist.html#head","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":40,"kind":262144,"name":"isEmpty","url":"classes/doublylinkedlist.html#isempty","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":41,"kind":262144,"name":"tail","url":"classes/doublylinkedlist.html#tail","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":42,"kind":2048,"name":"of","url":"classes/doublylinkedlist.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"DoublyLinkedList"},{"id":43,"kind":1024,"name":"length","url":"classes/doublylinkedlist.html#length","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":44,"kind":2048,"name":"add","url":"classes/doublylinkedlist.html#add","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":45,"kind":2048,"name":"empty","url":"classes/doublylinkedlist.html#empty","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":46,"kind":2048,"name":"fold","url":"classes/doublylinkedlist.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":47,"kind":2048,"name":"isConnected","url":"classes/doublylinkedlist.html#isconnected","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":48,"kind":2048,"name":"map","url":"classes/doublylinkedlist.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":49,"kind":2048,"name":"pop","url":"classes/doublylinkedlist.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":50,"kind":2048,"name":"remove","url":"classes/doublylinkedlist.html#remove","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":51,"kind":2048,"name":"shift","url":"classes/doublylinkedlist.html#shift","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":52,"kind":128,"name":"MaxHeap","url":"classes/maxheap.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":53,"kind":2048,"name":"of","url":"classes/maxheap.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"MaxHeap"},{"id":54,"kind":262144,"name":"numbers","url":"classes/maxheap.html#numbers","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"MaxHeap"},{"id":55,"kind":262144,"name":"length","url":"classes/maxheap.html#length","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":56,"kind":262144,"name":"peek","url":"classes/maxheap.html#peek","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":57,"kind":2048,"name":"pop","url":"classes/maxheap.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":58,"kind":2048,"name":"push","url":"classes/maxheap.html#push","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"}]};
typedoc.search.data = {"kinds":{"128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","262144":"Accessor"},"rows":[{"id":0,"kind":128,"name":"Either","url":"classes/either.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":1,"kind":2048,"name":"left","url":"classes/either.html#left","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":2,"kind":2048,"name":"neither","url":"classes/either.html#neither","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Either"},{"id":3,"kind":2048,"name":"right","url":"classes/either.html#right","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":4,"kind":2048,"name":"try","url":"classes/either.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":5,"kind":2048,"name":"biChain","url":"classes/either.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":6,"kind":2048,"name":"biMap","url":"classes/either.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":7,"kind":2048,"name":"chain","url":"classes/either.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":8,"kind":2048,"name":"chainL","url":"classes/either.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":9,"kind":2048,"name":"chainR","url":"classes/either.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":10,"kind":2048,"name":"fold","url":"classes/either.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":11,"kind":2048,"name":"getLeftOrElse","url":"classes/either.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":12,"kind":2048,"name":"getRightOrElse","url":"classes/either.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":13,"kind":2048,"name":"map","url":"classes/either.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":14,"kind":2048,"name":"mapL","url":"classes/either.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":15,"kind":2048,"name":"mapR","url":"classes/either.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":16,"kind":256,"name":"ICollection","url":"interfaces/icollection.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":17,"kind":1024,"name":"asArray","url":"interfaces/icollection.html#asarray","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ICollection"},{"id":18,"kind":1024,"name":"isEmpty","url":"interfaces/icollection.html#isempty","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ICollection"},{"id":19,"kind":2048,"name":"fold","url":"interfaces/icollection.html#fold","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":20,"kind":2048,"name":"map","url":"interfaces/icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":21,"kind":128,"name":"List","url":"classes/list.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":22,"kind":2048,"name":"empty","url":"classes/list.html#empty","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"List"},{"id":23,"kind":2048,"name":"of","url":"classes/list.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"List"},{"id":24,"kind":1024,"name":"head","url":"classes/list.html#head","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":25,"kind":1024,"name":"isEmpty","url":"classes/list.html#isempty","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":26,"kind":1024,"name":"tail","url":"classes/list.html#tail","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":27,"kind":2048,"name":"fold","url":"classes/list.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":28,"kind":2048,"name":"map","url":"classes/list.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":29,"kind":2048,"name":"prepend","url":"classes/list.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":30,"kind":2048,"name":"reduce","url":"classes/list.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":31,"kind":262144,"name":"asArray","url":"classes/list.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"List"},{"id":32,"kind":128,"name":"LinkedListNode","url":"classes/linkedlistnode.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":33,"kind":1024,"name":"left","url":"classes/linkedlistnode.html#left","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":34,"kind":1024,"name":"right","url":"classes/linkedlistnode.html#right","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":35,"kind":512,"name":"constructor","url":"classes/linkedlistnode.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LinkedListNode"},{"id":36,"kind":1024,"name":"value","url":"classes/linkedlistnode.html#value","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":37,"kind":128,"name":"DoublyLinkedList","url":"classes/doublylinkedlist.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":38,"kind":262144,"name":"asArray","url":"classes/doublylinkedlist.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":39,"kind":262144,"name":"head","url":"classes/doublylinkedlist.html#head","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":40,"kind":262144,"name":"isEmpty","url":"classes/doublylinkedlist.html#isempty","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":41,"kind":262144,"name":"tail","url":"classes/doublylinkedlist.html#tail","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":42,"kind":2048,"name":"of","url":"classes/doublylinkedlist.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"DoublyLinkedList"},{"id":43,"kind":1024,"name":"length","url":"classes/doublylinkedlist.html#length","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":44,"kind":2048,"name":"add","url":"classes/doublylinkedlist.html#add","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":45,"kind":2048,"name":"empty","url":"classes/doublylinkedlist.html#empty","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":46,"kind":2048,"name":"fold","url":"classes/doublylinkedlist.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":47,"kind":2048,"name":"isConnected","url":"classes/doublylinkedlist.html#isconnected","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":48,"kind":2048,"name":"map","url":"classes/doublylinkedlist.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":49,"kind":2048,"name":"pop","url":"classes/doublylinkedlist.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":50,"kind":2048,"name":"remove","url":"classes/doublylinkedlist.html#remove","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":51,"kind":2048,"name":"shift","url":"classes/doublylinkedlist.html#shift","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":52,"kind":128,"name":"MaxHeap","url":"classes/maxheap.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":53,"kind":2048,"name":"of","url":"classes/maxheap.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"MaxHeap"},{"id":54,"kind":262144,"name":"numbers","url":"classes/maxheap.html#numbers","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"MaxHeap"},{"id":55,"kind":262144,"name":"length","url":"classes/maxheap.html#length","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":56,"kind":262144,"name":"peek","url":"classes/maxheap.html#peek","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":57,"kind":2048,"name":"pop","url":"classes/maxheap.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":58,"kind":2048,"name":"push","url":"classes/maxheap.html#push","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"}]};

@@ -30,3 +30,3 @@ {

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

@@ -33,0 +33,0 @@ "@tusharmathur/typedoc": "^1.0.0",

@@ -9,3 +9,3 @@ import { ICollection } from '../internals/iCollection';

*/
static readonly empty: List<never>;
static empty<A>(): List<A>;
/**

@@ -12,0 +12,0 @@ * Creates a new [[List]] with the provided elements.

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

*/
static get empty() {
static empty() {
return new Empty();

@@ -19,3 +19,3 @@ }

static of(...element) {
let result = List.empty;
let result = List.empty();
for (let i = element.length - 1; i >= 0; i--) {

@@ -43,3 +43,3 @@ result = result.prepend(element[i]);

let n = this;
let r = List.empty;
let r = List.empty();
while (!n.isEmpty) {

@@ -46,0 +46,0 @@ r = r.prepend(ab(n.head));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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