@ladjs/redis
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -38,2 +38,3 @@ const IORedis = require('ioredis'); | ||
// eslint-disable-next-line max-params | ||
function Redis( | ||
@@ -43,3 +44,4 @@ config = {}, | ||
monitor = false, | ||
maxListeners = 15 | ||
maxListeners = 15, | ||
_bindEvents = false | ||
) { | ||
@@ -70,3 +72,3 @@ const client = new IORedis(config); | ||
bindEvents(client, logger); | ||
if (_bindEvents) bindEvents(client, logger); | ||
return client; | ||
@@ -73,0 +75,0 @@ } |
{ | ||
"name": "@ladjs/redis", | ||
"description": "Redis for Lad", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -23,8 +23,8 @@ "ava": { | ||
"dependencies": { | ||
"ioredis": "^4.17.1" | ||
"ioredis": "^4.17.3" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^8.3.5", | ||
"@commitlint/config-conventional": "^8.3.4", | ||
"ava": "^3.8.2", | ||
"@commitlint/cli": "^9.0.1", | ||
"@commitlint/config-conventional": "^9.0.1", | ||
"ava": "^3.10.0", | ||
"codecov": "^3.7.0", | ||
@@ -37,6 +37,6 @@ "cross-env": "^7.0.2", | ||
"husky": "^4.2.5", | ||
"lint-staged": "^10.2.6", | ||
"nyc": "^15.0.1", | ||
"lint-staged": "^10.2.11", | ||
"nyc": "^15.1.0", | ||
"remark-cli": "^8.0.0", | ||
"remark-preset-github": "^1.0.1", | ||
"remark-preset-github": "^2.0.2", | ||
"xo": "0.25" | ||
@@ -43,0 +43,0 @@ }, |
7266
78
Updatedioredis@^4.17.3