Skip to content

Commit db58a0a

Browse files
authored
style: async/await where possible (#19)
- dep: remove async - use builtin/promises where available - asn.ini: switch default dns provider to rspamd
1 parent 0dbf4e6 commit db58a0a

File tree

7 files changed

+219
-213
lines changed

7 files changed

+219
-213
lines changed

.eslintrc.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ env:
22
node: true
33
es6: true
44
mocha: true
5+
es2020: true
56

67
plugins:
78
- haraka

Changes.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11

2+
3+
## 2.0.0 - 2022-05-23
4+
5+
- style: replace most callbacks with async/await
6+
- use builtin/promises where available
7+
8+
9+
## 1.0.9 - 2022-05-22
10+
11+
- ci: add GitHub Actions CI, #17
12+
- ci: remove appveyor and travis configs
13+
- lint: prefer-template
14+
- test: wait longer for dns test
15+
- style: more es6/7
16+
- dep(async): bump version to 3.2
17+
18+
219
## 1.0.8 - 2018-01-22
320

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

27+
1028
## 1.0.7 - 2017-02-06
1129

1230
- updated eslint to use eslint-plugin-haraka
1331
- aggregate results before emitting
1432

33+
1534
## 1.0.6 - 2016-10-20
1635

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

39+
2040
## 1.0.5 - 2016-10-08
2141

2242
## 1.0.4 - 2016-10-08

config/asn.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
; asn.routeviews.org (used by SpamAssassin)
99
; asn.rspamd.com
1010
; origin.asn.spameatingmonkey.net
11-
providers=origin.asn.cymru.com
11+
providers=asn.rspamd.com
1212

1313

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

0 commit comments

Comments
 (0)