feat(node-versions): raised the minimum required node version to v18.17 and dropped v19 support

npm v20 requires v18.17

BREAKING CHANGE: node v18.17 is now the minimum supported node version and support for v19 has been dropped
This commit is contained in:
Matt Travi 2023-09-15 15:39:49 -05:00
parent 03a687b3ea
commit b9f294d179
No known key found for this signature in database
GPG Key ID: 8C173646C24FED70
4 changed files with 6 additions and 4 deletions

View File

@ -20,8 +20,9 @@ jobs:
strategy:
matrix:
node-version:
- 18.0.0
- 19
- 18.17.0
- 20.0.0
- 20
runs-on: ubuntu-latest
timeout-minutes: 10

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
v18

2
package-lock.json generated
View File

@ -61,7 +61,7 @@
"testdouble": "3.18.0"
},
"engines": {
"node": ">=18"
"node": "^18.17 || >=20"
}
},
"node_modules/@babel/code-frame": {

View File

@ -75,7 +75,7 @@
"testdouble": "3.18.0"
},
"engines": {
"node": ">=18"
"node": "^18.17 || >=20"
},
"exports": "./index.js",
"files": [