Skip to content

Update dependency marked to v18#700

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/marked-18.x
Open

Update dependency marked to v18#700
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/marked-18.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 7, 2026

This PR contains the following updates:

Package Change Age Confidence
marked (source) 12.0.218.0.4 age confidence

Release Notes

markedjs/marked (marked)

v18.0.4

Compare Source

Bug Fixes

v18.0.3

Compare Source

Bug Fixes

v18.0.2

Compare Source

Bug Fixes

v18.0.1

Compare Source

Bug Fixes
  • rules: ensure lookbehind regex is evaluated correctly by minifiers (#​3945) (abd907a)

v18.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • trim trailing blank lines from block tokens
  • update Typescript to v6

v17.0.6

Compare Source

Bug Fixes

v17.0.5

Compare Source

Bug Fixes
  • Fix catastrophic backtracking (ReDoS) in link/reflink label regex (#​3918) (4625980)
  • prevent quadratic complexity in emStrongLDelim regex (#​3906) (c732dd2)
  • prevent single-tilde strikethrough false positives (#​3910) (5e03369)
  • re-assign tokenizer.lexer and renderer.parser at start of each parse call (#​3907) (f3a3ec0)
  • trim trailing whitespace from lheading text (#​3920) (3ea7e88)

v17.0.4

Compare Source

Bug Fixes

v17.0.3

Compare Source

Bug Fixes

v17.0.2

Compare Source

v17.0.1

Compare Source

Bug Fixes

v17.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • Change how consecutive text tokens work in lists
  • Simplify listItem renderer
  • Checkbox token is added in list tokenizer
  • Checkbox token add type and raw property
  • Change loose list text tokens to paragraph type in the list tokenizer

v16.4.2

Compare Source

v16.4.1

Compare Source

Bug Fixes

v16.4.0

Compare Source

Bug Fixes
  • Fix backtick and code rendering in links (#​3783) (302ee59)
  • fix links with square brackets in inline code break wrapping italics (#​3785) (e3c0d3e)
  • Make www case-sensitive when detecting link starts (#​3770) (626d961)
Features

v16.3.0

Compare Source

Features

v16.2.1

Compare Source

Bug Fixes

v16.2.0

Compare Source

Features

v16.1.2

Compare Source

Bug Fixes

v16.1.1

Compare Source

Bug Fixes

v16.1.0

Compare Source

Features

v16.0.0

Compare Source

Bug Fixes
BREAKING CHANGES

v15.0.12

Compare Source

Bug Fixes

v15.0.11

Compare Source

Bug Fixes

v15.0.10

Compare Source

Bug Fixes

v15.0.9

Compare Source

Bug Fixes

v15.0.8

Compare Source

Bug Fixes

v15.0.7

Compare Source

Bug Fixes

v15.0.6

Compare Source

Bug Fixes
  • fix strikethrough inside strong and em to follow gfm (#​3577) (7712a53)

v15.0.5

Compare Source

Bug Fixes
  • allow strikethrough inside strong and em to follow gfm (#​3569) (8a01658)

v15.0.4

Compare Source

Bug Fixes

v15.0.3

Compare Source

Bug Fixes
  • update punctuation regex syntax to fix babel mistaken transpile (#​3547) (9b988c4)

v15.0.2

Compare Source

Bug Fixes

v15.0.1

Compare Source

Bug Fixes

v15.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • escape html in renderers instead of tokenizers for all tokens.

v14.1.4

Compare Source

Bug Fixes

v14.1.3

Compare Source

Bug Fixes

v14.1.2

Compare Source

Bug Fixes

v14.1.1

Compare Source

Bug Fixes

v14.1.0

Compare Source

Bug Fixes
Features

v14.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • Remove old renderer
  • throw an error if async: false is set when an extension sets async: true

v13.0.3

Compare Source

Bug Fixes
  • fix recursion-like stack overflow error caused by the old render… (#​3380) (89af0b8)

v13.0.2

Compare Source

Bug Fixes

v13.0.1

Compare Source

Bug Fixes

v13.0.0

Compare Source

Bug Fixes
  • Fix blockquote code continuation (#​3264) (7ab8185)
  • Add parser as a property on the Renderer object (#​3291)
  • Send block text tokens to the text renderer (#​3291)
Features
  • Send token objects to renderers (#​3291) (1ce59ea)
  • Add space renderer that returns empty string by default (#​3291)
  • Add header and align properties to TableCell token (#​3291)
  • Add TableRow token (#​3291)
  • Add Checkbox token (#​3291)
BREAKING CHANGES
  • Add space token after blockquote and hr if there are multiple newlines
  • Send token objects to renderers and move logic to parse tokens from the parser to the renderers.
    • Most extensions that update marked renderers should still work with this version but will break in a future major version.

    • Extensions that change marked renderers will need to be updated and use new option useNewRenderer and accept a token object instead of multiple parameters. See updated Renderer docs

      // v12 renderer extension
      
      const extension = {
        renderer: {
          heading(text, level) {
            // increase level by 1
            return `<h${level + 1}>${text}</h${level + 1}>`;
          }
        }
      };
      
      marked.use(extension);
      // v13 renderer extension
      
      const extension = {
        useNewRenderer: true,
        renderer: {
          heading(token) {
            // increase depth by 1
            const text = this.parser.parseInline(token.tokens);
            const level = token.depth;
            return `<h${level + 1}>${text}</h${level + 1}>`;
          }
        }
      };
      
      marked.use(extension);

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 7, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0025f454-9c27-46a5-866e-70762dc47add

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/marked-18.x

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate Bot force-pushed the renovate/marked-18.x branch 2 times, most recently from 1ab5eaf to 493f069 Compare April 18, 2026 13:40
@renovate renovate Bot force-pushed the renovate/marked-18.x branch 2 times, most recently from 2a5e7cd to d137779 Compare May 1, 2026 17:08
@renovate renovate Bot force-pushed the renovate/marked-18.x branch from d137779 to 0032341 Compare May 12, 2026 11:52
@renovate renovate Bot force-pushed the renovate/marked-18.x branch from 0032341 to d1b842d Compare May 19, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants