marked
18.2.1 · 16 Nov 2026MIT138.2M / weekRepositoryHomepagenpmAtom feed
Upgrading marked From 0.3.16 to 0.8.2
15 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking0.8.0
- Breaking0.8.0
- Breaking0.7.0
- Breaking0.7.0
- Breaking0.6.1
- Breaking0.6.0
- Breaking0.6.0
- Breaking0.5.0
- Breaking0.5.0
- Breaking0.5.0
Security
2 advisories still affect 0.8.2
- 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 2 advisories affecting 0.3.16
- Marked allows Regular Expression Denial of Service (ReDoS) attacksmoderate · GHSA-p9wx-2529-fp83
- Marked ReDoS due to email addresses being evaluated in quadratic timemoderate · GHSA-xf5p-87ch-gxw2
- 0.6.2
Link redos #1426
- 0.6.2
Text redos #1460
- 0.6.1
Fix parenthesis url redos #1414
- 0.5.1
Fix inline code regex and prevent REDOS #1337
- 0.5.1
Use
@markedjs/html-differto prevent REDOS #1331 - 0.5.0
Use rtrim, not unsafe /X+$/ #1260
- 0.4.0
Fix unsafe
headingregex - 0.4.0
Fix unsafe
linkregex (#1223, #1227) - 0.3.17
The elephant in the room: A security vulnerability was discovered and fixed. Please note, if something breaks due to these changes, it was not our intent, and please let us know by submitting a PR or issue to course correct (the nature of the zero-major release and having security as a number one priority) #1083
Release by release
- New
Add html to TextRenderer for html in headings #1622
- New
- Fixed
Fix
marked --help#1588 - Fixed
Fix GFM Example 116 code fences #1600
- Fixed
Send inline html to renderer #1602 (fixes #1601)
- Fixed
Improve docs example for invoking highlight.js #1603
- Fixed
Fix block-level elements breaking tables #1598 (fixes #1467)
- Fixed
Break nptables on block-level structures #1617
- Fixed
- Breaking
Remove substitutions #1532
- Breaking
Separate source into modules #1563 #1572 #1573 #1575 #1576 #1581
- Fixed
Fix relative urls in
baseUrloption #1526 - Fixed
Loose task list #1535
- Fixed
Fix image parentheses #1557
- Breaking
- Breaking
Fix ReDOS for links with backticks (issue #1493) #1515
- Breaking
Move
fencesto CommonMark #1511 - Deprecated
Sanitize
paragraphandtexttokens #1504 - Fixed
Fix parentheses around a link #1509
- Breaking
- Fixed
Fix nested blockquotes #1464
- Fixed
Fix
<em>issue with mixed content #1451 - Fixed
Fix
breaks: true#1507 - Fixed
Fix commonmark spec 57 and 40 (headings) #1475
- Fixed
- Security
Link redos #1426
- Security
Text redos #1460
- New
Pass token boolean to the
listitemfunction #1440 - New
Allow html without \n after #1438
- Security
- Security
Fix parenthesis url redos #1414
- Breaking
Remove
--saveoption as it isn't required anymore #1422
- Security
- Breaking
Drop support for Node v0.10 and old browsers such as Internet Explorer
- Breaking
Add parameter
sluggertoRenderer.prototype.headingmethod #1401 - New
Add better error handling when token type cannot be found #1005
- Fixed
Fix emphasis followed by a punctuation #1383
- Breaking
22 other lines we could not sort, mostly version bumps
- 0.6.3
Use latest commit for demo master #1457
- 0.6.3
Update tests to commonmark 0.29 #1465
- 0.6.3
Update tests to GFM 0.29 #1470
- 0.6.2
Update man page to include
--testand fix argv parameters #1442 - 0.6.0
Pretty print ENOENT errors on cli #1396
- 0.6.0
Update repo url in man #1403
- 0.5.2
Make Steven (@styfle) a npm publisher #1346
- 0.5.2
Move license file back to root dir #1356
- 0.5.1
Refactor the
escape()function to improve performance 10-20% #975 - 0.5.1
Update copyright in source code #1326
33 internal lines (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.