fix: purify nation-authored HTML at server boundaries

This commit is contained in:
2026-07-31 06:41:09 +00:00
parent 71ec02d091
commit 243f58be9a
16 changed files with 898 additions and 55 deletions
+2
View File
@@ -26,6 +26,7 @@
"typecheck": "tsc -b"
},
"devDependencies": {
"@types/sanitize-html": "2.16.1",
"tsdown": "^0.18.4",
"vite-tsconfig-paths": "^6.0.3",
"vitest": "^4.0.16"
@@ -42,6 +43,7 @@
"es-toolkit": "^1.43.0",
"fastify": "^5.6.2",
"redis": "^5.10.0",
"sanitize-html": "2.17.6",
"sharp": "^0.34.4",
"zod": "^4.3.5"
}