Socket
Socket
Sign inDemoInstall

collections

Package Overview
Dependencies
Maintainers
6
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collections - npm Package Compare versions

Comparing version 5.1.3 to 5.1.4

3

CHANGES.md

@@ -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

multi-map.js

@@ -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",

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