chore: 🤖 allow Node versions 21 and 22

This Feb, Node.js 22 became the Active LTS version. With the engine
restriction it's impossible to build to package on a newer Node.js
version. Local testing showed that the package works fine on Node.js 22,
thus the update.
This commit is contained in:
Roman Prudnikov 2025-03-19 10:49:34 +01:00
parent 3908079ba1
commit f7a6e2b59a

View file

@ -8,7 +8,7 @@
"types": "types/async-function.d.ts",
"private": true,
"engines": {
"node": ">=20.0.0 <21.0.0"
"node": ">=20.0.0 <23.0.0"
},
"scripts": {
"build": "npm run build:types && ncc build src/main.ts",