haraka-config
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -7,2 +7,6 @@ # Changelog | ||
### [1.4.1] - 2024-12-28 | ||
- ini: allow key with + character, to accept user+blah@domain.com #80 | ||
### [1.4.0] - 2024-05-12 | ||
@@ -150,1 +154,2 @@ | ||
[1.4.0]: https://github.com/haraka/haraka-config/releases/tag/v1.4.0 | ||
[1.4.1]: https://github.com/haraka/haraka-config/releases/tag/v1.4.1 |
module.exports = { | ||
section: /^\s*\[\s*([^\]]*?)\s*\]\s*$/, | ||
param: /^\s*([\w@:._\-/[\]]+)\s*(?:=\s*(.*?)\s*)?$/, | ||
param: /^\s*([\w@:._+\-/[\]]+)\s*(?:=\s*(.*?)\s*)?$/, | ||
comment: /^\s*[;#].*$/, | ||
@@ -5,0 +5,0 @@ line: /^\s*(.*?)\s*$/, |
@@ -6,4 +6,4 @@ { | ||
"description": "Haraka's config file loader", | ||
"version": "1.4.0", | ||
"homepage": "http://haraka.github.io", | ||
"version": "1.4.1", | ||
"homepage": "https://github.com/haraka/haraka-config", | ||
"repository": { | ||
@@ -28,6 +28,5 @@ "type": "git", | ||
"devDependencies": { | ||
"@haraka/eslint-config": "^1.1.3" | ||
"@haraka/eslint-config": "^1.1.5" | ||
}, | ||
"bugs": { | ||
"mail": "haraka.mail@gmail.com", | ||
"url": "https://github.com/haraka/haraka-config/issues" | ||
@@ -34,0 +33,0 @@ }, |
@@ -243,3 +243,3 @@ # haraka-config | ||
These are as you would expect, and returns an object as given in the file. | ||
These are as you would expect, and return an object as given in the file. | ||
@@ -246,0 +246,0 @@ If a requested .json or .hjson file does not exist then the same file will be checked for with a .yaml extension and that will be loaded instead. This is done because YAML files are far easier for a human to write. |
38059