fix(whois): improve type safety and harden WHOIS parsing for missing fields
This commit is contained in:
@@ -3,7 +3,7 @@ import * as tsclass from '@tsclass/tsclass';
|
||||
|
||||
export {
|
||||
tsclass,
|
||||
}
|
||||
};
|
||||
|
||||
// pushrocks scope
|
||||
import * as smarturl from '@push.rocks/smarturl';
|
||||
@@ -12,7 +12,7 @@ import * as smartrequest from '@push.rocks/smartrequest';
|
||||
export {
|
||||
smarturl,
|
||||
smartrequest,
|
||||
}
|
||||
};
|
||||
|
||||
// third party
|
||||
import * as whoiser from 'whoiser';
|
||||
@@ -21,4 +21,4 @@ import tldts from 'tldts';
|
||||
export {
|
||||
whoiser,
|
||||
tldts,
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user