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

haraka-plugin-redis

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haraka-plugin-redis - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

Changes.md
# 1.0.2 - 2017-02-06
# 1.0.3 - 2017-02-06
- don't break when no [redis] config exists

@@ -102,5 +102,9 @@ 'use strict';

// tests that do not load config
if (!plugin.cfg) plugin.cfg = { redis: {} };
if (!server) server = { notes: {} };
// use server-wide redis connection when using default DB id
if (!plugin.cfg.redis || !plugin.cfg.redis.db) {
if (server && server.notes && server.notes.redis) {
if (!plugin.cfg.redis.db) {
if (server.notes.redis) {
server.loginfo(plugin, 'using server.notes.redis');

@@ -107,0 +111,0 @@ plugin.db = server.notes.redis;

{
"name": "haraka-plugin-redis",
"version": "1.0.2",
"description": "Redis plugin for Haraka & other plugins",
"version": "1.0.3",
"description": "Redis plugin for Haraka & other plugins to inherit from",
"main": "index.js",

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

@@ -100,5 +100,5 @@ # haraka-plugin-redis

[clim-url]: https://codeclimate.com/github/haraka/haraka-plugin-redis
[apv-img]: https://ci.appveyor.com/api/projects/status/lme4otppxe22me0j/branch/master?svg=true
[apv-url]: https://ci.appveyor.com/project/msimerson/haraka-plugin-redis/branch/master
[apv-img]: https://ci.appveyor.com/api/projects/status/fxk78f25n61nq3lx?svg=true
[apv-url]: https://ci.appveyor.com/project/msimerson/haraka-plugin-redis
[gk-img]: https://badges.greenkeeper.io/haraka/haraka-plugin-redis.svg
[gk-url]: https://greenkeeper.io/
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