Socket
Socket
Sign inDemoInstall

machinepack-redis

Package Overview
Dependencies
15
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.2 to 1.2.3

12

machines/create-connection-url.js

@@ -27,3 +27,3 @@ module.exports = {

//
password: {
pass: {
description: 'The password (if any) for the Redis server.',

@@ -33,3 +33,3 @@ example: 'iheartredis'

//
database: {
db: {
description: 'The index of the database to connect to.',

@@ -59,4 +59,4 @@ example: 123

// Add the optional password.
if (inputs.password) {
url += ':' + inputs.password + '@';
if (inputs.pass) {
url += ':' + inputs.pass + '@';
}

@@ -71,4 +71,4 @@

// Add the optional database.
if (inputs.database) {
url += '/' + inputs.database;
if (inputs.db) {
url += '/' + inputs.db;
}

@@ -75,0 +75,0 @@

@@ -216,3 +216,3 @@ module.exports = {

if (client._fromWLManager) {
return exits.error('Consistency violation: Somehow, a `_fromWLManager` key already exists on this Redis client instance!');
return exits.error(new Error('Consistency violation: Somehow, a `_fromWLManager` key already exists on this Redis client instance!'));
}

@@ -219,0 +219,0 @@ client._fromWLManager = inputs.manager;

{
"name": "machinepack-redis",
"version": "1.2.2",
"version": "1.2.3",
"description": "Structured Node.js bindings for Redis.",

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

@@ -33,4 +33,4 @@ /**

port: 6380,
password: 'secret',
database: 15
pass: 'secret',
db: 15
}).execSync();

@@ -37,0 +37,0 @@

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