Packages

marked

18.2.1 · 16 Nov 2026MIT138.2M / weekRepositoryHomepagenpmAtom feed

Upgrading marked From 0.4.0 to 0.8.2

11 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.4.0Clears its 4 advisories4.0.10Latest18.2.1
  1. 0.4.0yours
  2. 0.5.0security
  3. 0.5.1security
  4. 1 release
  5. 0.6.0major
  6. 0.6.1security
  7. 0.6.2security
  8. 1 release
  9. 0.7.0major
  10. 0.8.0major
  11. 1 release
  12. 0.8.2target

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

Upgrading to 4.0.10 clears them.

Fixes 2 advisories affecting 0.4.0

  • Link redos #1426

    0.6.2
  • Text redos #1460

    0.6.2
  • Fix parenthesis url redos #1414

    0.6.1
  • Fix inline code regex and prevent REDOS #1337

    0.5.1
  • Use @markedjs/html-differ to prevent REDOS #1331

    0.5.1
  • Use rtrim, not unsafe /X+$/ #1260

    0.5.0

Release by release

  1. 0.8.2

    22 Mar 20201 new
    • New

      Add html to TextRenderer for html in headings #1622

  2. 0.8.1

    18 Mar 20206 fixes
    • 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

  3. 0.8.0

    Migration needed12 Dec 20193 fixes
    • Breaking

      Remove substitutions #1532

    • Breaking

      Separate source into modules #1563 #1572 #1573 #1575 #1576 #1581

    • Fixed

      Fix relative urls in baseUrl option #1526

    • Fixed

      Loose task list #1535

    • Fixed

      Fix image parentheses #1557

  4. 0.7.0

    Migration needed6 Jul 20191 fix
    • Breaking

      Fix ReDOS for links with backticks (issue #1493) #1515

    • Breaking

      Move fences to CommonMark #1511

    • Deprecated

      Sanitize paragraph and text tokens #1504

    • Fixed

      Fix parentheses around a link #1509

  5. 0.6.3

    30 Jun 20194 fixes
    • 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

  6. 0.6.2

    Security fix5 Apr 20193 new · 3 fixes
    • Security

      Link redos #1426

    • Security

      Text redos #1460

    • New

      Pass token boolean to the listitem function #1440

    • New

      Allow html without \n after #1438

  7. 0.6.1

    Security fix19 Feb 2019
    • Security

      Fix parenthesis url redos #1414

    • Breaking

      Remove --save option as it isn't required anymore #1422

  8. 0.6.0

    Migration needed1 Jan 20191 new · 10 fixes
    • Breaking

      Drop support for Node v0.10 and old browsers such as Internet Explorer

    • Breaking

      Add parameter slugger to Renderer.prototype.heading method #1401

    • New

      Add better error handling when token type cannot be found #1005

    • Fixed

      Fix emphasis followed by a punctuation #1383

11 other lines we could not sort, mostly version bumps
  • 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.3
  • Update man page to include --test and fix argv parameters #1442

    0.6.2
  • Pretty print ENOENT errors on cli #1396

    0.6.0
  • Update repo url in man #1403

    0.6.0
  • Make Steven (@styfle) a npm publisher #1346

    0.5.2
  • Move license file back to root dir #1356

    0.5.2
  • Refactor the escape() function to improve performance 10-20% #975

    0.5.1
  • Update copyright in source code #1326

    0.5.1

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.