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

cockatiel

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cockatiel - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

2

dist/backoff/ExponentialBackoffGenerators.js

@@ -50,3 +50,3 @@ "use strict";

const next = Math.pow(options.exponent, t) * Math.tanh(Math.sqrt(pFactor * t));
const formulaIntrinsicValue = Math.max(0, next - prev);
const formulaIntrinsicValue = isFinite(next) ? Math.max(0, next - prev) : Infinity;
return [

@@ -53,0 +53,0 @@ Math.min(formulaIntrinsicValue * rpScalingFactor * options.initialDelay, options.maxDelay),

@@ -44,3 +44,3 @@ /**

const next = Math.pow(options.exponent, t) * Math.tanh(Math.sqrt(pFactor * t));
const formulaIntrinsicValue = Math.max(0, next - prev);
const formulaIntrinsicValue = isFinite(next) ? Math.max(0, next - prev) : Infinity;
return [

@@ -47,0 +47,0 @@ Math.min(formulaIntrinsicValue * rpScalingFactor * options.initialDelay, options.maxDelay),

{
"name": "cockatiel",
"version": "3.1.2",
"version": "3.1.3",
"description": "A resilience and transient-fault-handling library that allows developers to express policies such as Backoff, Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. Inspired by .NET Polly.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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