Skip to content

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

3.0.1

21 Sep 08:45
af7d1ef
Compare
Choose a tag to compare
  • 6dba078 Fix to reset lastIndex at false result

Full Changelog: 3.0.0...3.0.1

3.0.0

08 Jul 13:39
bcd53c1
Compare
Choose a tag to compare

Change

  • 6ca88d0 Update @types/mdast
    migrate: update too
  • 47df058 Change to require Node.js 16
    migrate: update too
  • 2054db1 Change to use export map
    migrate: don’t use private APIs
  • 40871fe Change API to accept only a tuple, or list of tuples
    migrate: find, replace -> [find, replace],
    {find: replace, …} -> [[find, replace], …]
  • 35d35b1 Change to return undefined
    migrate: expect undefined

Full Changelog: 2.2.2...3.0.0

2.2.2

26 Jan 11:34
fa8dc1b
Compare
Choose a tag to compare

Misc

Full Changelog: 2.2.1...2.2.2

2.2.1

13 Jul 19:36
f308656
Compare
Choose a tag to compare
  • b40a41f Fix bug when replacing and then not

Full Changelog: 2.2.0...2.2.1

2.2.0

19 May 08:14
96fb68e
Compare
Choose a tag to compare
  • 0efec69 Add stack of nodes in match objects
  • 589b5b0 Fix missing replace inside next sibling
  • cddb01b Fix case where false resulted in a skipped node
  • 5bbb92c Add improved docs

Full Changelog: 2.1.0...2.2.0

2.1.0

26 Jul 16:30
08d369a
Compare
Choose a tag to compare
  • f5462e9 Change types to use mdast types
  • f575ece Add strict to tsconfig.json

2.0.1

21 Jun 15:45
0e123da
Compare
Choose a tag to compare
  • f9c6ae3 Fix types of replace function

2.0.0

10 May 18:11
7357886
Compare
Choose a tag to compare

1.1.1

09 Feb 16:54
f1e092e
Compare
Choose a tag to compare
  • 28f5e2b Fix check for regex to support new Array#lastIndex proposal

1.1.0

02 Feb 16:54
d532b4b
Compare
Choose a tag to compare
  • 03b5feb Add support for replacing with a list of nodes