build: upgrade uWebSockets.js to support Node 20 #1105
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.
This is a good backward compatible change that adds support for an upgraded uWebSockets.js version. That upgrade gives us support for Node 20 - https://github.com/uNetworking/uWebSockets.js/releases/tag/v20.33.0
However, reading that you can see that uWebSockets.js isn't exactly happy with the LTS version. So very soon the only supported versions will be (18, 20, 21, 22), then (20, 22, 23, 24)
So this paired with: #1104 - I recommend a dual testing CI pipeline of Node 18 / 20. As Node LTS come out and you follow the guidelines of uWebSockets.js - then you'll end up dropping 16 (now), then 18 (next year), then 20 over the course of the newt few years.