Comparing version 1.1.0 to 1.1.1
@@ -46,5 +46,6 @@ "use strict"; | ||
// If X is not a top-level domain, then R(X) = R(P(X)) | ||
if (name.split(".").length > 1) { | ||
const parent = name.split(".").splice(1).join("."); | ||
// If X is not a top-level domain, then R(X) = R(P(X) | ||
const parts = name.split("."); | ||
if (parts.length > 1) { | ||
const parent = parts.splice(1).join("."); | ||
return await resolve({name: parent, socket, server, port}); | ||
@@ -51,0 +52,0 @@ } else { |
{ | ||
"name": "caa", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "rfc6844-conform CAA record lookup", | ||
@@ -5,0 +5,0 @@ "author": "silverwind <me@silverwind.io>", |
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
5313
70