marked
18.2.1 · 16 Nov 2026MIT138.2M / weekRepositoryHomepagenpmAtom feed
Upgrading marked From 1.2.9 to 2.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
Security
2 advisories still affect 2.0.0
- Inefficient Regular Expression Complexity in markedhigh · GHSA-5v2h-r2cx-5xgj
- Inefficient Regular Expression Complexity in markedhigh · GHSA-rrrm-qjm4-v8hf
Upgrading to 4.0.10 clears them.
Fixes 1 advisory affecting 1.2.9
- Regular Expression Denial of Service (REDoS) in Markedmoderate · GHSA-4r62-v4vq-hr96
Release by release
- Breaking
emandstrongtokenizers have been merged into oneemStrongtokenizer. - Breaking
codeandtexttokenizers do not get passed all tokens as a second parameter. - Breaking
No longer supporting IE 11. IE 11 may still work but we are not committed to making sure it works with every update. We still provide an es5 version in
lib/marked.jsbut some pollyfills may be needed for IE 11 in the future. - Fixed
Join adjacent inlineText tokens
- Fixed
Total rework of Emphasis/Strong
- Breaking
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.