chore: ⬆️ Upgrade dependencies

This commit is contained in:
Jesse Wierzbinski 2025-11-21 08:31:02 +01:00
parent f260064083
commit f00ac1a590
No known key found for this signature in database
173 changed files with 665 additions and 752 deletions

View file

@ -2,7 +2,7 @@ import type { ContentfulStatusCode } from "hono/utils/http-status";
import type { JSONObject } from "hono/utils/types";
import type { DescribeRouteOptions } from "hono-openapi";
import { resolver } from "hono-openapi";
import { z } from "zod/v4";
import { z } from "zod";
/**
* API Error

View file

@ -10,7 +10,7 @@ import { every } from "hono/combine";
import { createMiddleware } from "hono/factory";
import { validator } from "hono-openapi";
import { type ParsedQs, parse } from "qs";
import { type ZodAny, ZodError, z } from "zod/v4";
import { type ZodAny, ZodError, z } from "zod";
import { fromZodError } from "zod-validation-error";
import type { AuthData, HonoEnv } from "~/types/api";
import { ApiError } from "./api-error.ts";

View file

@ -10,7 +10,7 @@ import {
inArray,
type SQL,
} from "drizzle-orm";
import type { z } from "zod/v4";
import type { z } from "zod";
import { db } from "../tables/db.ts";
import { Clients } from "../tables/schema.ts";
import { BaseInterface } from "./base.ts";

View file

@ -16,7 +16,7 @@ import {
isNull,
type SQL,
} from "drizzle-orm";
import type { z } from "zod/v4";
import type { z } from "zod";
import { db } from "../tables/db.ts";
import { Emojis, type Instances, type Medias } from "../tables/schema.ts";
import { BaseInterface } from "./base.ts";

View file

@ -16,7 +16,7 @@ import {
type SQL,
} from "drizzle-orm";
import sharp from "sharp";
import type { z } from "zod/v4";
import type { z } from "zod";
import { mimeLookup } from "@/content_types.ts";
import { getMediaHash } from "../../../classes/media/media-hasher.ts";
import { ApiError } from "../api-error.ts";

View file

@ -20,7 +20,7 @@ import {
} from "drizzle-orm";
import { htmlToText } from "html-to-text";
import { createRegExp, exactly, global } from "magic-regexp";
import type { z } from "zod/v4";
import type { z } from "zod";
import { mergeAndDeduplicate } from "@/lib.ts";
import { sanitizedHtmlStrip } from "@/sanitization";
import { versiaTextToHtml } from "../parsers.ts";

View file

@ -7,7 +7,7 @@ import {
inArray,
type SQL,
} from "drizzle-orm";
import type { z } from "zod/v4";
import type { z } from "zod";
import { db } from "../tables/db.ts";
import { Notifications } from "../tables/schema.ts";
import { BaseInterface } from "./base.ts";

View file

@ -7,7 +7,7 @@ import {
inArray,
type SQL,
} from "drizzle-orm";
import type { z } from "zod/v4";
import type { z } from "zod";
import { db } from "../tables/db.ts";
import { PushSubscriptions, Tokens } from "../tables/schema.ts";
import { BaseInterface } from "./base.ts";

View file

@ -10,7 +10,7 @@ import {
type SQL,
sql,
} from "drizzle-orm";
import { z } from "zod/v4";
import { z } from "zod";
import { db } from "../tables/db.ts";
import { Relationships, Users } from "../tables/schema.ts";
import { BaseInterface } from "./base.ts";

View file

@ -12,7 +12,7 @@ import {
inArray,
type SQL,
} from "drizzle-orm";
import type { z } from "zod/v4";
import type { z } from "zod";
import { db } from "../tables/db.ts";
import { Roles, RoleToUsers } from "../tables/schema.ts";
import { BaseInterface } from "./base.ts";

View file

@ -7,7 +7,7 @@ import {
inArray,
type SQL,
} from "drizzle-orm";
import type { z } from "zod/v4";
import type { z } from "zod";
import { db } from "../tables/db.ts";
import { Tokens } from "../tables/schema.ts";
import type { Client } from "./application.ts";

View file

@ -30,7 +30,7 @@ import {
sql,
} from "drizzle-orm";
import { htmlToText } from "html-to-text";
import type { z } from "zod/v4";
import type { z } from "zod";
import { getBestContentType } from "@/content_types";
import { randomString } from "@/math";
import type { HttpVerb, KnownEntity } from "~/types/api.ts";

View file

@ -28,7 +28,6 @@ export enum SonicIndexType {
export class SonicSearchManager {
private readonly searchChannel: SonicChannelSearch;
private readonly ingestChannel: SonicChannelIngest;
// biome-ignore lint/nursery/useReadonlyClassProperties: biome is wrong lol
private connected = false;
/**

View file

@ -25,7 +25,7 @@ import {
uniqueIndex,
uuid,
} from "drizzle-orm/pg-core";
import type { z } from "zod/v4";
import type { z } from "zod";
const createdAt = () =>
// TODO: Change mode to Date