Lightning Web Security HTML and SVG sanitization utilities
This package provides a set of utilities to facilitate the sanitization of HTML and SVG using DOMPurify.
innerHTML, outerHTML etc.To upgrade DOMPurify, simply update the version number of the "dompurify" dependency in this package.json and the root package.json.
However, in production, Locker/LWS uses DOMPurify from Aura, and for this reason, the version of DOMPurify used by Locker/LWS in this repo must be kept in sync with the DOMPurify version in Aura.
Please see Aura's DOMPurify documentation for instructions on how to do that.