Commit f3bb5c1
authored
fix(markdown): downgrade marked to v15 for CommonJS compatibility (#7241)
Downgraded the marked dependency from v16 to v15 to restore CommonJS support. The marked v16+ package is ESM-only and causes ERR_REQUIRE_ESM errors when used in CommonJS environments with require(). This change ensures @tiptap/markdown works in both ESM and CommonJS Node.js projects.1 parent 95d3e80 commit f3bb5c1
File tree
3 files changed
+12
-7
lines changed- .changeset
- packages/markdown
3 files changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments