feat!: update engines.node
to ^14.17.0 || ^16.13.0 || >=18.0.0
#2827
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.
Closes #2753
Checklist
npm install && npm test
passes 1tests are included(N/A)documentation is changed or added(N/A)Description of change
This PR drops support for node 12 and adds node 18.
The change was taken directly from #2770 (I haven't even modified the commit message 2), but I am breaking it out for convenience of review. The updated engines was listed as a blocker for #2796, so the goal is to unblock that fix.
Footnotes
Footnotes
One test was skipped:
test/test-addon.js ... python console app can't encode non-ascii character.
↩I noticed previous PRs tagged engine updates under "deps" rather than "feat", but since no one called it out in the original PR, I didn't change it. ↩