Comparing version 0.21.0-beta2 to 0.21.0
@@ -26,2 +26,6 @@ /** | ||
this.clear(); | ||
// Methods | ||
// Statics | ||
} | ||
@@ -28,0 +32,0 @@ |
# Changelog | ||
## 0.21.0 (provisional) | ||
## 0.21.0 | ||
* Library is now fully typed. | ||
* Adding `CircularBuffer`. | ||
@@ -6,0 +7,0 @@ * Adding `#.toArray` to `Heap`. |
@@ -11,2 +11,4 @@ /** | ||
// TODO: maybe reverse iterators, since value is key etc. | ||
/** | ||
@@ -13,0 +15,0 @@ * IncrementalMap. |
@@ -7,2 +7,32 @@ /** | ||
*/ | ||
import * as set from './set'; | ||
export {default as BiMap, InverseMap} from './bi-map'; | ||
export {default as BitSet} from './bit-set'; | ||
export {default as BitVector} from './bit-vector'; | ||
export {default as BKTree} from './bk-tree'; | ||
export {default as BloomFilter} from './bloom-filter'; | ||
export {default as CircularBuffer} from './circular-buffer'; | ||
export {default as FibonacciHeap, MinFibonacciHeap, MaxFibonacciHeap} from './fibonacci-heap'; | ||
export {default as FiniteStack} from './finite-stack'; | ||
export {default as FuzzyMap} from './fuzzy-map'; | ||
export {default as FuzzyMultiMap} from './fuzzy-multi-map'; | ||
export {default as HashedArrayTree} from './hashed-array-tree'; | ||
export {default as Heap, MinHeap, MaxHeap} from './heap'; | ||
export {default as IncrementalMap} from './incremental-map'; | ||
export {default as InvertedIndex} from './inverted-index'; | ||
export {default as LinkedList} from './linked-list'; | ||
export {default as MultiMap} from './multi-map'; | ||
export {default as MultiSet} from './multi-set'; | ||
export {default as Queue} from './queue'; | ||
export {set}; | ||
export {default as SparseSet} from './sparse-set'; | ||
export {default as Stack} from './stack'; | ||
export {default as StaticDisjointSet} from './static-disjoint-set'; | ||
export {default as StaticIntervalTree} from './static-interval-tree'; | ||
export {default as SuffixArray, GeneralizedSuffixArray} from './suffix-array'; | ||
export {default as SymSpell} from './symspell'; | ||
export {default as Trie} from './trie'; | ||
export {default as TrieMap} from './trie-map'; | ||
export {default as Vector, Uint8Vector, Uint8ClampedVector, Int8Vector, Uint16Vector, Int16Vector, Uint32Vector, Int32Vector, Float32Vector, Float64Array} from './vector'; | ||
export {default as VPTree} from './vp-tree'; |
{ | ||
"name": "mnemonist", | ||
"version": "0.21.0-beta2", | ||
"version": "0.21.0", | ||
"description": "Curated collection of data structures for the JavaScript language.", | ||
@@ -9,3 +9,3 @@ "scripts": { | ||
"test": "mocha", | ||
"test:types": "tsc --lib es2015,dom ./test/types.ts" | ||
"test:types": "tsc --lib es2015,dom --noEmit ./test/types.ts" | ||
}, | ||
@@ -70,7 +70,7 @@ "files": [ | ||
"damerau-levenshtein": "^1.0.3", | ||
"eslint": "^4.1.1", | ||
"eslint": "^4.19.0", | ||
"leven": "^2.0.0", | ||
"lodash": "^4.17.4", | ||
"lodash": "^4.17.5", | ||
"matcha": "^0.7.0", | ||
"mocha": "^3.1.2", | ||
"mocha": "^5.0.4", | ||
"pandemonium": "^1.2.1", | ||
@@ -77,0 +77,0 @@ "seedrandom": "^2.4.3", |
@@ -14,2 +14,3 @@ [![Build Status](https://travis-ci.org/Yomguithereal/mnemonist.svg)](https://travis-ci.org/Yomguithereal/mnemonist) | ||
* Simple & straightforward to use and consistent with JavaScript standard objects' API. | ||
* Completely typed and comfortably usable with Typescript. | ||
@@ -16,0 +17,0 @@ ## Installation |
@@ -15,3 +15,3 @@ /** | ||
peek(): T | undefined; | ||
forEach(callback: (item: T, index: number, stack: Stack<T>) => void, scope?: any): void; | ||
forEach(callback: (item: T, index: number, stack: this) => void, scope?: any): void; | ||
toArray(): Array<T>; | ||
@@ -26,4 +26,4 @@ values(): Iterator<T>; | ||
// Statics | ||
static from<I>(iterable: Iterable<I>): Stack<I>; | ||
static from<I>(iterable: Iterable<I> | {[key: string] : I}): Stack<I>; | ||
static of<I>(...items: Array<I>): Stack<I>; | ||
} |
@@ -360,3 +360,3 @@ /** | ||
Vector.Uint8Vector = subClass(Uint8Array); | ||
Vector.Uint8Vector = subClass(Uint8ClampedArray); | ||
Vector.Uint8ClampedVector = subClass(Uint8ClampedArray); | ||
Vector.Int16Vector = subClass(Int16Array); | ||
@@ -363,0 +363,0 @@ Vector.Uint16Vector = subClass(Uint16Array); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
247616
74
9088
105