markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 12.3.2 to 13.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
5 advisories still affect 13.0.0
- markdown-it linkify: true has two quadratic paths, so a few hundred KB of markdown blocks the event loop for tens of secondsmoderate · GHSA-253c-mchw-3w2r
- markdown-it is has a Regular Expression Denial of Service (ReDoS)moderate · GHSA-38c4-r59v-3vqw
- markdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operationsmoderate · GHSA-6v5v-wf23-fmfq
Upgrading to 14.3.3 clears them.
Release by release
- New
Added a new token type
text_specialto store escaped characters, same astextbut unaffected by replacement plugins (smartquotes, typographer, linkifier, etc.). - New
Added a new rule
text_joinincoreruler. Text replacement plugins may choose to insert themselves before it. - Fixed
Smartquotes, typographic replacements and plain text links can now be escaped with backslash (e.g.
\(c)orgoogle\.comare no longer replaced). - Fixed
Fixed collision of emphasis and linkifier (so
http://example.org/foo._bar_-_bazis now a single link, not emphasized). Emails and fuzzy links are not affected by this.
- New
2 other lines we could not sort, mostly version bumps
- 13.0.0
(p)is no longer replaced with § by typographer (conflicts with ℗), #763. - 13.0.0
text_collapserule is renamed tofragments_join.
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.