fix(whois): improve type safety and harden WHOIS parsing for missing fields

This commit is contained in:
2026-05-01 16:20:47 +00:00
parent dc3288cc51
commit c7d2b13c8b
11 changed files with 3637 additions and 4135 deletions
+4 -2
View File
@@ -38,6 +38,8 @@ tap.test('should check for a valid tld', async () => {
const comIsValid = await testSmartWhois.isValidTld('.com');
console.log(comIsValid);
expect(comIsValid).toBeTrue();
})
});
tap.start();
export default tap.start({
throwOnError: true
});