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 2.0.43 to 2.0.44

8

async/index.d.ts

@@ -5,2 +5,3 @@ // Type definitions for Async 2.0.1

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1

@@ -27,2 +28,7 @@ export as namespace async;

export type AsyncAutoTasks<R extends Dictionary<any>, E> = { [K in keyof R]: AsyncAutoTask<R[K], R, E> }
export type AsyncAutoTask<R1, R extends Dictionary<any>, E> = AsyncAutoTaskFunctionWithoutDependencies<R1, E> | (keyof R | AsyncAutoTaskFunction<R1, R, E>)[];
export interface AsyncAutoTaskFunctionWithoutDependencies<R1, E> { (cb: AsyncResultCallback<R1, E> | ErrorCallback<E>): void; }
export interface AsyncAutoTaskFunction<R1, R extends Dictionary<any>, E> { (results: R, cb: AsyncResultCallback<R1, E> | ErrorCallback<E>): void; }
export interface AsyncQueue<T> {

@@ -188,3 +194,3 @@ length(): number;

export function cargo<E>(worker : (tasks: any[], callback : ErrorCallback<E>) => void, payload? : number) : AsyncCargo;
export function auto<E>(tasks: any, concurrency?: number, callback?: AsyncResultCallback<any, E>): void;
export function auto<R extends Dictionary<any>, E>(tasks: AsyncAutoTasks<R, E>, concurrency?: number, callback?: AsyncResultCallback<R, E>): void;
export function autoInject<E>(tasks: any, callback?: AsyncResultCallback<any, E>): void;

@@ -191,0 +197,0 @@ export function retry<T, E>(opts: number, task: (callback : AsyncResultCallback<T, E>, results: any) => void, callback: AsyncResultCallback<any, E | Error>): void;

6

async/package.json
{
"name": "@types/async",
"version": "2.0.43",
"version": "2.0.44",
"description": "TypeScript definitions for Async",

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

"dependencies": {},
"typesPublisherContentHash": "8a84729011263c6c0886f51e030837680a871f962fe4a24f057026b9225b4354",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "7d7b6313bdd6453b8d77c55f846afc9cd58ede2e7346fd934bdde5a98e5d1de1",
"typeScriptVersion": "2.1"
}

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

Additional Details
* Last updated: Tue, 26 Sep 2017 18:17:11 GMT
* Last updated: Fri, 06 Oct 2017 18:28:27 GMT
* Dependencies: none

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

Sorry, the diff of this file is not supported yet

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