diff --git a/.release b/.release index 180d818..7307651 160000 --- a/.release +++ b/.release @@ -1 +1 @@ -Subproject commit 180d818a31f69b7f0295cd0eb85cb44c45439a8b +Subproject commit 73076513e83c2057a32515831b638771c15b1d83 diff --git a/CHANGELOG.md b/CHANGELOG.md index fb6058c..974c4ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). ### Unreleased +### [1.0.3] - 2025-02-06 + +- fix: results.ips wasn't being populated + ### [1.0.2] - 2025-01-30 - replace .replace(//g) with a replaceAll @@ -25,3 +29,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). [1.0.0]: https://github.com/haraka/haraka-plugin-helo.checks/releases/tag/v1.0.0 [1.0.1]: https://github.com/haraka/haraka-plugin-helo.checks/releases/tag/v1.0.1 [1.0.2]: https://github.com/haraka/haraka-plugin-helo.checks/releases/tag/v1.0.2 +[1.0.3]: https://github.com/haraka/haraka-plugin-helo.checks/releases/tag/v1.0.3 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index aff93a2..6120c00 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -2,7 +2,7 @@ This handcrafted artisinal software is brought to you by: -|
msimerson (7) |
lnedry (2) | +|
msimerson (8) |
lnedry (2) | | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | this file is generated by [.release](https://github.com/msimerson/.release). diff --git a/index.js b/index.js index 138e7c8..8d98c95 100644 --- a/index.js +++ b/index.js @@ -408,7 +408,7 @@ exports.forward_dns = function (next, connection, helo) { connection.results.add(this, { err: 'forward_dns, no ips!' }) return next() } - connection.results.add(this, { ips }) + connection.results.add(this, { ips: ips }) if (ips.includes(connection.remote.ip)) { connection.results.add(this, { pass: 'forward_dns' }) diff --git a/package.json b/package.json index 3d2256f..b255d44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "haraka-plugin-helo.checks", - "version": "1.0.2", + "version": "1.0.3", "description": "Haraka plugin checks the HELO string.", "main": "index.js", "files": [ @@ -33,12 +33,12 @@ "homepage": "https://github.com/haraka/haraka-plugin-helo.checks#readme", "devDependencies": { "@haraka/eslint-config": "^2.0.2", - "haraka-test-fixtures": "1.3.8" + "haraka-test-fixtures": "1.3.9" }, "dependencies": { - "haraka-net-utils": "^1.7.1", + "haraka-net-utils": "^1.7.2", "haraka-tld": "^1.2.3", - "haraka-utils": "^1.1.3" + "haraka-utils": "^1.1.4" }, "prettier": { "singleQuote": true,