Skip to content

Releases: fb55/domhandler

v5.0.3

30 Apr 11:00
Compare
Choose a tag to compare
  • fix: Allow Document to be a ChildNode 02387d3

v5.0.2...v5.0.3

v5.0.2

09 Apr 09:38
Compare
Choose a tag to compare
  • Fixed ChildNode as a tagged union d7f9a0f

v5.0.1...v5.0.2

v5.0.1

08 Apr 16:37
Compare
Choose a tag to compare
  • Fixed isComment return type b87ed12

v5.0.0...v5.0.1

v5.0.0

08 Apr 16:27
Compare
Choose a tag to compare

Breaking:

  • Removed the deprecated normalizeWhitespace option (#614) 6503e2d
  • Updated nodes to use tagged unions for node types (#804) acc934b
    • This might break some TypeScript code

Features:

v4.3.1...v5.0.0

v4.3.1

19 Mar 12:23
Compare
Choose a tag to compare

What's Changed

  • fix(node): Correct parse5 location types (0fcbbb8)

Full Changelog: v4.3.0...v4.3.1

v4.3.0

30 Nov 15:20
Compare
Choose a tag to compare
  • Add missing Node properties from parse5, add docs 3be6f56

v4.2.2...v4.3.0

v4.2.2

29 Aug 14:20
Compare
Choose a tag to compare

A breaking change was introduced in 4.2.1 that should have been a major version bump. This reverts this change.

  • Revert "refactor: Remove deprecated normalizeWhitespace option (#614)" a841df3

v4.2.1...v4.2.2

v4.2.1

29 Aug 14:15
Compare
Choose a tag to compare
  • BREAKING, REVERTED IN 4.2.2: Removed the deprecated normalizeWhitespace option (#614) 018ddf9
    • This should not have been part of this release. 4.2.2 adds the option again.

Fixes:

  • fix: Update end index for text events (#621) d88e5b0
  • fix: Have isText return whether the node is a text node c323224

Diverse:

  • Add descriptions for Node classes 2475d2e

v4.2.0

16 Apr 09:07
Compare
Choose a tag to compare

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.

v4.1.0...v4.2.0

v4.1.0

01 Apr 17:48
Compare
Choose a tag to compare
  • fix: All elements should have type: tag in xmlMode 3977aab
  • Bump domelementtype from 2.1.0 to 2.2.0 86a6f84

v4.0.0...v4.1.0