sanitize-html @2.17.0
MIT
License
No
Install Scripts
6
Dependencies
9
Dev Dependencies
19.8 KB
Package Size
Published
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
Maintainers
alexgilbertstuartromanekboutelletlaurentromanekbodonkeyharounvaljedgregvanbrugjimmyhaustinstaringrdunnfalkodevalexbeamtthwmncbreyell
Keywords
htmlparsersanitizersanitize
Dependencies (6)
| Package | Constraint | Registry Status |
|---|---|---|
| postcss | ^8.3.11 | auto_approved |
| deepmerge | ^4.2.2 | auto_approved |
| htmlparser2 | ^8.0.0 | auto_approved |
| parse-srcset | ^1.0.2 | auto_approved |
| is-plain-object | ^5.0.0 | auto_approved |
| escape-string-regexp | ^4.0.0 | auto_approved |
Dev Dependencies (9)
| Package | Constraint | Registry Status |
|---|---|---|
| mocha | ^10.2.0 | auto_approved |
| sinon | ^9.0.2 | auto_approved |
| eslint | ^7.3.1 | auto_approved |
| eslint-plugin-node | ^11.1.0 | auto_approved |
| eslint-plugin-import | ^2.25.2 | auto_approved |
| eslint-plugin-promise | ^4.2.1 | auto_approved |
| eslint-config-standard | ^14.1.1 | auto_approved |
| eslint-plugin-standard | ^4.0.1 | auto_approved |
| eslint-config-apostrophe | ^3.4.0 | Not imported |
Transitive Dependency Tree
14 transitive deps
max depth 5
├─
deepmerge
^4.2.2
→ 4.3.1
├─
escape-string-regexp
^4.0.0
→ 4.0.0
├─
htmlparser2
^8.0.0
→ 8.0.2
├─
is-plain-object
^5.0.0
→ 5.0.0
├─
parse-srcset
^1.0.2
→ 1.0.2
├─
postcss
^8.3.11
→ 8.5.12
├─
domelementtype
^2.3.0
→ 2.3.0
├─
domhandler
^5.0.3
→ 5.0.3
├─
domutils
^3.0.1
→ 3.2.2
├─
entities
^4.4.0
→ 4.5.0
├─
nanoid
^3.3.11
→ 3.3.12
├─
picocolors
^1.1.1
→ 1.1.1
├─
source-map-js
^1.2.1
→ 1.2.1
├─
dom-serializer
^2.0.0
→ 2.0.0
├─
domelementtype
^2.3.0
→ 2.3.0
├─
domhandler
^5.0.3
→ 5.0.3
├─
domelementtype
^2.3.0
→ 2.3.0
├─
domhandler
^5.0.2
→ 5.0.3
├─
entities
^4.2.0
→ 4.5.0
├─
domelementtype
^2.3.0
→ 2.3.0
Commit: 86efc067a635 Browse source
Published to npm: