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 2.0.0 to 2.0.1

5

changelog.md
# Changelog
## 2.0.1
- **fix:** remove incorrect deprecated marker on `RetryPolicy.onGiveUp`
- **fix:** incorrect typings in `retry().backoff()` ([#34](https://github.com/connor4312/cockatiel/issues/34))
## 2.0.0 - 2020-09-24

@@ -4,0 +9,0 @@

6

dist/esm/RetryPolicy.d.ts

@@ -1,2 +0,2 @@

import { IBackoff, IBackoffFactory, IExponentialBackoffOptions } from './backoff/Backoff';
import { IBackoffFactory, IExponentialBackoffOptions } from './backoff/Backoff';
import { DelegateBackoffFn } from './backoff/DelegateBackoff';

@@ -60,3 +60,3 @@ import { CancellationToken } from './CancellationToken';

/**
* @deprecated use `onFailure` instead
* Emitter that fires when we're no longer retrying a call and are giving up.
*/

@@ -86,3 +86,3 @@ readonly onGiveUp: import("./common/Event").Event<FailureReason<unknown>>;

*/
backoff(backoff: IBackoff<IRetryBackoffContext<unknown>>): RetryPolicy;
backoff(backoff: IBackoffFactory<IRetryBackoffContext<unknown>>): RetryPolicy;
/**

@@ -89,0 +89,0 @@ * When retrying, a referenced timer is created. This means the Node.js event

@@ -37,3 +37,3 @@ import { ExponentialBackoff, } from './backoff/Backoff';

/**
* @deprecated use `onFailure` instead
* Emitter that fires when we're no longer retrying a call and are giving up.
*/

@@ -40,0 +40,0 @@ // tslint:disable-next-line: member-ordering

@@ -1,2 +0,2 @@

import { IBackoff, IBackoffFactory, IExponentialBackoffOptions } from './backoff/Backoff';
import { IBackoffFactory, IExponentialBackoffOptions } from './backoff/Backoff';
import { DelegateBackoffFn } from './backoff/DelegateBackoff';

@@ -60,3 +60,3 @@ import { CancellationToken } from './CancellationToken';

/**
* @deprecated use `onFailure` instead
* Emitter that fires when we're no longer retrying a call and are giving up.
*/

@@ -86,3 +86,3 @@ readonly onGiveUp: import("./common/Event").Event<FailureReason<unknown>>;

*/
backoff(backoff: IBackoff<IRetryBackoffContext<unknown>>): RetryPolicy;
backoff(backoff: IBackoffFactory<IRetryBackoffContext<unknown>>): RetryPolicy;
/**

@@ -89,0 +89,0 @@ * When retrying, a referenced timer is created. This means the Node.js event

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

/**
* @deprecated use `onFailure` instead
* Emitter that fires when we're no longer retrying a call and are giving up.
*/

@@ -42,0 +42,0 @@ // tslint:disable-next-line: member-ordering

{
"name": "cockatiel",
"version": "2.0.0",
"version": "2.0.1",
"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