Releases: google/safevalues
Releases · google/safevalues
v1.2.0
1.2.0 - 2025-02-13
Changed
- Support
application/octet-stream
as a MIME type inobjectUrlFromSafeSource
- Support certain font MIME types in
objectUrlFromSafeSource
- Support certain font MIME types in
objectUrlFromSafeSource
- Support additional image and audio MIME type formats in
objectUrlFromSafeSource
v1.1.0
1.1.0 - 2025-02-06
Added
- Implement
setElementAttribute
and document it - Add a
.withOpenShadow
CssSanitizerBuilder
option - Add "controlslist" to the list of globally permitted attributes
- Add a CHANGELOG.md that follows https://common-changelog.org/
Changed
- Downgrade the global attribute contracts for "cite" and "poster" attributes in the sanitizer
- Extend
allowDataAttributes
from theHtmlSanitizerBuilder
to allow anydata-*
attributes
v1.0.1
1.0.1 (2025-01-03)
First major version.
https://www.npmjs.com/package/safevalues/v/1.0.1
Full Changelog: https://github.com/google/safevalues/commits/1.0.1