Packages

marked

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

Your version

18.0.7

21 Jul 2026Where it was published

18.2.1 is the newest release of 18.x.

In short

6 fixed

Release note

Bug Fixes

  • Avoid O(n^2) backtracking in HTML block close and tilde interrupt regexes (#4014) (f945fc5), closes #3991

  • Avoid O(n^2) masked source rebuild in inline tokenizer

  • Keep empty list after blockquote as a sibling block

  • Preserve code spans adjacent to tildes

  • Recognize setext headings whose first line starts with # (#4015) (f056437), closes #1

  • Treat a line of only tabs as a blank line between paragraphs

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.