Use DOMPurify to sanitize HTML in typeahead results before rendering

This commit is contained in:
Niel Thiart
2023-12-07 11:11:45 +02:00
parent 54aa0d4873
commit 0a0dde5727
4 changed files with 33 additions and 2 deletions

View File

@@ -23,12 +23,14 @@
"@sveltejs/vite-plugin-svelte": "^2.5.2",
"@tauri-apps/cli": "^1.5.6",
"@tsconfig/svelte": "^5.0.0",
"@types/dompurify": "^3.0.5",
"@types/marked": "^6.0.0",
"@types/node": "^20.10.3",
"bulma": "^0.9.4",
"bulma-prefers-dark": "^0.1.0-beta.1",
"copy-to-clipboard": "^3.3.3",
"dexie": "^4.0.1-beta.1",
"dompurify": "^3.0.6",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-plugin-svelte3": "^4.0.0",
"flourite": "^1.2.4",