@aegisjsproject/sanitizer
Advanced tools
Changelog
[v0.1.3] - 2024-11-06
setHTMLUnsafe()
instead of innerHTML
(supports declarative Shadow DOM)shadowrootclonable
and shadowrootserializable
in default HTML attribute listtrust-policy.js
module policy creationmain
and module
Changelog
[v0.1.2] - 2024-09-25
Changelog
[v0.1.1] - 2024-09-19
Changelog
[v0.1.0] - 2024-04-08
setHTML
method on DocumentFragment
(and therefore ShadowRoot
)sanitizer
propertyhtml
, svg
, and mathml
policies now default to comments = true
(base
has comments = false
)Changelog
[v0.0.10] - 2024-04-03
dataAttributes
to control allowing of data-*
attributes<use>
& xlink:href
, etctrustedTypes.getAttributeType()
if available when sanitizing attributesChangelog
[v0.0.9] - 2024-04-02
URL.parse
& Promise.withResolvers
Object.groupBy
Changelog
[v0.0.8] - 2024-04-01
@aegisjsproject/trusted-types
as dev dependencyChangelog
[v0.0.7] - 2024-03-28
*.cjs
versions of all modules*.min.js
versions of config files*.mjs
scripts@aegisjsproject/parsers
)Changelog
[v0.0.6] - 2024-03-28
*.min.*
& *.map
when publishingChangelog
[v0.0.5] - 2024-03-27
parsers
with tagged template functions for html, css, svg, etc