markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 7.0.1 to 8.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- ?
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
5 advisories still affect 8.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: Quadratic complexity DoS in smartquotes rule via replaceAt string operationsmoderate · GHSA-6v5v-wf23-fmfq
- Uncontrolled Resource Consumption in markdown-itmoderate · GHSA-6vfc-qv3f-vr6c
Upgrading to 14.3.3 clears them.
Release by release
- Fixed
Fix tab width calculation inside lists and blockquotes.
- Fixed
6 other lines we could not sort, mostly version bumps
- 8.0.0
Benchmarks src cleanup.
- 8.0.0
Remove testing in old nodes (but still use es5).
- 8.0.0
Updated CM spec compatibility to 0.26 (see list below):
- 8.0.0
Two consecutive newlines no longer terminate a list.
- 8.0.0
Ordered list terminating a paragraph can now only start with 1.
- 8.0.0
Adjust emphasis algorithm (
*foo**bar**baz*is now parsed as<strong>inside<em>).
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.