markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 14.3.3 to 15.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 5
- changes to make
- 0
- advisories fixed
- 6
- new
- 5
- fixes
Before you upgrade
Tick each one off as you go- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
Security
4 advisories still affect 15.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-time rendering of a single multi-line link reference definition with default options (regression since 14.0)high · GHSA-gfr2-rv44-r23c
- markdown-it: Quadratic complexity in smartquotes with unmatched closing quoteshigh · GHSA-r7fv-28h4-cvq7
- markdown-it: Quadratic-time denial of service in inline HTML parsing with html enabledlow · GHSA-vfgh-jcmw-g37q
Upgrading to 15.0.3 clears them.
Release by release
- Breaking
No fuzzy links by default.
- Breaking
No auth part check by default.
- Breaking
Unicode punctuation terminates the link by default (should help with CJK).
- Breaking
Removed package-internal subpath exports (
markdown-it/lib/*and similar). Use the static classes exposed onmarkdownitinstead.
- Breaking
5 other lines we could not sort, mostly version bumps
- 15.0.0
Package root now resolves to prebuilt ESM and CJS files instead of raw sources. Distribution files were reorganized under
dist/anddist/browser/. - 15.0.0
Migrated to Typescript.
- 15.0.0
entities=> v8. Can be rolled back to v7 if compatibility issues happen. - 15.0.0
Moved
validateLink,normalizeLinkandnormalizeLinkTextfrom properties to prototype methods. - 15.0.0
Reworked issue templates and contribution guidelines.
1 internal line (docs, tests, tooling) left out.
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.