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

ioredis

Package Overview
Dependencies
Maintainers
2
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ioredis - npm Package Compare versions

Comparing version 4.27.1 to 4.27.2

9

built/cluster/index.js

@@ -188,3 +188,8 @@ "use strict";

this.once("close", this.handleCloseEvent.bind(this));
this.refreshSlotsCache();
this.refreshSlotsCache(function (err) {
if (err && err.message === "Failed to refresh slots cache.") {
redis_1.default.prototype.silentEmit.call(this, "error", err);
this.connectionPool.reset([]);
}
}.bind(this));
this.subscriber.start();

@@ -389,4 +394,2 @@ })

const error = new ClusterAllFailedError_1.default("Failed to refresh slots cache.", lastNodeError);
redis_1.default.prototype.silentEmit.call(_this, "error", error);
_this.connectionPool.reset([]);
return wrapper(error);

@@ -393,0 +396,0 @@ }

@@ -0,1 +1,8 @@

## [4.27.2](https://github.com/luin/ioredis/compare/v4.27.1...v4.27.2) (2021-05-04)
### Bug Fixes
* **cluster:** avoid ClusterAllFailedError in certain cases ([aa9c5b1](https://github.com/luin/ioredis/commit/aa9c5b1fee5daa24f35b3ff0d3556ecfb86db251)), closes [#1330](https://github.com/luin/ioredis/issues/1330)
## [4.27.1](https://github.com/luin/ioredis/compare/v4.27.0...v4.27.1) (2021-04-24)

@@ -2,0 +9,0 @@

{
"name": "ioredis",
"version": "4.27.1",
"version": "4.27.2",
"description": "A robust, performance-focused and full-featured Redis client for Node.js.",

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

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