Update dns.js and libdns.js to support njs 8.0.0#20
Update dns.js and libdns.js to support njs 8.0.0#20mariamatthews wants to merge 3 commits intoTuxInvader:masterfrom
Conversation
|
This fixed the issues I was having. |
|
@michaelkkehoe good to know! 😄 |
|
Hi Maria, Apologies for the delay in looking at this. I already had a branch (v2) that was using buffers in testing. I have merged that now, but it seems you also fixed an issue with |
|
Hi @TuxInvader , No worries, thanks for checking in :) I feel like I could potentially re-test this with your new v2? |
That would be awesome if you could, and then just create a PR for the GET changes if still required. Thank you :-) |
|
current master works fine here for me. This PR is probably obsolete now. wanna close it? |
Hi @TuxInvader ! Hope you're doing well :) It's me again lol
In njs 8.0.0 two methods used by the code were deprecated:
I have updated the code in dns.js and libdns.js to use native
Buffer.fromfunction to allow for latest njs 8.0.0 support. :)