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

systemic-redis

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systemic-redis - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

10

index.js

@@ -29,4 +29,10 @@ module.exports = (options) => {

logger.info(`Connecting to ${config.url || config.host || '127.0.0.1'}`);
client = redis.createClient(config);
// https://github.com/redis/node-redis#basic-example
const host = config.url || config.host || '127.0.0.1';
const protocol = config.tls ? 'rediss://' : 'redis://';
logger.info(`Connecting to ${host} with protocol ${protocol} based on TLS config`);
client = redis.createClient({
url: protocol + '@' + host + ':' + config.port,
password: config.password,
});

@@ -33,0 +39,0 @@ if (config.no_ready_check) {

2

package.json
{
"name": "systemic-redis",
"version": "2.1.0",
"version": "2.1.1",
"description": "A systemic redis component",

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