Comparing version 5.4.0 to 5.5.0
@@ -47,2 +47,4 @@ export interface Options { | ||
type MaybePromise<T> = T | Promise<T>; | ||
/** | ||
@@ -57,3 +59,3 @@ Function which is called for every item in `input`. Expected to return a `Promise` or value. | ||
index: number | ||
) => NewElement | Promise<NewElement>; | ||
) => MaybePromise<NewElement | typeof pMapSkip>; | ||
@@ -60,0 +62,0 @@ /** |
{ | ||
"name": "p-map", | ||
"version": "5.4.0", | ||
"version": "5.5.0", | ||
"description": "Map over promises concurrently", | ||
@@ -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
16738
261