Socket
Socket
Sign inDemoInstall

rsmq

Package Overview
Dependencies
27
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.3 to 0.3.4

12

CHANGELOG.md
# CHANGELOG for rsmq
0.3.2
## 0.3.4
* Added support for [https://github.com/mranney/node_redis#rediscreateclientport-host-options](redis.createClient) `options` object.
## 0.3.3
* docs
## 0.3.2
* Added constructor option `client` to reuse existing redis clients
0.3.1
## 0.3.1
* Add details to README.md for constructor object. #3

3

index.js

@@ -58,2 +58,3 @@ // Generated by CoffeeScript 1.6.3

port: 6379,
options: {},
client: null,

@@ -66,3 +67,3 @@ ns: "rsmq"

} else {
this.redis = RedisInst.createClient(opts.port, opts.host);
this.redis = RedisInst.createClient(opts.port, opts.host, opts.options);
}

@@ -69,0 +70,0 @@ this.connected = this.redis.connected || false;

{
"name": "rsmq",
"description": "A really simple message queue based on Redis",
"version": "0.3.3",
"version": "0.3.4",
"author": "P. Liess <smrchy+npm@gmail.com>",

@@ -6,0 +6,0 @@ "engines": {

@@ -53,2 +53,3 @@ # rsmq

* `port` (Number): *optional (Default: 6379)* The Redis port
* `options` (Object): *optional (Default: {})* The Redis [https://github.com/mranney/node_redis#rediscreateclientport-host-options](redis.createClient) `options` object.
* `client` (RedisClient): *optional* A existing redis client instance. `host` and `server` will be ignored.

@@ -55,0 +56,0 @@ * `ns` (String): *optional (Default: "rsmq")* The namespace prefix used for all keys created by **rsmq**

Sorry, the diff of this file is not supported yet

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