v2.2.0
Features
- Add support for the
HTMLRewriter
Element#onEndTag(handler)
method - Add support for the
html_rewriter_treats_esi_include_as_void_tag
compatibility flag - Make the error message when attempting to import Node.js built-in modules more helpful
Fixes
- Fix
instanceof
checks withnull
values. 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
TypeError
instead of astring
when the parameter passed to aHTMLRewriter
handler is used outside the handler