Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: initial implementation #1

Merged
merged 3 commits into from
Oct 13, 2020
Merged

Conversation

vasco-santos
Copy link
Owner

@vasco-santos vasco-santos commented Oct 12, 2020

Initial implementation of the dns-over-http-resolver with the resolve method

Needs:

@vasco-santos vasco-santos force-pushed the feat/initial-implementation branch 4 times, most recently from 8cc4cf9 to 172e4e5 Compare October 12, 2020 09:34
@codecov-io
Copy link

codecov-io commented Oct 12, 2020

Codecov Report

❗ No coverage uploaded for pull request base (main@608cbc7). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   90.00%           
=======================================
  Files           ?        2           
  Lines           ?       40           
  Branches        ?        0           
=======================================
  Hits            ?       36           
  Misses          ?        4           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 608cbc7...e8ca603. Read the comment docs.

@vasco-santos vasco-santos marked this pull request as ready for review October 13, 2020 09:48
@vasco-santos
Copy link
Owner Author

cc @jacobheun cannot ask you direct review

Copy link

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a minor thing in the readme.

README.md Outdated

Use Node.js' dns promises API if available.
```js
const { Resolver } = require('dns').promises || require('dns-over-http-resolver')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example isn't going to work. I'd just specify that users can use require('dns').promises in Node.js in lieu of this module.

@vasco-santos vasco-santos merged commit bbf4949 into main Oct 13, 2020
@vasco-santos vasco-santos deleted the feat/initial-implementation branch October 13, 2020 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants