Skip to content

domhandler 4.2.0

New features:

  • Node improvements d5422c2
    • feat(node): Add type check functions
      • Eg. isDocument, isTag. Useful for determining if a node matches a particular type.
    • Make cloneNode return the passed type
      • Eg. cloneNode called with a Text node will now return a Text node.

https://github.com/fb55/domhandler/compare/v4.1.0...v4.2.0