Given that official support for Node.js 14 and 16 has past (their respective end-of-life dates were April 30th and September 11th 2023), I propose we drop support for them in the Components.js stack. Moving to Node.js 18 brings a number of relevant advantages:
(Finally) stable ESM support!
(Experimental) integrated fetch API!
Support for Yarn 4, which brings us:
Full integration with Node.js CorePack
Automatic management of @types/... packages.
Support for (unasserted) JSON modules
ESM loaders
Note: I first did a bump to Node.js 16 (with Yarn 3). Should we still want to support that version longer, the last commit can be reverted.
Given that official support for Node.js 14 and 16 has past (their respective end-of-life dates were April 30th and September 11th 2023), I propose we drop support for them in the Components.js stack. Moving to Node.js 18 brings a number of relevant advantages:
fetch
API!@types/...
packages.Note: I first did a bump to Node.js 16 (with Yarn 3). Should we still want to support that version longer, the last commit can be reverted.