Socket
Socket
Sign inDemoInstall

egg-redis

Package Overview
Dependencies
18
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.0 to 2.6.0

6

History.md
2.6.0 / 2024-04-07
==================
**features**
* [[`9f02a13`](http://github.com/eggjs/egg-redis/commit/9f02a13bca2a50f7b618d8987604cc6e34c2d646)] - feat: remove node password and db validate on cluster mode (#39) (KenyeeCheung <<kenyeecheung@icloud.com>>)
2.5.0 / 2023-06-06

@@ -3,0 +9,0 @@ ==================

3

lib/redis.js

@@ -19,4 +19,3 @@ 'use strict';

config.nodes.forEach(client => {
assert(client.host && client.port && client.password !== undefined && client.db !== undefined,
`[egg-redis] 'host: ${client.host}', 'port: ${client.port}', 'password: ${client.password}', 'db: ${client.db}' are required on config`);
assert(client.host && client.port, `[egg-redis] 'host: ${client.host}', 'port: ${client.port}' are required on config`);
});

@@ -23,0 +22,0 @@ app.coreLogger.info('[egg-redis] cluster connecting');

{
"name": "egg-redis",
"version": "2.5.0",
"version": "2.6.0",
"description": "Redis plugin for egg",

@@ -5,0 +5,0 @@ "eggPlugin": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc