Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/async

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/async - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

28

async/index.d.ts

@@ -225,10 +225,22 @@ // Type definitions for Async 3.0

export function retry<T, E = Error>(
opts: number | {
times: number,
interval: number | ((retryCount: number) => number),
errorFilter?: (error: Error) => boolean
},
task: (callback: AsyncResultCallback<T, E>, results: any) => void,
callback: AsyncResultCallback<any, E>
): void;
opts?:
| number
| {
times?: number;
interval?: number | ((retryCount: number) => number);
errorFilter?: (error: Error) => boolean;
},
task?: (callback: AsyncResultCallback<T, E>, results: any) => void,
): Promise<void>;
export function retry<T, E = Error>(
opts?:
| number
| {
times?: number;
interval?: number | ((retryCount: number) => number);
errorFilter?: (error: Error) => boolean;
},
task?: (callback: AsyncResultCallback<T, E>, results: any) => void,
callback?: AsyncResultCallback<any, E>,
): void;

@@ -235,0 +247,0 @@ export function retryable<T, E = Error>(opts: number | {times: number, interval: number}, task: AsyncFunction<T, E>): AsyncFunction<T, E>;

{
"name": "@types/async",
"version": "3.0.6",
"version": "3.0.7",
"description": "TypeScript definitions for Async",

@@ -57,4 +57,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "8a503bc4c6f647228e53abfa3c00380158756b468aa22d95fefbe85cecc92849",
"typesPublisherContentHash": "e386977967a3729e86c3819ac1de35586c290b9eb8fda4831e1458c47c33a6b8",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 27 Jan 2020 22:31:31 GMT
* Last updated: Tue, 28 Jan 2020 00:33:06 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `async`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc