collections
Advanced tools
Comparing version 5.1.3 to 5.1.4
@@ -0,1 +1,4 @@ | ||
## v5.1.4 | ||
- fix Constructor Map requires 'new' in MultiMap | ||
## v5.1.3 | ||
@@ -2,0 +5,0 @@ - Fix Sorted-Set.reduceRight #206 |
@@ -5,2 +5,3 @@ "use strict"; | ||
module.exports = MultiMap; | ||
@@ -12,7 +13,7 @@ function MultiMap(values, bucket, equals, hash) { | ||
this.bucket = bucket || this.bucket; | ||
Map.call(this, values, equals, hash, function getDefault(key) { | ||
new (Function.prototype.bind.call(Map, this, values, equals, hash, function getDefault(key) { | ||
var bucket = this.bucket(key); | ||
Map.prototype.set.call(this, key, bucket); | ||
return bucket; | ||
}); | ||
})); | ||
} | ||
@@ -19,0 +20,0 @@ |
{ | ||
"name": "collections", | ||
"version": "5.1.3", | ||
"version": "5.1.4", | ||
"description": "data structures with idiomatic JavaScript collection interfaces", | ||
@@ -5,0 +5,0 @@ "homepage": "http://www.collectionsjs.com", |
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
295833