Skip to content

Commit

Permalink
style: async/await where possible (#19)
Browse files Browse the repository at this point in the history
- dep: remove async
- use builtin/promises where available
- asn.ini: switch default dns provider to rspamd
  • Loading branch information
msimerson authored May 23, 2022
1 parent 0dbf4e6 commit db58a0a
Show file tree
Hide file tree
Showing 7 changed files with 219 additions and 213 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ env:
node: true
es6: true
mocha: true
es2020: true

plugins:
- haraka
Expand Down
20 changes: 20 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@


## 2.0.0 - 2022-05-23

- style: replace most callbacks with async/await
- use builtin/promises where available


## 1.0.9 - 2022-05-22

- ci: add GitHub Actions CI, #17
- ci: remove appveyor and travis configs
- lint: prefer-template
- test: wait longer for dns test
- style: more es6/7
- dep(async): bump version to 3.2


## 1.0.8 - 2018-01-22

- parse maxmind ASN w/o Org data
Expand All @@ -7,16 +24,19 @@
- added parse_rspamd test
- emit rspamd DNS provider results (when enabled)


## 1.0.7 - 2017-02-06

- updated eslint to use eslint-plugin-haraka
- aggregate results before emitting


## 1.0.6 - 2016-10-20

* when protocols[setting]=false, don't enable that protocol
* ie, do what the config implies


## 1.0.5 - 2016-10-08

## 1.0.4 - 2016-10-08
Expand Down
2 changes: 1 addition & 1 deletion config/asn.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
; asn.routeviews.org (used by SpamAssassin)
; asn.rspamd.com
; origin.asn.spameatingmonkey.net
providers=origin.asn.cymru.com
providers=asn.rspamd.com


; test_ip: an IP address that maps to an ASN (any valid public IP should work)
Expand Down
Loading

0 comments on commit db58a0a

Please sign in to comment.