库名 | 最新版本 | 描述 |
---|---|---|
dompurify | 3.2.0 | DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else using Blink or WebKit). DOMPurify is written by security people who have vast background in web attacks and XSS. Fear not. |
sanitize-html | 1.27.5 | Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis |