consumable-stream
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -22,11 +22,2 @@ class ConsumableStream { | ||
createConsumable(timeout) { | ||
let asyncIterator = this.createConsumer(timeout); | ||
return { | ||
[Symbol.asyncIterator]: () => { | ||
return asyncIterator; | ||
} | ||
} | ||
} | ||
[Symbol.asyncIterator]() { | ||
@@ -33,0 +24,0 @@ return this.createConsumer(); |
{ | ||
"name": "consumable-stream", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "A readable async stream which can be iterated over using a for-await-of loop.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
7167
128