marked icon indicating copy to clipboard operation
marked copied to clipboard

BREAKING: remove cjs build & update min node to 20

Open UziTech opened this issue 9 months ago • 2 comments

Description

BREAKING CHANGES

  • minify ./lib/marked.esm.js and ./lib/marked.umd.js
  • remove ./marked.min.js use ./lib/marked.umd.js instead
  • 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.

UziTech avatar May 18 '25 20:05 UziTech

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

vercel[bot] avatar May 18 '25 20:05 vercel[bot]

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.

UziTech avatar May 26 '25 16:05 UziTech