This repository was archived by the owner on Mar 13, 2025. It is now read-only.
v2.2.0
Features
- Add support for the
HTMLRewriterElement#onEndTag(handler)method - Add support for the
html_rewriter_treats_esi_include_as_void_tagcompatibility flag - Make the error message when attempting to import Node.js built-in modules more helpful
Fixes
- Fix
instanceofchecks withnullvalues. Closes issues #152 and #154. Thanks @Cerberus for the PR, and @bduff9, @huw & @g45t345rt for reporting this. - Fix subdirectory watching on Linux. Closes issue #153, thanks @huw for reporting this.
- Throw a
TypeErrorinstead of astringwhen the parameter passed to aHTMLRewriterhandler is used outside the handler