Skip to content

Commit

Permalink
Release v1.6.0 (#87)
Browse files Browse the repository at this point in the history
- feat: normalizeDomain, for punycode/IDN names
- feat: get_mx now _also_ returns implicit MX records
- feat: added get_implicit_mx
- feat: added resolve_mx_hosts
- doc(Changes): fixed broken tag version links
- doc(CONTRIBUTORS): added
- chore: populate [files] in package.json. Delete .npmignore
- chore(lint): remove duplicate / stale rules from .eslintrc
- dep(punycode): punycode -> punycode.js (avoid name collission)
- chore: refactored get_ips_by_host using Promise.allSettled
  • Loading branch information
msimerson authored Apr 18, 2024
1 parent 814bb8f commit 52aa4e7
Show file tree
Hide file tree
Showing 15 changed files with 1,332 additions and 1,219 deletions.
8 changes: 4 additions & 4 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
engines:
eslint:
enabled: true
channel: "eslint-8"
channel: 'eslint-8'
config:
config: ".eslintrc.yaml"
config: '.eslintrc.yaml'

ratings:
paths:
- "**.js"
paths:
- '**.js'

checks:
return-statements:
Expand Down
14 changes: 2 additions & 12 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ env:
node: true
es6: true
mocha: true
es2020: true
es2022: true

plugins:
- haraka

extends:
- eslint:recommended
- plugin:haraka/recommended

root: true

rules:
indent: [2, 2, { SwitchCase: 1 } ]
extends: ['@haraka']
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: "/"
directory: '/'
# Check the npm registry for updates every day (weekdays)
schedule:
interval: "monthly"
interval: 'monthly'
allow:
- dependency-type: "production"
- dependency-type: 'production'
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [ pull_request, push ]
on: [pull_request, push]

env:
CI: true
Expand All @@ -14,9 +14,9 @@ jobs:
secrets: inherit

test:
needs: [ lint ]
needs: [lint]
uses: haraka/.github/.github/workflows/ubuntu.yml@master

windows:
needs: [ lint ]
needs: [lint]
uses: haraka/.github/.github/workflows/windows.yml@master
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CodeQL

on:
push:
branches: [ master ]
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [master]
schedule:
- cron: '18 7 * * 4'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ env:
jobs:
publish:
uses: haraka/.github/.github/workflows/publish.yml@master
secrets: inherit
secrets: inherit
59 changes: 0 additions & 59 deletions .npmignore

This file was deleted.

2 changes: 2 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
singleQuote: true
semi: false
2 changes: 1 addition & 1 deletion .release
Loading

0 comments on commit 52aa4e7

Please sign in to comment.