chore(deps): bump to Node 22 (current LTS)

Skipping Node 20, because it's in Maintenance mode and will reach
End-of-Life in a few months.

See <https://github.com/nodejs/release#release-schedule>
This commit is contained in:
Tiago de Paula 2025-10-26 20:51:46 -03:00
commit 2b5730ef69
No known key found for this signature in database
GPG key ID: 55BD118E42C985CF
4 changed files with 22 additions and 21 deletions

View file

@ -12,19 +12,19 @@ jobs:
strategy:
matrix:
include:
# EOL: April 2025
# EOL: April 2027
- os: macOS-latest
node_version: 18.x
node_version: 22.x
- os: windows-latest
node_version: 18.x
node_version: 22.x
- os: ubuntu-latest
node_version: 18.x
# EOL: April 2026
node_version: 22.x
# EOL: April 2028
- os: ubuntu-latest
node_version: 20.x
# EOL: April June 2024
node_version: 24.x
# EOL: June 2026
- os: ubuntu-latest
node_version: 21.x
node_version: 25.x
runs-on: ${{ matrix.os }}
@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@master
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node_version }}

View file

@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@master
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: "latest"
registry-url: "https://registry.npmjs.org/"

View file

@ -3,6 +3,7 @@
"description": "The self-hosted Web IRC client",
"version": "4.4.3",
"preferGlobal": true,
"type": "commonjs",
"bin": {
"thelounge": "index.js"
},
@ -43,7 +44,7 @@
],
"license": "MIT",
"engines": {
"node": ">=18.0.0"
"node": ">=22.0.0"
},
"files": [
"./.thelounge_home",
@ -104,7 +105,7 @@
"@types/mime-types": "^3.0.1",
"@types/mocha": "^10.0.10",
"@types/mousetrap": "^1.6.15",
"@types/node": "^18.19.130",
"@types/node": "^22.19.7",
"@types/node-forge": "^1.3.14",
"@types/read": "^0.0.32",
"@types/semver": "^7.7.1",

View file

@ -1925,12 +1925,12 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b"
integrity sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==
"@types/node@^18.19.130":
version "18.19.130"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.130.tgz#da4c6324793a79defb7a62cba3947ec5add00d59"
integrity sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==
"@types/node@^22.19.7":
version "22.19.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.19.7.tgz#434094ee1731ae76c16083008590a5835a8c39c1"
integrity sha512-MciR4AKGHWl7xwxkBa6xUGxQJ4VBOmPTF7sL+iGzuahOFaO0jHCsuEfS80pan1ef4gWId1oWOweIhrDEYLuaOw==
dependencies:
undici-types "~5.26.4"
undici-types "~6.21.0"
"@types/normalize-package-data@^2.4.0":
version "2.4.4"
@ -8058,10 +8058,10 @@ undate@^0.3.0:
resolved "https://registry.yarnpkg.com/undate/-/undate-0.3.0.tgz#cbf6b1f179d69ace7393e6d92400c3afdf43d140"
integrity sha512-ssH8QTNBY6B+2fRr3stSQ+9m2NT8qTaun3ExTx5ibzYQvP7yX4+BnX0McNxFCvh6S5ia/DYu6bsCKQx/U4nb/Q==
undici-types@~5.26.4:
version "5.26.5"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
undici-types@~6.21.0:
version "6.21.0"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
undici-types@~7.16.0:
version "7.16.0"