Skip to content

domhandler 4.0.0

Features:

  • Add parse5 DOM extensions to types and add support in cloneNode bde2dc5
  • Add dedicated Document class de7c6d0
  • Add a root element to tree 4b8d326
    • BREAKING: Some nodes will now have a parent node where they did not have one before.

Refactors:

  • Remove _ from private property names 340fcd8
    • BREAKING: This might break your code if you were using private properties previously, eg. in a custom handler.

Fixes:

  • Clone indices as well (#352 by @neet) ea60538

Misc:

  • Run test on ppc64le as well (#398 by @nageshlop) 3d3c278

https://github.com/fb55/domhandler/compare/v3.3.0...v4.0.0