Skip to content

Commit e523629

Browse files
authored
Drop Node 22, support Node 25, update deps (#74)
1 parent 7c30814 commit e523629

7 files changed

Lines changed: 575 additions & 663 deletions

File tree

.github/workflows/newsfile.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ jobs:
1212
- uses: actions/checkout@v2
1313
with: # Needed for comparison
1414
fetch-depth: 0
15-
- uses: actions/setup-python@v1
16-
with:
17-
python-version: '3.9'
18-
- run: pip install towncrier==21.9.0
15+
- uses: actions/setup-python@v2
16+
- run: pip install towncrier>=23.6.0
1917
- name: ":newspaper: Newsfile"
2018
run: ./scripts/check-newsfragment

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node_version: [22, 24]
14+
node_version: [24, 25]
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Use Node.js

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
24

changelog.d/74.removal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Drop support for Node 22, add support for Node 25, and refresh dependencies.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
77
"engines": {
8-
"node": ">=22"
8+
"node": ">=24"
99
},
1010
"directories": {
1111
"test": "tests"
@@ -26,27 +26,27 @@
2626
"author": "matrix.org",
2727
"license": "Apache-2.0",
2828
"dependencies": {
29-
"body-parser": "^1.19.0",
30-
"express": "^4.18.2",
31-
"js-yaml": "^4.1.0",
32-
"morgan": "^1.10.0"
29+
"body-parser": "^1.20.4",
30+
"express": "^4.22.1",
31+
"js-yaml": "^4.1.1",
32+
"morgan": "^1.10.1"
3333
},
3434
"devDependencies": {
35-
"@tsconfig/node22": "^22",
36-
"@types/body-parser": "^1.19.2",
35+
"@tsconfig/node24": "^24",
36+
"@types/body-parser": "^1.19.6",
3737
"@types/chai": "^4.2.22",
38-
"@types/express": "^4.17.21",
38+
"@types/express": "^4.17.25",
3939
"@types/js-yaml": "^4.0.9",
4040
"@types/mocha": "^10.0.0",
41-
"@types/morgan": "^1.9.3",
42-
"@types/node": "^22",
41+
"@types/morgan": "^1.9.10",
42+
"@types/node": "^24",
4343
"@typescript-eslint/eslint-plugin": "^8.39.0",
4444
"@typescript-eslint/parser": "^8.39.0",
4545
"chai": "^4.3.4",
4646
"eslint": "^8.57.0",
4747
"mocha": "^10.0.0",
4848
"ts-node": "^10.9.2",
4949
"typedoc": "^0.28.9",
50-
"typescript": "^5.9.2"
50+
"typescript": "^5.9.3"
5151
}
5252
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/node22/tsconfig.json",
2+
"extends": "@tsconfig/node24/tsconfig.json",
33
"compilerOptions": {
44
"incremental": true,
55
"allowJs": false,

yarn.lock

Lines changed: 558 additions & 645 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)