Skip to content

Commit

Permalink
lint fix (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson authored Feb 7, 2023
1 parent e25dae7 commit 6cb2cc2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule ".release"]
path = .release
url = [email protected]:msimerson/.release.git
1 change: 1 addition & 0 deletions .release
Submodule .release added at 0890e9
31 changes: 19 additions & 12 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
## 2.0.2 - 2022-10-21
### Unreleased


### 2.0.2 - 2023-02-07

- fix: catching DNS timeout exception

## 2.0.1 - 2022-05-27

### 2.0.1 - 2022-05-27

- fix: when adding headers, assure ASN is string
- fix: when adding header, look in correct location for asn.org
- when create conn note, only assign properties with values


## 2.0.0 - 2022-05-23
### 2.0.0 - 2022-05-23

- style: replace most callbacks with async/await
- use builtin/promises where available
- asn.ini: switch default dns provider to rspamd
- dep: remove async


## 1.0.9 - 2022-05-22
### 1.0.9 - 2022-05-22

- ci: add GitHub Actions CI, #17
- ci: remove appveyor and travis configs
Expand All @@ -27,7 +31,7 @@
- dep(async): bump version to 3.2


## 1.0.8 - 2018-01-22
### 1.0.8 - 2018-01-22

- parse maxmind ASN w/o Org data
- es6: var => const|let, function () => arrow functions
Expand All @@ -36,24 +40,27 @@
- emit rspamd DNS provider results (when enabled)


## 1.0.7 - 2017-02-06
### 1.0.7 - 2017-02-06

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


## 1.0.6 - 2016-10-20
### 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.5 - 2016-10-08

### 1.0.4 - 2016-10-08

### 1.0.2 - 2016-10-06

## 1.0.4 - 2016-10-08
### 1.0.1 - 2016-02-07

## 1.0.2 - 2016-10-06
### 1.0.0 - 2016-07-21

## 1.0.1 - 2016-02-07

## 1.0.0 - 2016-07-21
[2.0.2]: https://github.com/haraka/haraka-plugin-asn/releases/tag/2.0.2
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ exports.get_dns_results = async function (zone, ip) {
const first = addrs[0];

this.logdebug(this, `${zone} answers: ${first}`);

return this.get_result(zone, first);
}
catch (err) {
Expand Down

0 comments on commit 6cb2cc2

Please sign in to comment.