New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

haraka-plugin-karma

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haraka-plugin-karma - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

config/karma.ini

14

index.js

@@ -32,3 +32,3 @@ 'use strict';

plugin.register_hook('connect_init', 'results_init');
plugin.register_hook('connect_init', 'history_from_redis');
plugin.register_hook('connect_init', 'ip_history_from_redis');
};

@@ -394,6 +394,6 @@

var pi_deny = params[0]; // (constants.deny, denysoft, ok)
//var pi_message = params[1];
// var pi_message = params[1];
var pi_name = params[2];
//var pi_function = params[3];
//var pi_params = params[4];
// var pi_function = params[3];
// var pi_params = params[4];
var pi_hook = params[5];

@@ -417,3 +417,3 @@

// intercept any other denials
connection.results.add(plugin, {fail: 'deny:' + pi_name});
connection.results.add(plugin, {msg: 'deny:' + pi_name});

@@ -430,3 +430,3 @@ if (pi_deny === constants.DENY ||

// let the connection continue
// let the connection resume
return next(constants.OK);

@@ -476,3 +476,3 @@ };

exports.history_from_redis = function (next, connection) {
exports.ip_history_from_redis = function (next, connection) {
var plugin = this;

@@ -479,0 +479,0 @@

{
"name": "haraka-plugin-karma",
"version": "1.0.0",
"version": "1.0.1",
"description": "Watch live SMTP traffic in a web interface",

@@ -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