fix: remove as const from svgSanitizeOptions to fix DOMPurify type compat

This commit is contained in:
Thomas Camlong committed 2026-08-07 22:12:09 +02:00
1 parent 4270f2f2f1
commit 6f563640ac
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
---
iteration: 1
iteration: 2
max_iterations: 30
status: active
goal: "Review, fix, benchmark, and verify every package in Phase 1 performance branch until perfect"
@@ -4,7 +4,7 @@ import { parseHTML } from "linkedom";
const svgSanitizeOptions = {
USE_PROFILES: { svg: true, svgFilters: true },
FORBID_TAGS: ["style"],
} as const;
};
const LINKEDOM_NODE_PROPS = [
"ownerDocument",