New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/promise-poller

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/promise-poller - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

20

promise-poller/index.d.ts

@@ -32,7 +32,7 @@ // Type definitions for promise-poller 1.7

*/
interval?: number;
interval?: number | undefined;
/**
* For each poll attempt, reject after this timeout has passed
*/
timeout?: number;
timeout?: number | undefined;
/**

@@ -42,3 +42,3 @@ * Timeout in ms to reject taskFn's promise regardless of retries -- A

*/
masterTimeout?: number;
masterTimeout?: number | undefined;
/**

@@ -48,3 +48,3 @@ * Number of times to attempt taskFn.

*/
retries?: number;
retries?: number | undefined;
/**

@@ -96,3 +96,3 @@ * If the poll attempt failed, and you want to abort further polling, return

*/
strategy?: 'fixed-interval' | 'linear-backoff' | 'exponential-backoff';
strategy?: 'fixed-interval' | 'linear-backoff' | 'exponential-backoff' | undefined;
/**

@@ -103,3 +103,3 @@ * `strategy: 'linear-backoff'` --

*/
start?: number;
start?: number | undefined;
/**

@@ -109,3 +109,3 @@ * `strategy: 'linear-backoff'` --

*/
increment?: number;
increment?: number | undefined;
/**

@@ -116,3 +116,3 @@ * `strategy: 'exponential-backoff'` --

*/
min?: number;
min?: number | undefined;
/**

@@ -123,3 +123,3 @@ * `strategy: 'exponential-backoff'` --

*/
max?: number;
max?: number | undefined;
/**

@@ -152,3 +152,3 @@ * ## Progress notification

*/
name?: string;
name?: string | undefined;
}
{
"name": "@types/promise-poller",
"version": "1.7.0",
"version": "1.7.1",
"description": "TypeScript definitions for promise-poller",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-poller",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

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

@@ -23,4 +24,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "92cd94d81fe65f4748091229c2d6a0ffb2d2157538f37cbc7642de64fd64f6d0",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "67aa5b5ed1f7c730264546bac5092cad4d919ee94071b3c0a91a5b3826d7100d",
"typeScriptVersion": "3.6"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-poller
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-poller.
Additional Details
* Last updated: Mon, 23 Sep 2019 22:15:09 GMT
### Additional Details
* Last updated: Thu, 08 Jul 2021 20:19:54 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Emily Marigold Klassen <https://github.com/forivall>.
These definitions were written by [Emily Marigold Klassen](https://github.com/forivall).

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