Socket
Socket
Sign inDemoInstall

haraka-plugin-limit

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haraka-plugin-limit - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

7

index.js

@@ -483,3 +483,2 @@ const constants = require('haraka-constants')

} catch (err) {
console.error(err)
connection.results.add(this, { err })

@@ -515,3 +514,7 @@ }

for (const ts of Object.keys(tstamps)) {
if (parseInt(ts, 10) < periodStartTs) continue // older than ttl
if (parseInt(ts, 10) < periodStartTs) {
// older than ttl
this.db.hDel(`rate_conn:${key}`, ts)
continue
}
connections_in_ttl_period =

@@ -518,0 +521,0 @@ connections_in_ttl_period + parseInt(tstamps[ts], 10)

{
"name": "haraka-plugin-limit",
"version": "1.2.4",
"version": "1.2.5",
"description": "enforce various types of limits on remote MTAs",

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