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

brakes

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brakes - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

4

lib/Circuit.js

@@ -73,6 +73,6 @@ 'use strict';

if (err instanceof TimeOutError) {
this._brakes.emit('timeout', endTime);
this._brakes.emit('timeout', endTime, err);
}
else if (this._opts.isFailure(err)) {
this._brakes.emit('failure', endTime);
this._brakes.emit('failure', endTime, err);
}

@@ -79,0 +79,0 @@ // if fallback exists, call it upon failure

{
"name": "brakes",
"version": "2.5.0",
"version": "2.5.1",
"description": "Node.js Circuit Breaker Pattern",

@@ -47,5 +47,5 @@ "main": "index.js",

"mocha": "^3.1.2",
"nyc": "^9.0.1",
"nyc": "^10.0.0",
"sinon": "^1.17.6"
}
}
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