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

retry-assert

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retry-assert - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

5

CHANGELOG.md

@@ -8,2 +8,7 @@ # Changelog

## 1.2.0 - 2024-02-28
### Changed
- Typescript declaration change: RetryBuilder infers type from Promise type
parameter.
## 1.1.0 - 2023-12-06

@@ -10,0 +15,0 @@ ### Added

2

package.json
{
"name": "retry-assert",
"version": "1.1.0",
"version": "1.2.0",
"author": "Nathan Jones",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -34,3 +34,3 @@ /**

*/
declare function retry<T>(fn?: () => T): RetryBuilder<T>;
declare function retry<T>(fn?: () => Promise<T> | T): RetryBuilder<T>;

@@ -86,3 +86,3 @@ declare namespace retry {

*/
fn<U>(fn: () => U): RetryBuilder<U>;
fn<U>(fn: () => Promise<U> | U): RetryBuilder<U>;

@@ -89,0 +89,0 @@ /**

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