build(deps): update latest

This commit is contained in:
Divlo
2022-08-23 21:53:07 +00:00
parent 50dbab7dfe
commit 46745e1b7e
12 changed files with 1792 additions and 2603 deletions

View File

@ -14,8 +14,7 @@ export const messageSchema = {
type: Type.Union(types, { default: 'text' }),
mimetype: Type.String({
maxLength: 127,
default: 'text/plain',
format: 'mimetype'
default: 'text/plain'
}),
createdAt: date.createdAt,
updatedAt: date.updatedAt,

View File

@ -1,6 +1,6 @@
import dotenv from 'dotenv'
import nodemailer from 'nodemailer'
import type SMTPTransport from 'nodemailer/lib/smtp-transport.js'
import type SMTPTransport from 'nodemailer/lib/smtp-transport/index.js'
dotenv.config()
const EMAIL_PORT = parseInt(process.env.EMAIL_PORT ?? '465', 10)

View File

@ -8,7 +8,9 @@ await tap.test('tools/plugins/socket-io', async (t) => {
const PORT = 3030
const application = fastify()
await application.register(fastifySocketIo)
await application.listen(PORT)
await application.listen({
port: PORT
})
t.not(application.io, null)
await application.close()
})