Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "it-take", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Stop iteration after n items have been received", | ||
@@ -138,5 +138,5 @@ "author": "Alex Potsides <alex@achingbrain.net>", | ||
"devDependencies": { | ||
"aegir": "^37.5.0", | ||
"aegir": "^38.1.7", | ||
"it-all": "^2.0.0" | ||
} | ||
} |
@@ -5,3 +5,3 @@ | ||
*/ | ||
export default async function * take <T> (source: AsyncIterable<T>|Iterable<T>, limit: number): AsyncGenerator<T, void, undefined> { | ||
export default async function * take <T> (source: AsyncIterable<T> | Iterable<T>, limit: number): AsyncGenerator<T, void, undefined> { | ||
let items = 0 | ||
@@ -8,0 +8,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6537
0