Skip to content

Releases: fb55/domhandler

v4.0.0

02 Dec 01:59
Compare
Choose a tag to compare

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:

Misc:

v3.3.0...v4.0.0

v3.3.0

03 Oct 21:32
Compare
Choose a tag to compare
  • Add cloneNode method & function 5babe0d

v3.2.0...v3.3.0

v3.2.0

25 Sep 19:04
Compare
Choose a tag to compare
  • Make DOM serializable by Jest
    • Jest now properly renders the produced DOM in snapshots.

v3.1.0

23 Sep 20:39
Compare
Choose a tag to compare
  • package.json improvements:
  • Add access modifiers across the codebase
  • Improve test coverage
  • Update funding information

Port to TypeScript, Jest

03 Aug 20:40
Compare
Choose a tag to compare

The withDomLvl1 option was removed. Instead, there are now three different types of nodes, which all have a backing class that adds all of the previously available DOM level 1 properties by default.

Exports were changed slightly.