Skip to content

Commit

Permalink
ADNAME is deprecated and will be removed.
Browse files Browse the repository at this point in the history
Fixes: #1
  • Loading branch information
cscott committed Oct 27, 2015
1 parent 03a8384 commit d50bca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var bind = function(c, f) { return f && f.bind(c); };
Object.defineProperties(module.exports, {
ADDRCONFIG: { enumerable: true, value: dns.ADDRCONFIG },
ADDRGETNETWORKPARAMS: { enumerable: true, value: dns.ADDRGETNETWORKPARAMS },
ADNAME: { enumerable: true, value: dns.ADNAME },
//ADNAME: // skipping
BADFAMILY: { enumerable: true, value: dns.BADFAMILY },
BADFLAGS: { enumerable: true, value: dns.BADFLAGS },
BADHINTS: { enumerable: true, value: dns.BADHINTS },
Expand Down
1 change: 1 addition & 0 deletions scripts/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var packages = {
pseudoRandomBytes: { promisify: true, syncIfNoCallback: true, args: 1 },
},
dns: {
ADNAME: { skip: true },
lookup: { promisify: true, args: 1 },
lookupService: { promisify: true, args: 2, cb:['hostname','service'] },
resolve: { promisify: true, args: 1 },
Expand Down

0 comments on commit d50bca0

Please sign in to comment.