Skip to content

Update dependency marked to v18#499

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

Update dependency marked to v18#499
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/marked-18.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 12, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
marked (source) ^17.0.6^18.0.0 age adoption passing confidence

Release Notes

markedjs/marked (marked)

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

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • "on sunday before 6:00am"
  • 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.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Apr 12, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lobe-ui Ready Ready Preview, Comment Apr 27, 2026 5:53am

Request Review

@lobehubbot
Copy link
Copy Markdown
Member

👍 @renovate[bot]


Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 12, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@lobehub/ui@499

commit: 63954b6

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5eb7cb5c28

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread package.json
"leva": "^0.10.1",
"lucide-react": "^1.7.0",
"marked": "^17.0.5",
"marked": "^18.0.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Hold marked major bump until stream block keys are stabilized

This upgrade pulls in a documented marked v18 lexer breaking change (trailing blank lines are no longer part of block tokens), but StreamdownRender currently uses token.raw lengths to compute startOffset and uses that offset as the React key/state identity (src/Markdown/SyntaxMarkdown/StreamdownRender.tsx, block lexing and key generation). When streamed markdown contains blank-line-separated blocks, the new token boundaries can shift those derived offsets and reset queue/animation state for existing blocks, which shows up as flicker or restarted block animations during incremental updates unless the keying strategy is adjusted (or marked stays on v17).

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant