This commit is contained in:
Leandro Facchinetti 2020-03-31 12:57:56 -04:00
parent d1a30baa52
commit e8a99001ed
4 changed files with 1077 additions and 600 deletions

View File

@ -1,7 +1,3 @@
{
email kill-the-newsletter@leafac.com
}
www.kill-the-newsletter.com { www.kill-the-newsletter.com {
reverse_proxy localhost:8000 reverse_proxy localhost:8000
} }

1654
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
"test": "tsc && jest && prettier --check 'src/**'" "test": "tsc && jest && prettier --check 'src/**'"
}, },
"dependencies": { "dependencies": {
"caddy-npm": "^2.0.0-beta.18", "caddy-npm": "^2.0.0-beta.20",
"crypto-random-string": "^3.2.0", "crypto-random-string": "^3.2.0",
"express": "^4.17.1", "express": "^4.17.1",
"mailparser": "^2.7.7", "mailparser": "^2.7.7",
@ -17,21 +17,21 @@
"devDependencies": { "devDependencies": {
"@types/express": "^4.17.3", "@types/express": "^4.17.3",
"@types/jest": "^25.1.4", "@types/jest": "^25.1.4",
"@types/mailparser": "^2.7.0", "@types/mailparser": "^2.7.2",
"@types/node": "^13.9.1", "@types/node": "^13.9.8",
"@types/nodemailer": "^6.4.0", "@types/nodemailer": "^6.4.0",
"@types/qs": "^6.9.1", "@types/qs": "^6.9.1",
"@types/react": "^16.9.23", "@types/react": "^16.9.29",
"@types/react-dom": "^16.9.5", "@types/react-dom": "^16.9.5",
"@types/smtp-server": "^3.5.3", "@types/smtp-server": "^3.5.4",
"@types/xml2js": "^0.4.5", "@types/xml2js": "^0.4.5",
"axios": "^0.19.2", "axios": "^0.19.2",
"concurrently": "^5.1.0", "concurrently": "^5.1.0",
"jest": "^25.1.0", "jest": "^25.2.4",
"nodemailer": "^6.4.5", "nodemailer": "^6.4.6",
"nodemon": "^2.0.2", "nodemon": "^2.0.2",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"qs": "^6.9.1", "qs": "^6.9.3",
"typescript": "^3.8.3" "typescript": "^3.8.3"
}, },
"jest": { "jest": {

View File

@ -109,8 +109,7 @@ describe("receive email", () => {
afterAll(() => { afterAll(() => {
webServer.close(); webServer.close();
// FIXME: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/43268 emailServer.close();
emailServer.close(() => {});
}); });
const webClient = axios.create({ const webClient = axios.create({