Packages

marked

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

Your version

0.4.0

21 May 2018Where it was published

0.8.2 is the newest release of 0.4.x.

In short

8 breaking2 security3 new4 changed

  • Breaking

    Fix escaping pipes in tables

  • Breaking

    Fix html output for tables to match GFM spec

  • Breaking

    Fix many bugs to reach parity with CommonMark spec

  • Breaking

    Fix new Renderer() so it uses default options

  • Breaking

    Fix text and paragraph return types

  • Breaking

    Fix <em> less than 3 chars

  • Breaking

    Fix <pre> code blocks so there is no more trailing \n

  • Breaking

    Fix default langPrefix to follow CommonMark standard language-

Security

4 advisories affect 0.4.0; 4.0.10 fixes the others

Release note

Security Fixes

  • Security

    Fix unsafe heading regex

  • Security

    Fix unsafe link regex (#1223, #1227)

New Features

Breaking Changes

  • Breaking

    Fix escaping pipes in tables

  • Breaking

    Fix html output for tables to match GFM spec

  • Breaking

    Fix many bugs to reach parity with CommonMark spec

  • Breaking

    Fix new Renderer() so it uses default options

  • Breaking

    Fix text and paragraph return types

  • Breaking

    Fix <em> less than 3 chars

  • Breaking

    Fix <pre> code blocks so there is no more trailing \n

  • Breaking

    Fix default langPrefix to follow CommonMark standard language-

CLI Changes

  • Add string argument to CLI

  • Change CLI stdio to remove warning

Other changes

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.