PackageTrack

npm

rehype-external-links

3.0.0rehypejs/rehype-external-links

rehype plugin to automatically add `target` and `rel` attributes to external links

Release timeline

6 releases since 2021
20212026

One column per quarter.

Releases

  1. 3.0.03 Sept 2023
    Release notes

    Change

    • f4bd9a0 Update @types/hast, unified, utilities, etc
      migrate: update too
    • e1325f1 Change to require Node.js 16
      migrate: update too
    • fa86d0d Change to use exports
      migrate: don’t use private APIs
    • 2008d77 Remove CreateProtocols support
      migrate: use test if you want to test things

    Add

    Full Changelog: 2.1.0...3.0.0

    Open source →
  2. 2.1.04 May 2023
    Release notes

    Add

    Full Changelog: 2.0.1...2.1.0

    Open source →
  3. 2.0.123 Aug 2022
    Release notes
    • 3c6b438 Fix to treat protocol-relative URLs as external

    Full Changelog: 2.0.0...2.0.1

    Open source →
  4. 2.0.021 Jul 2022
    Release notes
    • 4e77953 Change defaults to match reasonable web recommendations
      breaking: if you want a target (you shouldn’t), pass target: '_blank',
      in which case you should also specify rel: ['nofollow', 'noopener', 'noreferrer']
      by @okikio in #6
    • bd5178a Remove false support from options.rel
      breaking: change false -> []
    • aae9e39 Remove boolean support from options.target
      breaking: change true -> '_blank', false -> null or undefined
    • 4312904 0c87b75 Add support for passing options as functions
      by @okikio in #4

    Full Changelog: 1.0.1...2.0.0

    Open source →
  5. 1.0.127 Dec 2021
    Release notes

    Full Changelog: 1.0.0...1.0.1

    Open source →
  6. 1.0.016 Aug 2021

    Nothing published for this version