-
Notifications
You must be signed in to change notification settings - Fork 409
Open
Labels
Description
Eris currently has a minimum supported version of Node 10. However that version was released in 2018, isn't maintained anymore, and doesn't receive security patches. With Node 16 entering LTS in less than 3 months, I believe we should bump the minimum supported version to at least Node 14.
Updating to Node 14 brings countless security and performance improvements (especially to JSON parsing), bug fixes, and useful new features such as:
- Numeric separators to increase the readability of numbers.
- Optional chaining and nullish coalescing which allow for significantly simpler code when dealing with nullish values.
- Private class fields which are particularly useful for a library, as they make it easier to hide internal code that isn't meant to be exposed to users.
- ECMAScript modules have been stabilized. This removes the need to support unstable ESM versions in the package.json file.
I am willing to make a PR for this, however it's practically guaranteed to be full of merge conflicts with any existing PRs due to these new features. Because of that, I believe it would be better to wait until after the next Eris release to open such a PR, as merge conflicts will be at their lowest then.
Reactions are currently unavailable