Repository navigation
3.5.0: Add factory function support
What's new
Features
- The default export is now callable as a factory function, matching the
dompurifyAPI —DOMPurify(window)now returns a new DOMPurify instance bound to the given window (#405)
Bug fixes
- Fixed
isEqualNodereturningfalsewhen comparingRETURN_DOM+FORCE_BODYoutput against nodes from a separate JSDOM context (#405)
Thanks to @probablykasper for helping with this release.