Socket
Socket
Sign inDemoInstall

egg-redis

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-redis - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

History.md
1.0.1 / 2017-02-21
==================
* fix:fix zero judgement (#5)
1.0.0 / 2017-02-17

@@ -3,0 +8,0 @@ ==================

4

lib/redis.js

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

config.nodes.forEach(client => {
assert(client.host && client.port && client.password !== undefined && client.db,
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`);

@@ -33,3 +33,3 @@ });

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

@@ -36,0 +36,0 @@

{
"name": "egg-redis",
"version": "1.0.0",
"version": "1.0.1",
"description": "Redis plugin for egg",

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

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