haraka-config
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -7,2 +7,6 @@ # Changelog | ||
### [1.2.3] - 2024-04-26 | ||
- reader: use path.sep instead of [\\/] to be more obvious | ||
### [1.2.2] - 2024-04-24 | ||
@@ -130,1 +134,4 @@ | ||
[1.2.2]: https://github.com/haraka/haraka-config/releases/tag/v1.2.2 | ||
[1.2.3]: https://github.com/haraka/haraka-config/releases/tag/v1.2.3 | ||
[1.2.0]: https://github.com/haraka/haraka-config/releases/tag/v1.2.0 | ||
[1.2.1]: https://github.com/haraka/haraka-config/releases/tag/v1.2.1 |
@@ -38,3 +38,6 @@ 'use strict' | ||
// when loaded with require('haraka-config') | ||
if (/node_modules\/haraka-config\/lib$/.test(__dirname)) { | ||
if ( | ||
__dirname.split(path.sep).slice(-3).toString() === | ||
'node_modules,haraka-config,lib' | ||
) { | ||
config_dir_candidates = [ | ||
@@ -41,0 +44,0 @@ path.join(__dirname, '..', '..', '..', 'config'), // haraka/Haraka/* |
@@ -6,3 +6,3 @@ { | ||
"description": "Haraka's config file loader", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"homepage": "http://haraka.github.io", | ||
@@ -9,0 +9,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36581
715