fix(core): update
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartwhois',
|
||||
version: '1.0.11',
|
||||
version: '1.0.12',
|
||||
description: 'a package for dealing with whois requests'
|
||||
}
|
||||
|
@ -42,6 +42,9 @@ export class SmartWhois {
|
||||
* can be used to prepare an input for the whois command
|
||||
*/
|
||||
public async getParsedUrlResultForWhois(urlArg: string) {
|
||||
if (!urlArg.includes('//')) {
|
||||
urlArg = `https://${urlArg}`;
|
||||
}
|
||||
const smarturlInstance = plugins.smarturl.Smarturl.createFromUrl(urlArg);
|
||||
const tldtsData = plugins.tldts.parse(urlArg);
|
||||
return {
|
||||
|
Reference in New Issue
Block a user