mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
chore: ⬆️ Upgrade dependencies
This commit is contained in:
parent
f67fed12e0
commit
1509786090
16 changed files with 35 additions and 34 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { createMiddleware } from "@hono/hono/factory";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
import { config } from "~/packages/config-manager";
|
||||
|
||||
export const agentBans = createMiddleware(async (context, next) => {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { createMiddleware } from "@hono/hono/factory";
|
||||
import { getLogger } from "@logtape/logtape";
|
||||
import type { BunFile, SocketAddress } from "bun";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
import { matches } from "ip-matching";
|
||||
import { config } from "~/packages/config-manager";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { createMiddleware } from "@hono/hono/factory";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
|
||||
export const boundaryCheck = createMiddleware(async (context, next) => {
|
||||
// Checks that FormData boundary is present
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { sentry } from "@/sentry";
|
||||
import { createMiddleware } from "@hono/hono/factory";
|
||||
import { getLogger } from "@logtape/logtape";
|
||||
import type { SocketAddress } from "bun";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
import { matches } from "ip-matching";
|
||||
import { config } from "~/packages/config-manager";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { createMiddleware } from "@hono/hono/factory";
|
||||
import { getLogger } from "@logtape/logtape";
|
||||
import chalk from "chalk";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
import { config } from "~/packages/config-manager";
|
||||
|
||||
export const logger = createMiddleware(async (context, next) => {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { createMiddleware } from "@hono/hono/factory";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
import { config } from "~/packages/config-manager";
|
||||
|
||||
export const urlCheck = createMiddleware(async (context, next) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue