marked
18.2.1 · 16 Nov 2026MIT138.2M / weekRepositoryHomepagenpmAtom feed
Your version
18.2.1 is the newest release of 18.x.
In short
2 breaking3 fixed1 internal
- Breaking
Trim trailing blank lines from block tokens
- Breaking
Update Typescript to v6
Security
1 advisory affects 18.0.0; 18.0.2 fixes them
- HighMarked Vulnerable to OOM Denial of Service via Infinite Recursion in marked TokenizerGHSA-6v9c-7cg6-27q7 · 29 Apr 2026Fixed in 18.0.2
Release note
Bug Fixes
Prevent GFM table tokens from greedily capturing trailing newlines
Prevent heading and def tokens from greedily capturing multiple newlines
Trim blank lines from block tokens
Breaking changes
- Breaking
Trim trailing blank lines from block tokens
- Breaking
Update Typescript to v6
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.