Skip to content

2.0.0

Compare
Choose a tag to compare
@wooorm wooorm released this 09 Jul 10:10
· 16 commits to main since this release
2e27c06

Change

  • 843e046 Update @types/mdast and friends
    migrate: update too
  • 12a5622 Update micromark, change buffers to Uint8Arrays
    migrate: see micromark@4.
    only really changes Buffer -> Uint8Array, so use encodings supported by TextDecoder
  • 4cbea5a Change to require Node.js 16
    migrate: update too

Change (when you make extensions)

  • 03581b3 Change to replace getter/setters with raw data
    migrate: this.getData('x') -> this.data.x, this.setData('x', 1) -> this.data.x = 1
  • 18f4bb0 Change to return undefined from enter, exit
    migrate: keep the node you pass to enter around; get the node yourself before exit
  • 88969a4 Remove deprecated OnError type
    migrate: OnError -> OnEnterError

Full Changelog: 1.3.1...2.0.0