@libp2p/peer-collections
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -0,2 +1,5 @@ | ||
/** | ||
* Calls the passed map function on every entry of the passed iterable iterator | ||
*/ | ||
export declare function mapIterable<T, R>(iter: IterableIterator<T>, map: (val: T) => R): IterableIterator<R>; | ||
//# sourceMappingURL=util.d.ts.map |
@@ -0,1 +1,4 @@ | ||
/** | ||
* Calls the passed map function on every entry of the passed iterable iterator | ||
*/ | ||
export function mapIterable(iter, map) { | ||
@@ -2,0 +5,0 @@ const iterator = { |
{ | ||
"name": "@libp2p/peer-collections", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Stores values against a peer id", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT", |
/** | ||
* Calls the passed map function on every entry of the passed iterable iterator | ||
*/ | ||
export function mapIterable <T, R> (iter: IterableIterator<T>, map: (val: T) => R): IterableIterator<R> { | ||
@@ -3,0 +6,0 @@ const iterator: IterableIterator<R> = { |
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
60523
832