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

polly-js

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polly-js - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

11

d.ts/polly-js.d.ts
declare interface AsyncRetryable {
executeForPromise(fn: Function): any
executeForNode(fn: Function): any
executeForPromise<T>(fn: (any) => Promise<T>): Promise<T>
executeForNode(fn: (err?: object, data?: any) => any, cb?: (err?: object, data?: any) => any): void
}

@@ -11,5 +11,6 @@

declare interface Polly {
handle(fn: Function): Polly
retry(): Retryable
waitAndRetry(delays:any): AsyncRetryable
handle(fn: (err: any) => boolean): Polly
retry(numRetries: number): Retryable
waitAndRetry(delays: number[]): AsyncRetryable
waitAndRetry(numRetries : number): AsyncRetryable
}

@@ -16,0 +17,0 @@

{
"name": "polly-js",
"version": "1.4.3",
"version": "1.4.4",
"description": "Transient exception handling",

@@ -32,11 +32,11 @@ "main": "src/polly.js",

"devDependencies": {
"chai": "3.3.0",
"chai-as-promised": "6.0.0",
"chai": "4.1.2",
"chai-as-promised": "7.1.1",
"codecov.io": "0.1.6",
"gulp": "3.9.0",
"gulp-mocha": "4.2.0",
"gulp": "3.9.1",
"gulp-mocha": "6.0.0",
"istanbul": "0.4.5",
"mocha": "3.2.0",
"request-promise": "4.2.0"
"mocha": "5.2.0",
"request-promise": "4.2.2"
}
}
# polly-js
[![Greenkeeper badge](https://badges.greenkeeper.io/mauricedb/polly-js.svg)](https://greenkeeper.io/)
Transient exception handling for JavaScript made easy.

@@ -3,0 +5,0 @@

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