Skip to content

Releases: google/safevalues

v1.2.0

13 Feb 14:47
Compare
Choose a tag to compare

1.2.0 - 2025-02-13

Changed

  • Support application/octet-stream as a MIME type in objectUrlFromSafeSource
  • Support certain font MIME types in objectUrlFromSafeSource
  • Support certain font MIME types in objectUrlFromSafeSource
  • Support additional image and audio MIME type formats in
    objectUrlFromSafeSource

https://www.npmjs.com/package/safevalues/v/1.2.0

v1.1.0

07 Feb 13:52
Compare
Choose a tag to compare

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 the HtmlSanitizerBuilder to allow any data-* attributes

https://www.npmjs.com/package/safevalues/v/1.1.0

v1.0.1

06 Feb 10:14
Compare
Choose a tag to compare