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

redis-manager-utils

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-manager-utils - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

20

BaseClass.js

@@ -7,7 +7,17 @@ const REDIS = require("redis");

constructor( databaseNumber , host , port , constants ) {
this.databaseNumber = databaseNumber || 0;
this.host || "localhost";
this.port = port || 6379;
this.redis = undefined;
this.c = constants || {};
if ( typeof databaseNumber === "object" ) {
this.databaseNumber = config.databaseNumber || 0;
this.host databaseNumber.host || "localhost";
this.port = databaseNumber.port || 6379;
this.c = databaseNumber.constants || {};
}
else {
this.databaseNumber = databaseNumber || 0;
this.host || "localhost";
this.port = port || 6379;
this.redis = undefined;
this.c = constants || {};
}
this.redis = undefined;
}

@@ -14,0 +24,0 @@

{
"name": "redis-manager-utils",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "main.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