Packages

marked

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

Upgrading marked From 1.2.9 to 2.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.2.9Clears its 3 advisories4.0.10Latest18.2.1
  1. 1.2.9yours
  2. 2.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0

Security

2 advisories still affect 2.0.0

Upgrading to 4.0.10 clears them.

Fixes 1 advisory affecting 1.2.9

Release by release

  1. 2.0.0

    Migration needed7 Feb 20212 fixes
    • Breaking

      em and strong tokenizers have been merged into one emStrong tokenizer.

    • Breaking

      code and text tokenizers do not get passed all tokens as a second parameter.

    • Breaking

      No longer supporting IE 11. IE 11 may still work but we are not committed to making sure it works with every update. We still provide an es5 version in lib/marked.js but some pollyfills may be needed for IE 11 in the future.

    • Fixed

      Join adjacent inlineText tokens

    • Fixed

      Total rework of Emphasis/Strong

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.