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.0.5 to 1.0.6

CHANGELOG.md

45

join/HashJoin.js

@@ -69,30 +69,29 @@

if (this.ended || !this.readable)
return null;
while(true) {
if (this.ended || !this.readable)
return null;
while (this.matchIdx < this.matches.length)
{
let item = this.matches[this.matchIdx++];
let result = this.funJoin(item, this.match);
if (result !== null)
return result;
}
while (this.matchIdx < this.matches.length)
{
let item = this.matches[this.matchIdx++];
let result = this.funJoin(item, this.match);
if (result !== null)
return result;
}
if (!this.hasResults())
this._end();
if (!this.hasResults())
this._end();
this.match = this.right.read();
this.match = this.right.read();
if (this.match === null)
{
this.readable = false;
return null;
if (this.match === null)
{
this.readable = false;
return null;
}
let hash = this.funHash(this.match);
this.matches = this.leftMap.get(hash) || [];
this.matchIdx = 0;
}
let hash = this.funHash(this.match);
this.matches = this.leftMap.get(hash) || [];
this.matchIdx = 0;
// array is filled again so recursive call can have results
return this.read();
}

@@ -99,0 +98,0 @@

{
"name": "asyncjoin",
"version": "1.0.5",
"version": "1.0.6",
"description": "Join library for asynciterator",

@@ -8,3 +8,3 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/joachimvh/asyncjoin.js"
"url": "https://github.com/comunica/asyncjoin"
},

@@ -17,6 +17,8 @@ "dependencies": {

"mocha": "^5.2.0",
"pre-commit": "^1.2.2"
"pre-commit": "^1.2.2",
"manual-git-changelog": "^1.0.0"
},
"scripts": {
"test": "mocha test"
"test": "mocha test",
"version": "manual-git-changelog onversion"
},

@@ -23,0 +25,0 @@ "pre-commit": [

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