frontend/src/links/shodan.ts in mihari-5.2.4 vs frontend/src/links/shodan.ts in mihari-5.3.0

- old
+ new

@@ -1,20 +1,20 @@ -import { BaseLink } from "@/links/base"; -import { Link, LinkType } from "@/types"; +import { BaseLink } from "@/links/base" +import type { Link, LinkType } from "@/types" export class Shodan extends BaseLink implements Link { - public baseURL: string; - public name: string; - public type: LinkType; + public baseURL: string + public name: string + public type: LinkType public constructor() { - super(); + super() - this.baseURL = "https://www.shodan.io"; - this.name = "Shodan"; - this.type = "ip"; + this.baseURL = "https://www.shodan.io" + this.name = "Shodan" + this.type = "ip" } public href(data: string): string { - return this.baseURL + `/host/${data}`; + return this.baseURL + `/host/${data}` } }