markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 9.1.0 to 10.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- ?
- changes to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
Security
5 advisories still affect 10.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.
- 10.0.0
Fix quadratic parse time for some combinations of pairs, #583. Algorithm is now similar to one in reference implementation.
3 other lines we could not sort, mostly version bumps
- 10.0.0
Minor internal structs change, to make pairs parse more effective (cost is linear now). If you use external "pairs" extensions, you need sync those with "official ones". Without update, old code will work, but can cause invalid result in rare case. This is the only reason of major version bump. With high probability you don't need to change your code, only update version dependency.
- 10.0.0
Updated changelog format.
- 10.0.0
Deps bump.
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.