Packages

marked

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

Upgrading marked From 17.0.6 to 18.1.3

19 releases in betweenevery note read

Other targets from 17.0.6Latest18.2.1
  1. 17.0.6yours
  2. 18.0.0major
  3. 17 releases
  4. 18.1.3target

Before you upgrade

Tick each one off as you go
  • Breaking18.0.0
  • Breaking18.0.0

Release by release

  1. 18.1.3

    2 Nov 20261 new · 15 fixes
    • New

      Fix backtracking in padantic html

    • Fixed

      Allow trailing tabs after a setext heading underline

    • Fixed

      Avoid quadratic scan for unmatched emphasis delimiters (#4103) (eab1e48), closes #4099

    • Fixed

      Await promise arrays from walkTokens extensions

  2. 18.1.2

    26 Oct 20261 new · 13 fixes
    • New

      ~16% faster parsing by skipping em/strong masking for runs without *, _ or ~

    • Fixed

      Allow a tab or end of input after a type 6 html block tag name

    • Fixed

      Apply emphasis flanking and rules 9-10 to the whole delimiter run

    • Fixed

      cli: await config functions before parsing

  3. 18.1.1

    12 Oct 20261 new · 9 fixes
    • New

      Avoid repeated raw string copies in nested lists

    • Fixed

      cli: honor an explicitly empty string input

    • Fixed

      End blockquote before a lazy line after a heading, hr or html block

    • Fixed

      Keep a backslash in a code span from hiding emphasis

  4. 18.1.0

    5 Oct 20261 new · 3 fixes
    • New

      Add linkParenPossible to lexer state to fail fast for link token generation

    • Fixed

      Avoid cubic backtracking on unicode whitespace in a link destination

    • Fixed

      Load CLI configs with top-level await

    • Fixed

      Reject unbalanced parentheses in link destinations

  5. 18.0.14

    22 Sep 20266 fixes
    • Fixed

      Allow indented lines in setext heading text

    • Fixed

      Decode numeric character references in text

    • Fixed

      Keep text after empty nested blockquote (#4101) (1b89557), closes #4098

    • Fixed

      Preserve internal tabs in list item content

    • Fixed

      Strip whitespace when normalizing link reference labels

    • Fixed

      Support GFM protocol autolinks

  6. 18.0.13

    12 Sep 20267 fixes
    • Fixed

      Allow tabs in the thematic break that ends a list item

    • Fixed

      Avoid O(n^2) scanning in reflinkSearch

    • Fixed

      Case fold reference link labels

    • Fixed

      Drop the leading whitespace after a hard line break

    • Fixed

      Match html block start conditions when ending a list item

    • Fixed

      Respect raw tokens when closing link labels

    • Fixed

      Strip a tab that follows spaces in an indented code block

  7. 18.0.12

    7 Sep 20267 fixes
    • Fixed

      Allow a tab before the closing sequence of an ATX heading

    • Fixed

      Allow one more level of nested brackets in a link label

    • Fixed

      Do not add a newline to an empty code block

    • Fixed

      Escape character references in autolink destinations

    • Fixed

      Reject GFM email autolink when the domain ends in _ or

    • Fixed

      Reject invalid characters in HTML tag names

    • Fixed

      Remove up to the fence indentation from each content line

  8. 18.0.11

    24 Aug 20263 fixes
    • Fixed

      Do not nest a link inside a link

    • Fixed

      inlineTokens rebuilds the reflink-mask preamble per call

    • Fixed

      Keep emphasis in the text of a rejected reference link

1 internal line (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.