Skip to content

Releases: syntax-tree/hast-util-find-and-replace

5.0.1

21 Sep 08:49
09f3e23
Compare
Choose a tag to compare
  • 11b9573 Fix to reset lastIndex at false result

Full Changelog: 5.0.0...5.0.1

5.0.0

04 Aug 10:32
c20ac52
Compare
Choose a tag to compare

Change

  • 1a14a64 Update @types/hast, utilities
    migrate: update too
  • 6ab323d Change to require Node.js 16
    migrate: update too
  • 2bfe98f Change to use exports
    migrate: don’t use private APIs
  • 4890c82 Change API to accept only a tuple, or list of tuples
    migrate: objects were weird, complex, and not very useful, this makes the API simpler
  • 6448a5d Change to yield undefined
    migrate: expect undefined, keep a reference to the node you pass

Full Changelog: 4.1.3...5.0.0

4.1.3

09 Jan 14:14
79f4dd5
Compare
Choose a tag to compare

Misc

Full Changelog: 4.1.2...4.1.3

4.1.2

13 Jul 19:45
d1614b1
Compare
Choose a tag to compare
  • e0ffb6b Fix bug when replacing and then not

Full Changelog: 4.1.1...4.1.2

4.1.1

18 May 20:30
cdf7a87
Compare
Choose a tag to compare
  • 3638738 Fix missing replace inside next sibling
  • 474546f Fix case where false resulted in a skipped node

Full Changelog: 4.1.0...4.1.1

4.1.0

21 Apr 16:40
809b9f5
Compare
Choose a tag to compare
  • 8a4cc21 minor: add stack of nodes in match objects
  • 8c7e552 Add improved docs

Full Changelog: 4.0.0...4.1.0

4.0.0

10 May 17:56
a1b02d8
Compare
Choose a tag to compare

3.2.1

09 Feb 16:56
16ccbdb
Compare
Choose a tag to compare
  • 1051114 Fix check for regex to support new Array#lastIndex proposal

3.2.0

03 Nov 16:27
5d44401
Compare
Choose a tag to compare
  • 6599827 Add support for returning false to not replace

3.1.0

21 Aug 10:59
88fad15
Compare
Choose a tag to compare
  • 0bba405 Fix passing index, parent to tests
  • da9c5cf Update escape-string-regexp
  • e4d5989 Add list of related projects