Comparing version 1.0.1 to 1.0.2
@@ -42,3 +42,7 @@ | ||
{ | ||
return !this.left.ended || !this.right.ended || this.matchIdx < this.matches.length; | ||
// The "!!this.match" condition was added as a workaround to race | ||
// conditions and/or duplicate "end" events that may lead to premature | ||
// cleanups of the "this.matches" array. | ||
// See https://github.com/joachimvh/asyncjoin/issues/7 | ||
return !this.left.ended || !this.right.ended || (!!this.matches && this.matchIdx < this.matches.length); | ||
} | ||
@@ -45,0 +49,0 @@ |
{ | ||
"name": "asyncjoin", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Join library for asynciterator", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
11933
321