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

disyuntor

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

disyuntor - npm Package Compare versions

Comparing version 1.2.3 to 1.3.0

9

index.js

@@ -9,3 +9,4 @@ const ms = require('ms');

arity: 'auto',
monitor: () => {}
monitor: () => {},
trigger: (err) => true
};

@@ -79,4 +80,6 @@

function catchError(err) {
failures++;
lastFailure = Date.now();
if (config.trigger(err)) {
failures++;
lastFailure = Date.now();
}
originalCallback(err);

@@ -83,0 +86,0 @@ }

{
"name": "disyuntor",
"description": "A circuit-breaker implementation with exponential backoff.",
"version": "1.2.3",
"version": "1.3.0",
"author": "José F. Romaniello <jfromaniello@gmail.com> (http://joseoncode.com)",

@@ -6,0 +6,0 @@ "repository": {

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