BREAKING: remove cjs build & update min node to 20#3687
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
styfle
reviewed
May 21, 2025
styfle
reviewed
May 21, 2025
Member
There was a problem hiding this comment.
How was the performance here?
Curious if there is any difference between node versions.
Member
Author
There was a problem hiding this comment.
cjs was always slightly slower than esm. Not by much though.
styfle
approved these changes
May 21, 2025
Member
Author
|
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. |
github-actions Bot
pushed a commit
that referenced
this pull request
Jun 27, 2025
# [16.0.0](v15.0.12...v16.0.0) (2025-06-27) ### Bug Fixes * remove cjs build & update min node to 20 ([#3687](#3687)) ([0a35d8f](0a35d8f)) ### 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 nodejs.org/docs/latest-v20.x/api/modules.html#loading-ecmascript-modules-using-require
Closed
vaernion
pushed a commit
to Arbeidstilsynet/brevgen2
that referenced
this pull request
Dec 3, 2025
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [marked](https://marked.js.org) ([source](https://github.com/markedjs/marked)) | [`15.0.12` -> `16.2.0`](https://renovatebot.com/diffs/npm/marked/15.0.12/16.2.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>markedjs/marked (marked)</summary> ### [`v16.2.0`](https://github.com/markedjs/marked/releases/tag/v16.2.0) [Compare Source](markedjs/marked@v16.1.2...v16.2.0) ##### Features - add def token in tokens and renderer ([#​3745](markedjs/marked#3745)) ([0769124](markedjs/marked@0769124)) ### [`v16.1.2`](https://github.com/markedjs/marked/releases/tag/v16.1.2) [Compare Source](markedjs/marked@v16.1.1...v16.1.2) ##### Bug Fixes - fix multiline list item adds extra newline to raw ([#​3735](markedjs/marked#3735)) ([e76453e](markedjs/marked@e76453e)) ### [`v16.1.1`](https://github.com/markedjs/marked/releases/tag/v16.1.1) [Compare Source](markedjs/marked@v16.1.0...v16.1.1) ##### Bug Fixes - fix stong and em tokens in angle brackets ([#​3731](markedjs/marked#3731)) ([ad8535c](markedjs/marked@ad8535c)) ### [`v16.1.0`](https://github.com/markedjs/marked/releases/tag/v16.1.0) [Compare Source](markedjs/marked@v16.0.0...v16.1.0) ##### Features - add generic types for parser and renderer output ([#​3722](markedjs/marked#3722)) ([39a0ee3](markedjs/marked@39a0ee3)) ### [`v16.0.0`](https://github.com/markedjs/marked/releases/tag/v16.0.0) [Compare Source](markedjs/marked@v15.0.12...v16.0.0) ##### Bug Fixes - remove cjs build & update min node to 20 ([#​3687](markedjs/marked#3687)) ([0a35d8f](markedjs/marked@0a35d8f)) ##### 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 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (...
Logiclayer1111
pushed a commit
to Logiclayer1111/marked
that referenced
this pull request
Apr 20, 2026
# [16.0.0](markedjs/marked@v15.0.12...v16.0.0) (2025-06-27) ### Bug Fixes * remove cjs build & update min node to 20 ([#3687](markedjs/marked#3687)) ([3c0b06f](markedjs/marked@3c0b06f)) ### 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 nodejs.org/docs/latest-v20.x/api/modules.html#loading-ecmascript-modules-using-require
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
BREAKING CHANGES
./lib/marked.esm.jsand./lib/marked.umd.js./marked.min.jsuse./lib/marked.umd.jsinstead./lib/marked.cjsrequire('marked.esm.js'). see https://nodejs.org/docs/latest-v20.x/api/modules.html#loading-ecmascript-modules-using-requireContributor
Committer
In most cases, this should be a different person than the contributor.