Releases: google/safevalues
Releases · google/safevalues
v1.2.0
1.2.0 - 2025-02-13
Changed
- Support
application/octet-streamas 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
setElementAttributeand document it - Add a
.withOpenShadowCssSanitizerBuilderoption - 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
allowDataAttributesfrom theHtmlSanitizerBuilderto 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