Comparing version 0.36.1 to 0.37.0
@@ -176,3 +176,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a bimap. | ||
@@ -179,0 +179,0 @@ * |
@@ -160,3 +160,3 @@ /* eslint no-constant-condition: 0 */ | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a tree. | ||
@@ -163,0 +163,0 @@ * |
@@ -160,3 +160,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a filter. | ||
@@ -163,0 +163,0 @@ * |
# Changelog | ||
## 0.37.0 | ||
* Adding `DefaultWeakMap` (@yoursunny). | ||
## 0.36.1 | ||
@@ -4,0 +8,0 @@ |
@@ -92,3 +92,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a circular buffer. | ||
@@ -95,0 +95,0 @@ * |
@@ -502,3 +502,3 @@ /* eslint no-constant-condition: 0 */ | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a CritBitTreeMap. | ||
@@ -505,0 +505,0 @@ * |
@@ -11,3 +11,3 @@ /** | ||
// Constructor | ||
constructor(factory: (key?: K, index?: number) => V); | ||
constructor(factory: (key: K, index: number) => V); | ||
@@ -14,0 +14,0 @@ // Methods |
@@ -17,3 +17,3 @@ /** | ||
if (typeof factory !== 'function') | ||
throw new Error('mnemonist/FuzzyMultiMap.constructor: expecting a function.'); | ||
throw new Error('mnemonist/DefaultMap.constructor: expecting a function.'); | ||
@@ -20,0 +20,0 @@ this.items = new Map(); |
@@ -288,3 +288,3 @@ /* eslint no-constant-condition: 0 */ | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a heap. | ||
@@ -291,0 +291,0 @@ * |
@@ -414,3 +414,3 @@ /* eslint no-constant-condition: 0 */ | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a FixedCritBitTreeMap. | ||
@@ -417,0 +417,0 @@ * |
@@ -312,3 +312,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a deque. | ||
@@ -315,0 +315,0 @@ * |
@@ -202,3 +202,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a stack. | ||
@@ -205,0 +205,0 @@ * |
@@ -161,3 +161,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -164,0 +164,0 @@ * |
@@ -164,3 +164,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -167,0 +167,0 @@ * |
@@ -515,3 +515,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a heap. | ||
@@ -518,0 +518,0 @@ * |
@@ -16,2 +16,3 @@ /** | ||
export {default as DefaultMap} from './default-map'; | ||
export {default as DefaultWeakMap} from './default-weak-map'; | ||
export {default as FixedDeque} from './fixed-deque'; | ||
@@ -18,0 +19,0 @@ export {default as FibonacciHeap, MinFibonacciHeap, MaxFibonacciHeap} from './fibonacci-heap'; |
@@ -20,2 +20,3 @@ /** | ||
DefaultMap: require('./default-map.js'), | ||
DefaultWeakMap: require('./default-weak-map.js'), | ||
FixedDeque: require('./fixed-deque.js'), | ||
@@ -22,0 +23,0 @@ StaticDisjointSet: require('./static-disjoint-set.js'), |
@@ -229,3 +229,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a InvertedIndex. | ||
@@ -232,0 +232,0 @@ * |
@@ -409,3 +409,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -412,0 +412,0 @@ * |
@@ -242,3 +242,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a list. | ||
@@ -245,0 +245,0 @@ * |
@@ -399,3 +399,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -402,0 +402,0 @@ * |
@@ -224,3 +224,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -227,0 +227,0 @@ * |
@@ -388,3 +388,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -391,0 +391,0 @@ * |
@@ -379,3 +379,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -382,0 +382,0 @@ * |
{ | ||
"name": "mnemonist", | ||
"version": "0.36.1", | ||
"version": "0.37.0", | ||
"description": "Curated collection of data structures for the JavaScript language.", | ||
@@ -81,11 +81,11 @@ "scripts": { | ||
"damerau-levenshtein": "^1.0.6", | ||
"eslint": "^6.8.0", | ||
"eslint": "^7.3.0", | ||
"leven": "^3.1.0", | ||
"lodash": "^4.17.15", | ||
"matcha": "^0.7.0", | ||
"mocha": "^7.1.1", | ||
"mocha": "^8.0.1", | ||
"pandemonium": "^1.5.0", | ||
"seedrandom": "^3.0.5", | ||
"static-kdtree": "^1.0.2", | ||
"typescript": "^3.8.3" | ||
"typescript": "^3.9.5" | ||
}, | ||
@@ -97,2 +97,3 @@ "eslintConfig": { | ||
"Map": true, | ||
"WeakMap": true, | ||
"Symbol": true, | ||
@@ -99,0 +100,0 @@ "ArrayBuffer": true, |
@@ -491,3 +491,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -494,0 +494,0 @@ * |
@@ -185,3 +185,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a queue. | ||
@@ -203,3 +203,3 @@ * | ||
/** | ||
* Static @.of function taking an abitrary number of arguments & converting it | ||
* Static @.of function taking an arbitrary number of arguments & converting it | ||
* into a queue. | ||
@@ -206,0 +206,0 @@ * |
@@ -83,2 +83,3 @@ [![Build Status](https://travis-ci.org/Yomguithereal/mnemonist.svg)](https://travis-ci.org/Yomguithereal/mnemonist) | ||
* [DefaultMap](https://yomguithereal.github.io/mnemonist/default-map) | ||
* [DefaultWeakMap](https://yomguithereal.github.io/mnemonist/default-weak-map) | ||
@@ -85,0 +86,0 @@ --- |
@@ -180,3 +180,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a stack. | ||
@@ -198,3 +198,3 @@ * | ||
/** | ||
* Static @.of function taking an abitrary number of arguments & converting it | ||
* Static @.of function taking an arbitrary number of arguments & converting it | ||
* into a stack. | ||
@@ -201,0 +201,0 @@ * |
@@ -371,3 +371,3 @@ /* | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -374,0 +374,0 @@ * |
@@ -528,3 +528,3 @@ /* eslint no-loop-func: 0 */ | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a structure. | ||
@@ -531,0 +531,0 @@ * |
@@ -431,3 +431,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a trie. | ||
@@ -434,0 +434,0 @@ * |
@@ -147,3 +147,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a trie. | ||
@@ -150,0 +150,0 @@ * |
@@ -311,3 +311,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a vector. | ||
@@ -314,0 +314,0 @@ * |
@@ -315,3 +315,3 @@ /** | ||
/** | ||
* Static @.from function taking an abitrary iterable & converting it into | ||
* Static @.from function taking an arbitrary iterable & converting it into | ||
* a tree. | ||
@@ -318,0 +318,0 @@ * |
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
364143
99
13071
113