Comparing version 0.0.9 to 0.0.10
@@ -459,2 +459,3 @@ /*! | ||
this.dots = Math.min(15, util.parseU8(arg)); | ||
this.dots = Math.max(1, this.dots); | ||
} catch (e) { | ||
@@ -461,0 +462,0 @@ continue; |
@@ -56,2 +56,3 @@ /*! | ||
this.hints = new Hints(); | ||
this.maxReferrals = 20; | ||
@@ -77,2 +78,7 @@ this.initOptions(options); | ||
if (options.maxReferrals != null) { | ||
assert((options.maxReferrals >>> 0) === options.maxReferrals); | ||
this.maxReferrals = options.maxReferrals; | ||
} | ||
return this; | ||
@@ -507,3 +513,5 @@ } | ||
const rc = new ResolveContext(qs, ns, hops); | ||
rc.chain = this.dnssec; | ||
rc.maxReferrals = this.maxReferrals; | ||
@@ -510,0 +518,0 @@ return this.iterate(rc); |
@@ -27,6 +27,6 @@ /*! | ||
this.resolver = null; | ||
this.ra = false; | ||
this.inet6 = this.server.inet6; | ||
this.maxConnections = 20; | ||
this.ra = false; | ||
@@ -71,7 +71,2 @@ this.init(); | ||
if (options.ra != null) { | ||
assert(typeof options.ra === 'boolean'); | ||
this.ra = options.ra; | ||
} | ||
return this; | ||
@@ -78,0 +73,0 @@ } |
{ | ||
"name": "bns", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "DNS bike-shed", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
376176
14924