Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
styfle
left a comment
There was a problem hiding this comment.
I’m surprised tests are passing. We probably need to bump the target output to truly drop node 16 come September https://nodejs.org/gl/blog/announcements/nodejs16-eol
|
Our docs state that we support lts and current node. The engines field should reflect what versions we support not what versions happen to work. |
|
Well Node 16 is an LTS release: https://nodejs.dev/en/about/releases/. And in any case, we could easily change the language on https://github.com/markedjs/marked#compatibility to cover Node 16. It's pretty frustrating that this package works on Node 16 without issue and I'm being banned from running it there anyway. I don't quite understand the reasoning behind that or what the benefit is. And it seems like a lot of other people are frustrated too: #2767 (comment) |
|
The reasoning is that none of us on the markedjs team want to debug issues on older versions of node. We have limited free time and would like to focus that time on versions of node we use. If you would like to join the team and help maintain older versions you are welcome to. We do appreciate the work you have done on marked 😁👍. You can still use it. There are many well documented ways to get around the engines version. You can use |
|
Sure, if there are any issues that arise on the oldest version of Node, but not more recent versions, I don't mind being responsible for those |
|
Sounds easy enough - once 16.x added to CI then the issues will present themselves if a PR causes 16.x to regress 👍 |
|
Can this PR solve the problem mentioned in #2767 (comment)? |
|
@UziTech Can you help check this please? |
## [5.1.2](v5.1.1...v5.1.2) (2023-07-25) ### Bug Fixes * Add support for Node 16 ([#2886](#2886)) ([e465ce4](e465ce4))
|
thank you!! |
## [5.1.2](markedjs/marked@v5.1.1...v5.1.2) (2023-07-25) ### Bug Fixes * Add support for Node 16 ([#2886](markedjs/marked#2886)) ([1911642](markedjs/marked@1911642))
Marked version:
masterMarkdown flavor: n/a
Description
Node 16 is still supported until September and there's no code in
markedthat doesn't work on Node 16, so it's unnecessarily aggressive to disallow it.Expectation
Should be able to run marked on Node 16
Result
enginesfield gets in the way prior to this PRContributor
Committer
In most cases, this should be a different person than the contributor.