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.4.1 to 1.4.2

12

async-retry/index.d.ts

@@ -12,14 +12,14 @@ // Type definitions for async-retry 1.4

declare function AsyncRetry<A>(
fn: AsyncRetry.RetryFunction<A>,
opts?: AsyncRetry.Options
fn: AsyncRetry.RetryFunction<A>,
opts?: AsyncRetry.Options
): Promise<A>;
declare namespace AsyncRetry {
interface Options extends OperationOptions {
onRetry?: (e: Error, attempt: number) => any;
}
interface Options extends OperationOptions {
onRetry?: (e: Error, attempt: number) => any;
}
type RetryFunction<A> = (bail: (e: Error) => void, attempt: number) => A|Promise<A>;
type RetryFunction<A> = (bail: (e: Error) => void, attempt: number) => A|Promise<A>;
}
export = AsyncRetry;
{
"name": "@types/async-retry",
"version": "1.4.1",
"version": "1.4.2",
"description": "TypeScript definitions for async-retry",

@@ -24,3 +24,3 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -35,4 +35,4 @@ "type": "git",

},
"typesPublisherContentHash": "d7e5bc61488deb831a5d9fbc2949d483aaa84c8e0aeffaff70aa21799dabeffd",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "2b0a268f3da0f54d1ee6b80b0d610b0e4c02a9c816ba7a3f94bb0a5faae4efe7",
"typeScriptVersion": "3.0"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for async-retry ( https://github.com/zeit/async-retry#readme ).
This package contains type definitions for async-retry (https://github.com/zeit/async-retry#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry.
Additional Details
* Last updated: Mon, 15 Apr 2019 21:06:44 GMT
* Dependencies: @types/retry
### Additional Details
* Last updated: Fri, 15 May 2020 04:08:47 GMT
* Dependencies: [@types/retry](https://npmjs.com/package/@types/retry)
* Global values: none
# Credits
These definitions were written by Albert Wu <https://github.com/albertywu>, Pablo Rodríguez <https://github.com/MeLlamoPablo>, Rafał Sawicki <https://github.com/rafsawicki>.
These definitions were written by [Albert Wu](https://github.com/albertywu), [Pablo Rodríguez](https://github.com/MeLlamoPablo), and [Rafał Sawicki](https://github.com/rafsawicki).

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