diff options
| author | Shyam Sunder <sgsunder1@gmail.com> | 2020-06-23 13:24:59 -0400 |
|---|---|---|
| committer | Shyam Sunder <sgsunder1@gmail.com> | 2020-06-23 13:24:59 -0400 |
| commit | 0137cf383a81e0a2a0f5db7c2ded4b4a55c5e2fc (patch) | |
| tree | 2cbd181ff7e8818f99e56789b4215962cfb25aca /client/package.json | |
| parent | 342ca9ccba57f5d758baea1a4c67168c3175745d (diff) | |
client/markdown: use DOMPurify over marked.js sanitizer
See markedjs/marked#1232
Diffstat (limited to 'client/package.json')
| -rw-r--r-- | client/package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/package.json b/client/package.json index 696a215..e581cd6 100644 --- a/client/package.json +++ b/client/package.json @@ -6,6 +6,7 @@ "watch": "c1=\"\";while :;do c2=$(find html js css img -type f -and -not -iname '*autogen*'|sort|xargs cat|md5sum);[[ $c1 != $c2 ]]&&npm run build -- --debug --no-vendor-js;c1=$c2;sleep 1;done" }, "dependencies": { + "dompurify": "^2.0.11", "font-awesome": "^4.7.0", "ios-inner-height": "^1.0.3", "js-cookie": "^2.2.0", |