feat: mise à jour sécurité CVE-2025-55182 (Next.js 15.5.7, React 19.1.2)

This commit is contained in:
jessy-david-dev
2026-02-08 17:24:48 +01:00
commit b9a9d687b6
64 changed files with 15638 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { z } from "zod";
export const projectSchema = z.object({
id: z.string().uuid(),
joueur: z.string(),
projet: z.string(),
description: z.string(),
coords: z.string().nullable(),
etat: z.enum(["En cours", "Terminé", "Pause"]),
monde: z.enum(["Overworld", "Nether", "End"]),
tags: z.array(z.string()),
createdAt: z.date().or(z.string().transform((s) => new Date(s))),
});
export type SafeProject = z.infer<typeof projectSchema>;