haraka-plugin-redis
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -7,4 +7,3 @@ { | ||
"rules": { | ||
"no-console": 0 | ||
} | ||
} |
# 1.0.6 - 2017-06-16 | ||
- eslint 4 compat | ||
# 1.0.5 - 2017-06-09 | ||
@@ -3,0 +7,0 @@ |
30
index.js
@@ -191,9 +191,9 @@ 'use strict'; | ||
}) | ||
.on('psubscribe', function (pattern2, count) { | ||
plugin.logdebug(plugin, 'psubscribed to ' + pattern2); | ||
next(); | ||
}) | ||
.on('punsubscribe', function (pattern3, count) { | ||
plugin.logdebug(plugin, 'unsubsubscribed from ' + pattern3); | ||
}); | ||
.on('psubscribe', function (pattern2, count) { | ||
plugin.logdebug(plugin, 'psubscribed to ' + pattern2); | ||
next(); | ||
}) | ||
.on('punsubscribe', function (pattern3, count) { | ||
plugin.logdebug(plugin, 'unsubsubscribed from ' + pattern3); | ||
}); | ||
plugin.redis.psubscribe(pattern); | ||
@@ -214,10 +214,10 @@ }; | ||
}) | ||
.on('psubscribe', function (pattern, count) { | ||
connection.logdebug(plugin, 'psubscribed to ' + pattern); | ||
next(); | ||
}) | ||
.on('punsubscribe', function (pattern, count) { | ||
connection.logdebug(plugin, 'unsubsubscribed from ' + pattern); | ||
connection.notes.redis.quit(); | ||
}); | ||
.on('psubscribe', function (pattern, count) { | ||
connection.logdebug(plugin, 'psubscribed to ' + pattern); | ||
next(); | ||
}) | ||
.on('punsubscribe', function (pattern, count) { | ||
connection.logdebug(plugin, 'unsubsubscribed from ' + pattern); | ||
connection.notes.redis.quit(); | ||
}); | ||
connection.notes.redis.psubscribe(plugin.get_redis_sub_channel(connection)); | ||
@@ -224,0 +224,0 @@ }; |
{ | ||
"name": "haraka-plugin-redis", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Redis plugin for Haraka & other plugins to inherit from", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
16263
255