Socket
Socket
Sign inDemoInstall

@types/async-retry

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/async-retry - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

13

async-retry/index.d.ts

@@ -1,7 +0,11 @@

// Type definitions for async-retry 1.3
// Type definitions for async-retry 1.4
// Project: https://github.com/zeit/async-retry#readme
// Definitions by: Albert Wu <https://github.com/albertywu>
// Pablo Rodríguez <https://github.com/MeLlamoPablo>
// Rafał Sawicki <https://github.com/rafsawicki>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { OperationOptions } from 'retry';
declare function AsyncRetry<A>(

@@ -13,8 +17,3 @@ fn: AsyncRetry.RetryFunction<A>,

declare namespace AsyncRetry {
interface Options {
retries?: number;
factor?: number;
minTimeout?: number;
maxTimeout?: number;
randomize?: boolean;
interface Options extends OperationOptions {
onRetry?: (e: Error, attempt: number) => any;

@@ -21,0 +20,0 @@ }

{
"name": "@types/async-retry",
"version": "1.3.0",
"version": "1.4.0",
"description": "TypeScript definitions for async-retry",

@@ -16,2 +16,7 @@ "license": "MIT",

"githubUsername": "MeLlamoPablo"
},
{
"name": "Rafał Sawicki",
"url": "https://github.com/rafsawicki",
"githubUsername": "rafsawicki"
}

@@ -27,5 +32,7 @@ ],

"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "d55317654520de31dcf21096a56fe384ef0cc9de05e712b09dc260869ee720d4",
"typeScriptVersion": "2.0"
"dependencies": {
"@types/retry": "*"
},
"typesPublisherContentHash": "ff5dc461aee5026c01b1d5f2463ffda4aa4a62a8de030b4654a08495ebbf6b87",
"typeScriptVersion": "2.3"
}

@@ -11,7 +11,7 @@ # Installation

Additional Details
* Last updated: Mon, 01 Apr 2019 20:39:57 GMT
* Dependencies: none
* Last updated: Thu, 04 Apr 2019 18:13:35 GMT
* Dependencies: @types/retry
* Global values: none
# Credits
These definitions were written by Albert Wu <https://github.com/albertywu>, Pablo Rodríguez <https://github.com/MeLlamoPablo>.
These definitions were written by Albert Wu <https://github.com/albertywu>, Pablo Rodríguez <https://github.com/MeLlamoPablo>, Rafał Sawicki <https://github.com/rafsawicki>.
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