-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
127 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import Vue, { VNode } from "vue" | ||
import Vue, { VNode } from 'vue' | ||
|
||
declare global { | ||
namespace JSX { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
declare module "*.vue" { | ||
import Vue from "vue" | ||
declare module '*.vue' { | ||
import Vue from 'vue' | ||
export default Vue | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,78 @@ | ||
import { Header } from "@/types" | ||
import { Header } from '@/types' | ||
|
||
export const header: Header = { | ||
messageId: "test", | ||
subject: "test", | ||
messageId: 'test', | ||
subject: 'test', | ||
defect: undefined, | ||
from: "[email protected]", | ||
to: ["[email protected]"], | ||
from: '[email protected]', | ||
to: ['[email protected]'], | ||
cc: [], | ||
date: "2020-06-26T19:01:46+09:00", | ||
date: '2020-06-26T19:01:46+09:00', | ||
receivedEmail: undefined, | ||
receivedForemail: ["[email protected]"], | ||
receivedDomain: ["[email protected]"], | ||
receivedIp: ["1.1.1.1"], | ||
receivedForemail: ['[email protected]'], | ||
receivedDomain: ['[email protected]'], | ||
receivedIp: ['1.1.1.1'], | ||
receivedSrc: undefined, | ||
received: [ | ||
{ | ||
by: ["mx.google.com"], | ||
date: "2020-06-26T03:01:53-07:00", | ||
for: ["[email protected]"], | ||
from: ["bmmph0401.jpx1.mta.foo.com", "1.1.1.1"], | ||
src: "from bmmph0401.jpx1.mta.foo.com (bmmph0401.jpx1.mta.foo.com. [1.1.1.1]) by mx.google.com with esmtps id t23si17369479plr.47.2020.06.26.03.01.52 for <[email protected]> (version=tls1_2 cipher=ecdhe-ecdsa-aes128-gcm-sha256 bits=128/128); fri, 26 jun 2020 03:01:53 -0700 (pdt)", | ||
with: "esmtps id t23si17369479plr.47.2020.06.26.03.01.52", | ||
by: ['mx.google.com'], | ||
date: '2020-06-26T03:01:53-07:00', | ||
for: ['[email protected]'], | ||
from: ['bmmph0401.jpx1.mta.foo.com', '1.1.1.1'], | ||
src: 'from bmmph0401.jpx1.mta.foo.com (bmmph0401.jpx1.mta.foo.com. [1.1.1.1]) by mx.google.com with esmtps id t23si17369479plr.47.2020.06.26.03.01.52 for <[email protected]> (version=tls1_2 cipher=ecdhe-ecdsa-aes128-gcm-sha256 bits=128/128); fri, 26 jun 2020 03:01:53 -0700 (pdt)', | ||
with: 'esmtps id t23si17369479plr.47.2020.06.26.03.01.52', | ||
delay: 0 | ||
}, | ||
{ | ||
by: ["2002:a67:d211:0:0:0:0:0"], | ||
date: "2020-06-26T03:01:53-07:00", | ||
by: ['2002:a67:d211:0:0:0:0:0'], | ||
date: '2020-06-26T03:01:53-07:00', | ||
for: [], | ||
from: [], | ||
src: "by 2002:a67:d211:0:0:0:0:0 with smtp id y17csp352571vsi; fri, 26 jun 2020 03:01:53 -0700 (pdt)", | ||
with: "smtp id y17csp352571vsi", | ||
src: 'by 2002:a67:d211:0:0:0:0:0 with smtp id y17csp352571vsi; fri, 26 jun 2020 03:01:53 -0700 (pdt)', | ||
with: 'smtp id y17csp352571vsi', | ||
delay: 0 | ||
} | ||
], | ||
header: { | ||
"received-spf": [ | ||
"pass (google.com: domain of [email protected] designates 1.1.1.1 as permitted sender) client-ip=1.1.1.1;" | ||
'received-spf': [ | ||
'pass (google.com: domain of [email protected] designates 1.1.1.1 as permitted sender) client-ip=1.1.1.1;' | ||
], | ||
"x-google-smtp-source": [ | ||
"ABdhPJynAuSfgxdlFyZKa8N4JPifULWPwMyWEKsHolJ8pNC9GERVBXeb4+L0MhU9oBo8rNc3zQSJ" | ||
'x-google-smtp-source': [ | ||
'ABdhPJynAuSfgxdlFyZKa8N4JPifULWPwMyWEKsHolJ8pNC9GERVBXeb4+L0MhU9oBo8rNc3zQSJ' | ||
], | ||
"message-id": ["<[email protected]>"], | ||
'message-id': ['<[email protected]>'], | ||
received: [ | ||
"by 2002:a67:d211:0:0:0:0:0 with SMTP id y17csp352571vsi; Fri, 26 Jun 2020 03:01:53 -0700 (PDT)", | ||
"from bmmph0401.jpx1.mta.foo.com (bmmph0401.jpx1.mta.foo.com. [1.1.1.1]) by mx.google.com with ESMTPS id t23si17369479plr.47.2020.06.26.03.01.52 for <[email protected]> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jun 2020 03:01:53 -0700 (PDT)" | ||
'by 2002:a67:d211:0:0:0:0:0 with SMTP id y17csp352571vsi; Fri, 26 Jun 2020 03:01:53 -0700 (PDT)', | ||
'from bmmph0401.jpx1.mta.foo.com (bmmph0401.jpx1.mta.foo.com. [1.1.1.1]) by mx.google.com with ESMTPS id t23si17369479plr.47.2020.06.26.03.01.52 for <[email protected]> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jun 2020 03:01:53 -0700 (PDT)' | ||
], | ||
"return-path": ["<[email protected]>"], | ||
precedence: ["bulk"], | ||
"arc-message-signature": [ | ||
"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=precedence:content-transfer-encoding:mime-version:subject :message-id:to:from:date:errors-to:dkim-signature; bh=5X/o+J4YmAran7geSjikplGuCf5NG3YpI+9GzTfzt34=; b=jHiB2xk5BKONH9V1GWizSSG6Se6s7p0lFR6t8IGweC3mpoi5FCsLYRNorTFl8xi2NS qy1aQAbd66dzi6DwAlFiOu8o1FH2lELz8OOttGUmCR4sVm9SZM/wN4QBe5Ws+3EXviWa MypP71tqM2w0ZztyO0TdeIlP//K9nGMqBw8PTnXFU8fxJ/USDPPBWpDb36py6/xYJ4+E FhR9GPY+bRhSLT8PZ4diYw7EJkDe5oNw1HDGMlpjLU6r1sXpeKOiAezfaA5mBuQ5Uovc Pe+QiemKOo5kQFIVw7KcBaAwYAHw9EVa5CFW6OwXs4Wo2+e3W3m9C2HFvVYK5QG/V3q5 AUeg==" | ||
'return-path': ['<[email protected]>'], | ||
precedence: ['bulk'], | ||
'arc-message-signature': [ | ||
'i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=precedence:content-transfer-encoding:mime-version:subject :message-id:to:from:date:errors-to:dkim-signature; bh=5X/o+J4YmAran7geSjikplGuCf5NG3YpI+9GzTfzt34=; b=jHiB2xk5BKONH9V1GWizSSG6Se6s7p0lFR6t8IGweC3mpoi5FCsLYRNorTFl8xi2NS qy1aQAbd66dzi6DwAlFiOu8o1FH2lELz8OOttGUmCR4sVm9SZM/wN4QBe5Ws+3EXviWa MypP71tqM2w0ZztyO0TdeIlP//K9nGMqBw8PTnXFU8fxJ/USDPPBWpDb36py6/xYJ4+E FhR9GPY+bRhSLT8PZ4diYw7EJkDe5oNw1HDGMlpjLU6r1sXpeKOiAezfaA5mBuQ5Uovc Pe+QiemKOo5kQFIVw7KcBaAwYAHw9EVa5CFW6OwXs4Wo2+e3W3m9C2HFvVYK5QG/V3q5 AUeg==' | ||
], | ||
"content-transfer-encoding": ["7bit"], | ||
"arc-authentication-results": [ | ||
"i=1; mx.google.com; dkim=pass [email protected] header.s=excite.201701 header.b=CTe5NYEx; spf=pass (google.com: domain of [email protected] designates 1.1.1.1 as permitted sender) [email protected]; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=excite.jp" | ||
'content-transfer-encoding': ['7bit'], | ||
'arc-authentication-results': [ | ||
'i=1; mx.google.com; dkim=pass [email protected] header.s=excite.201701 header.b=CTe5NYEx; spf=pass (google.com: domain of [email protected] designates 1.1.1.1 as permitted sender) [email protected]; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=excite.jp' | ||
], | ||
"mime-version": ["1.0"], | ||
"errors-to": ["[email protected]"], | ||
"authentication-results": [ | ||
"mx.google.com; dkim=pass [email protected] header.s=excite.201701 header.b=CTe5NYEx; spf=pass (google.com: domain of [email protected] designates 1.1.1.1 as permitted sender) [email protected]; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=excite.jp" | ||
'mime-version': ['1.0'], | ||
'errors-to': ['[email protected]'], | ||
'authentication-results': [ | ||
'mx.google.com; dkim=pass [email protected] header.s=excite.201701 header.b=CTe5NYEx; spf=pass (google.com: domain of [email protected] designates 1.1.1.1 as permitted sender) [email protected]; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=excite.jp' | ||
], | ||
"delivered-to": ["[email protected]"], | ||
"x-received": [ | ||
"by 2002:aa7:9473:: with SMTP id t19mr1999753pfq.148.1593165713699; Fri, 26 Jun 2020 03:01:53 -0700 (PDT)" | ||
'delivered-to': ['[email protected]'], | ||
'x-received': [ | ||
'by 2002:aa7:9473:: with SMTP id t19mr1999753pfq.148.1593165713699; Fri, 26 Jun 2020 03:01:53 -0700 (PDT)' | ||
], | ||
from: ["エキサイトからのお知らせ <[email protected]>"], | ||
"content-type": ['multipart/alternative; boundary="-44e2071d5e8e429d7d1dc98f76e0fb07-1"'], | ||
"dkim-signature": [ | ||
"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1593165713;\ts=excite.201701; d=excite.jp;\th=Date:From:To:Message-Id:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding;\tbh=5X/o+J4YmAran7geSjikplGuCf5NG3YpI+9GzTfzt34=;\tb=CTe5NYExX5M1pLnI5ivQ9aFL9zzE79ruSCe1H/AnjaTYlYAW3ik3PrmRBJU0YKpC\tl6qA6aKNdWH7Yraj3e42jQ0Xvb5d3SCSPvDa1EzYDtXHhn8vRZ+HPh00WByfeExjrC8\t9nLaj30P4YODjvH8oCMc8z79mz0hdlEvRR+fsBGs=" | ||
from: ['エキサイトからのお知らせ <[email protected]>'], | ||
'content-type': ['multipart/alternative; boundary="-44e2071d5e8e429d7d1dc98f76e0fb07-1"'], | ||
'dkim-signature': [ | ||
'v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1593165713;\ts=excite.201701; d=excite.jp;\th=Date:From:To:Message-Id:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding;\tbh=5X/o+J4YmAran7geSjikplGuCf5NG3YpI+9GzTfzt34=;\tb=CTe5NYExX5M1pLnI5ivQ9aFL9zzE79ruSCe1H/AnjaTYlYAW3ik3PrmRBJU0YKpC\tl6qA6aKNdWH7Yraj3e42jQ0Xvb5d3SCSPvDa1EzYDtXHhn8vRZ+HPh00WByfeExjrC8\t9nLaj30P4YODjvH8oCMc8z79mz0hdlEvRR+fsBGs=' | ||
], | ||
date: ["Fri, 26 Jun 2020 19:01:46 +0900"], | ||
subject: ["foo"], | ||
"arc-seal": [ | ||
"i=1; a=rsa-sha256; t=1593165713; cv=none; d=google.com; s=arc-20160816; b=xeegMa+rviltYXtidrs3Y0HQHa8kz/UtJlxXuqi0BJjH6x1i5T2fu6mvQZE2UXvckL NNr6mKB8M80RsMeyVTlgGBch4VJde/1eMQuu6D02h6voPYT3yY2zSh/ILUopEgEHiJdG hab2+Ai/iPkYl0qef+fUr78+ei06Ke2/9zepsKIgbM7sjOPnpkK5ISA5jR5q7cKGxzeU qiHLRYP9cYokw1SQ/LGhpFQ5oQo0IPbM8SleRPvrqNNUob4/7oFcwMIi73qHRrLz4aNw bcEmVmtfyzfU5o5ZoykWyuyCKKHQYjZH5pUdZci9fVtkHY7FnpVr/nPtVj9620iBHfMP dHOg==" | ||
date: ['Fri, 26 Jun 2020 19:01:46 +0900'], | ||
subject: ['foo'], | ||
'arc-seal': [ | ||
'i=1; a=rsa-sha256; t=1593165713; cv=none; d=google.com; s=arc-20160816; b=xeegMa+rviltYXtidrs3Y0HQHa8kz/UtJlxXuqi0BJjH6x1i5T2fu6mvQZE2UXvckL NNr6mKB8M80RsMeyVTlgGBch4VJde/1eMQuu6D02h6voPYT3yY2zSh/ILUopEgEHiJdG hab2+Ai/iPkYl0qef+fUr78+ei06Ke2/9zepsKIgbM7sjOPnpkK5ISA5jR5q7cKGxzeU qiHLRYP9cYokw1SQ/LGhpFQ5oQo0IPbM8SleRPvrqNNUob4/7oFcwMIi73qHRrLz4aNw bcEmVmtfyzfU5o5ZoykWyuyCKKHQYjZH5pUdZci9fVtkHY7FnpVr/nPtVj9620iBHfMP dHOg==' | ||
], | ||
to: ["[email protected]"] | ||
to: ['[email protected]'] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import { describe, expect, it } from "vitest" | ||
import { describe, expect, it } from 'vitest' | ||
|
||
import { Crtsh } from "@/links/crtsh" | ||
import { Crtsh } from '@/links/crtsh' | ||
|
||
describe("Crtsh", function () { | ||
describe('Crtsh', function () { | ||
const subject = new Crtsh() | ||
|
||
describe("#type", function () { | ||
it("equals to domain", function () { | ||
expect(subject.type).toEqual("domain") | ||
describe('#type', function () { | ||
it('equals to domain', function () { | ||
expect(subject.type).toEqual('domain') | ||
}) | ||
}) | ||
|
||
describe("#href", function () { | ||
it("returns URL", function () { | ||
const value = "example.com" | ||
expect(subject.href(value)).toEqual("https://crt.sh/?q=example.com") | ||
describe('#href', function () { | ||
it('returns URL', function () { | ||
const value = 'example.com' | ||
expect(subject.href(value)).toEqual('https://crt.sh/?q=example.com') | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import { describe, expect, it } from "vitest" | ||
import { describe, expect, it } from 'vitest' | ||
|
||
import { EmailRep } from "@/links/emailrep" | ||
import { EmailRep } from '@/links/emailrep' | ||
|
||
describe("EmailRep", function () { | ||
describe('EmailRep', function () { | ||
const subject = new EmailRep() | ||
|
||
describe("#type", function () { | ||
it("equals to email", function () { | ||
expect(subject.type).toEqual("email") | ||
describe('#type', function () { | ||
it('equals to email', function () { | ||
expect(subject.type).toEqual('email') | ||
}) | ||
}) | ||
|
||
describe("#href", function () { | ||
it("returns URL", function () { | ||
const value = "[email protected]" | ||
expect(subject.href(value)).toEqual("https://emailrep.io/[email protected]") | ||
describe('#href', function () { | ||
it('returns URL', function () { | ||
const value = '[email protected]' | ||
expect(subject.href(value)).toEqual('https://emailrep.io/[email protected]') | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import { describe, expect, it } from "vitest" | ||
import { describe, expect, it } from 'vitest' | ||
|
||
import { SecurityTrails } from "@/links/securitytrails" | ||
import { SecurityTrails } from '@/links/securitytrails' | ||
|
||
describe("SecurityTrails", function () { | ||
describe('SecurityTrails', function () { | ||
const subject = new SecurityTrails() | ||
|
||
describe("#type", function () { | ||
it("equals to domain", function () { | ||
expect(subject.type).toEqual("domain") | ||
describe('#type', function () { | ||
it('equals to domain', function () { | ||
expect(subject.type).toEqual('domain') | ||
}) | ||
}) | ||
|
||
describe("#href", function () { | ||
it("returns URL", function () { | ||
const value = "example.com" | ||
expect(subject.href(value)).toEqual("https://securitytrails.com/domain/example.com") | ||
describe('#href', function () { | ||
it('returns URL', function () { | ||
const value = 'example.com' | ||
expect(subject.href(value)).toEqual('https://securitytrails.com/domain/example.com') | ||
}) | ||
}) | ||
}) |
Oops, something went wrong.