Packages

marked

18.2.1 · 16 Nov 2026MIT138.2M / weekRepositoryHomepagenpmAtom feed

Upgrading marked From 4.3.0 to 5.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.3.0Latest18.2.1
  1. 4.3.0yours
  2. 5.0.0target
4
changes to make
0
advisories fixed
1
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking5.0.0
  • Breaking5.0.0
  • Deprecated5.0.0
  • Deprecated5.0.0

Release by release

  1. 5.0.0

    Migration needed2 May 20231 new · 1 fix
    • Breaking

      Warnings will be logged to the console if these options are used including headerIds, mangle, and langPrefix which are on by default. These warnings can be turned off by default by using:

    • Breaking

      Minimum supported node version v18

    • Deprecated

      Deprecate options

    • Deprecated

      Deprecate options | Option | Replacement| |---------|---------------| | highlight, langPrefix, and callback| marked-highlight| |mangle| marked-mangle| |baseUrl| marked-base-url| |smartypants| marked-smartypants| |xhtml| marked-xhtml| |headerIds and headerPrefix| marked-gfm-heading-id|

    • New

      Add block param to html renderer

    • Fixed

      Update min node to v18

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.