marked
marked copied to clipboard
BREAKING: remove cjs build & update min node to 20
Description
BREAKING CHANGES
- minify
./lib/marked.esm.jsand./lib/marked.umd.js - remove
./marked.min.jsuse./lib/marked.umd.jsinstead - remove
./lib/marked.cjs - update minimum supported node version to 20 to support
require('marked.esm.js'). see https://nodejs.org/docs/latest-v20.x/api/modules.html#loading-ecmascript-modules-using-require
Contributor
- [x] Test(s) exist to ensure functionality and minimize regression (if no tests added, list tests covering this PR); or,
- [ ] no tests required for this PR.
- [ ] If submitting new feature, it has been documented in the appropriate places.
Committer
In most cases, this should be a different person than the contributor.
- [ ] CI is green (no forced merge required).
- [ ] Squash and Merge PR following conventional commit guidelines.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| marked-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 27, 2025 4:39am |
I think this is ready to go, but I am going to wait to merge this for a month so we can bundle any other breaking changes together.