Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asyncjoin

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asyncjoin - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

17

join/SymmetricHashJoin.js

@@ -103,8 +103,15 @@

let hash = this.funHash(item);
let map = this.usedLeft ? this.leftMap : this.rightMap;
if (!map.has(hash))
map.set(hash, []);
let arr = map.get(hash);
arr.push(item);
if (this.usedLeft && this.right.done) {
this.leftMap = null;
} else if (this.left.done) {
this.rightMap = null;
} else {
let map = this.usedLeft ? this.leftMap : this.rightMap;
if (!map.has(hash))
map.set(hash, []);
let arr = map.get(hash);
arr.push(item);
}
this.match = item;

@@ -111,0 +118,0 @@ this.matches = (this.usedLeft ? this.rightMap : this.leftMap).get(hash) || [];

{
"name": "asyncjoin",
"version": "1.2.0",
"version": "1.2.1",
"description": "Join library for asynciterator",

@@ -5,0 +5,0 @@ "license": "MIT",

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