+3
-3
@@ -36,3 +36,3 @@ export type LimitFunction = { | ||
| map: <Input, ReturnType> ( | ||
| array: Input[], | ||
| array: readonly Input[], | ||
| mapperFunction: (input: Input, index: number) => PromiseLike<ReturnType> | ReturnType | ||
@@ -94,4 +94,4 @@ ) => Promise<ReturnType[]>; | ||
| export function limitFunction<Arguments extends unknown[], ReturnType>( | ||
| function_: (...arguments_: Arguments) => PromiseLike<ReturnType> | ReturnType, | ||
| option: Options | ||
| function_: (...arguments_: Arguments) => PromiseLike<ReturnType>, | ||
| options: Options | ||
| ): (...arguments_: Arguments) => Promise<ReturnType>; |
+1
-1
| { | ||
| "name": "p-limit", | ||
| "version": "7.1.0", | ||
| "version": "7.1.1", | ||
| "description": "Run multiple promise-returning & async functions with limited concurrency", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
11713
-0.03%