issues
search
haraka
/
haraka-config
Haraka config file loader and parser
https://www.npmjs.com/package/haraka-config
MIT License
10
stars
13
forks
source link
Release v1.2.0
#71
Closed
msimerson
closed
4 months ago
msimerson
commented
5 months ago
feat: getDir can parse different types of files in a dir
feat: all file readers now have load and loadPromise, so a feature like getDir can safely use the promise API
chore: require syntax, prefix node builtins with
node:
moved configfile -> lib/reader
moved readers/ -> lib/readers
refactored regex lib to lib/regex
refactored watch functions into lib/watch
es6
add several uses of
...
(spread operator / param collection)
replace
for i
with
for ... of
consolidate all cases of type detection into configfile.getType
replace
new Promise
with async/await
use shortened array function syntax
ci: update to shared haraka/.github
dep: eslint-plugin-haraka -> @haraka/eslint-config
lint: remove duplicate / stale rules from .eslintrc
package.json: populate [files]
deps: version bumps
node:
...
(spread operator / param collection)for i
withfor ... of
new Promise
with async/await