Update node dependency to 18.14
Background / User story
In order to continue using the most modern version of Node and npm, and to not wait until node 16 stops receiving maintenance updates, we should upgrade our node version to 18.14.2, as well as our npm version to 9.5.
Note that the next upcoming node LTS version is scheduled for release on 2023-10-24, so we shouldn't wait for that one (see release timeline).
Dependency changes
- Name: node
- New version: 18.14.2
- Breaking changes: list here
- Other changes: native fetch, http timeouts, native test runner, V8 upgrade
A notable new feature is the native watch
mode (experimental in 18 but stable in 20), so no need to use something like nodemon for dev scripts, which I believe is something we could really use
All in all, most of the change have little to no impact when using node as a build tool. All in all i would say the node 16 to node 20 upgrade path is very very smooth, the breaking changes are usually things that are not commonly used.
This also comes with:
- Name: npm
- New version: 9.5.1
- Breaking changes: list here
- Other changes: "Our goal with this major release was to standardize appropriate defaults and clean up legacy configurations where possible."
Not many notable changes except for the removal of npm bin
. I checked if node-dollar was using that and it isn't, nor is it used in our codebase.
Integration changes
-
Legal:
✅ No licence change -
Development:
✅ Verify that all of our dependencies (incl. @eyeo/webext-sdk) are compatible with those new versions.
Hints for testers
- Check that all scripts in package.json are working correctly
- Check that the mock server is booting up and serving pages correctly