summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-11-02 15:35:17 -0400
committerKit La Touche <kit@transneptune.net>2024-11-02 15:35:17 -0400
commita5a293558592cf53bf6bdde44e793dd6ab243837 (patch)
treebc2f0f0b28be7cb9e93f64022798bd93ddd9133f /package.json
parenta32b0ab6ad7995b8fff98e423793a7c6521ea1e9 (diff)
Actually sanitize rendered Markdown
Diffstat (limited to 'package.json')
-rw-r--r--package.json11
1 files changed, 6 insertions, 5 deletions
diff --git a/package.json b/package.json
index 8a54766..b2f9e37 100644
--- a/package.json
+++ b/package.json
@@ -2,10 +2,10 @@
"name": "hi",
"version": "0.0.1",
"private": true,
- "engines" : {
- "npm" : ">=10.8.3 <11.0.0",
- "node" : ">=22.9.0 <23.0.0"
- },
+ "engines": {
+ "npm": ">=10.8.3 <11.0.0",
+ "node": ">=22.9.0 <23.0.0"
+ },
"scripts": {
"dev": "vite dev",
"build": "vite build",
@@ -37,6 +37,7 @@
"type": "module",
"dependencies": {
"axios": "^1.7.7",
- "svelte-markdown": "^0.4.1"
+ "dompurify": "^3.1.7",
+ "marked": "^14.1.3"
}
}