Comparing version 0.3.3 to 0.3.4
@@ -685,2 +685,6 @@ /* | ||
var req = new mod_nsc.DnsMessage(); | ||
req.addQuestion(dom, type); | ||
req.addEDNS({ maxUDPLength: 1420 }); | ||
var timer = setTimeout(function () { | ||
@@ -693,6 +697,2 @@ if (timer !== undefined) { | ||
var req = new mod_nsc.DnsMessage(); | ||
req.addQuestion(dom, type); | ||
req.addEDNS({ maxUDPLength: 1420 }); | ||
function onError(err) { | ||
@@ -703,3 +703,2 @@ if (timer === undefined) | ||
timer = undefined; | ||
req.cancel = function () { }; | ||
cb(err); | ||
@@ -715,3 +714,4 @@ } | ||
var nreq = self._dnsLookup(dom, res, type, 'tcp', cb); | ||
var nreq = self._dnsLookup(dom, res, type, 'tcp', | ||
timeout, cb); | ||
clearTimeout(timer); | ||
@@ -733,3 +733,3 @@ timer = undefined; | ||
timer = undefined; | ||
req.cancel = function () { }; | ||
done(); | ||
@@ -801,7 +801,3 @@ var answers = msg.getAnswers(); | ||
req.cancel = function () { | ||
sock.cancel(req); | ||
}; | ||
return (req); | ||
}; |
{ | ||
"name": "cueball", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "lib/index.js", | ||
"mooremachine": ">=1.2.0 <2.0.0", | ||
"named-client": "git://github.com/arekinath/node-named-client#v0.1.0", | ||
"named-client": "git://github.com/arekinath/node-named-client#v0.1.1", | ||
"node-uuid": ">=1.4.7 <2.0.0", | ||
@@ -15,0 +15,0 @@ "restify-clients": ">=1.1.2 <2.0.0", |
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
77347
2086