markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 5.0.0 to 5.1.0
4 releases in betweenevery note read
Reading releases, release notes and advisories…
Security
5 advisories still affect 5.1.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
- New
Token: Added
.attrSet()&.attrJoin()methods. - New
Highlighter: Allow wrapper override (if result starts with "<pre").
- New
- Fixed
Allow single column and mismatched columns count in tables.
- Fixed
Smartquotes: Take into account adjacent tokens.
- Fixed
Fill
contentproperty in image token withaltsource.
- Fixed
- Fixed
Fix meta information (
token.markupandtoken.info) for autolink tokens.
- Fixed
- Fixed
Improved tables compatibility with github, #120.
- Fixed
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.