Skip to content

[Bug]: marked fixed to v15 in @platejs/markdow and marked latest release is v18 #5060

Description

@RodrigoTomeES

Bug type

Behavior bug (incorrect output/state without crash)

Browser surface

No

Summary

We want to update marked to v18 but plate has fixed it to v15 so if we update it we need to ship the same library twice one in v15 and another in v18. Is possible to update plate to be compatible with marked v18?

Thanks!

Public reproduction URL

No response

Steps to reproduce

Install @platejs/markdown
Install marked v18

You will see two reference in the lock file

Expected behavior

Plate should ship the latest major or authorized to use it with something like this ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc

Actual behavior

Plate markdown just has support for v15

Acceptance criteria

Only one entry for marked (v18) in lock file

Plate / Slate / React versions

@platejs/markdown: 53.2.2

Operating system

macOS

Install method

No response

Framework / app setup

Next.js 16

Affected packages or entry points

@platejs/markdown

Minimal code or config excerpt

none

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions