Skip to content

6.0.0

Compare
Choose a tag to compare
@wooorm wooorm released this 01 Aug 19:09
· 44 commits to main since this release
c415551

Changes

  • 88493cb Add JSDoc based types

  • 964b3ea Use ESM

    • Change:

      // Presets and plugins use default exports:
      // From CommonJS
      var rehypePresetMinify = require('rehype-preset-minify')
      
      // To ESM
      import rehypePresetMinify from 'rehype-preset-minify'
      
      // Utilities use specifiers:
      var toString = require('hast-util-to-string') //=> import {toString} from 'hast-util-to-string'

    Learn more about ESM in this guide

Patches