async-iter-stream
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -37,2 +37,5 @@ 'use strict'; | ||
exports.wrap = function (stream) { | ||
if (!stream._readableState) { | ||
stream = new stream.Readable().wrap(stream); | ||
} | ||
if (typeof stream[Symbol.asyncIterator] !== 'function') { | ||
@@ -39,0 +42,0 @@ stream[Symbol.asyncIterator] = function () { |
{ | ||
"name": "async-iter-stream", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -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
4127
140