Skip to content

Commit b5cb101

Browse files
committed
feat(all): Upgrade Node.js and drop support for EoL versions
1 parent f528a3f commit b5cb101

File tree

10 files changed

+36
-16
lines changed

10 files changed

+36
-16
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
node: [18, 19, 20, 21]
18+
node:
19+
- 20 # Maintenance LTS
20+
- 22 # Maintenance LTS
21+
- 24 # Active LTS
22+
- 25 # Current
1923
steps:
2024
- uses: actions/checkout@v4
2125
- uses: actions/setup-node@v4

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
21.6.2
1+
25.2.1

examples/jest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@assertive-ts/core": "workspace:^",
1010
"@examples/symbol-plugin": "workspace:^",
1111
"@types/jest": "^29.5.12",
12-
"@types/node": "^20.11.19",
12+
"@types/node": "^24.10.1",
1313
"jest": "^29.7.0",
1414
"ts-jest": "^29.1.2",
1515
"ts-node": "^10.9.2",

examples/mocha/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@assertive-ts/core": "workspace:^",
1010
"@examples/symbol-plugin": "workspace:^",
1111
"@types/mocha": "^10.0.6",
12-
"@types/node": "^20.11.19",
12+
"@types/node": "^24.10.1",
1313
"mocha": "^10.3.0",
1414
"ts-node": "^10.9.2",
1515
"typescript": "^5.4.2"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "Stack Builders <[email protected]>",
77
"license": "MIT",
88
"engines": {
9-
"node": ">=18"
9+
"node": ">=20"
1010
},
1111
"packageManager": "[email protected]",
1212
"workspaces": [

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"devDependencies": {
3939
"@types/mocha": "^10.0.6",
40-
"@types/node": "^20.11.19",
40+
"@types/node": "^24.10.1",
4141
"@types/sinon": "^17.0.3",
4242
"all-contributors-cli": "^6.26.1",
4343
"mocha": "^10.3.0",

packages/dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@testing-library/react": "^16.0.0",
4545
"@types/jsdom-global": "^3",
4646
"@types/mocha": "^10.0.6",
47-
"@types/node": "^20.11.19",
47+
"@types/node": "^24.10.1",
4848
"@types/react": "^18.3.3",
4949
"@types/react-dom": "^18.3.0",
5050
"@types/react-test-renderer": "^18",

packages/native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@assertive-ts/core": "workspace:^",
4343
"@testing-library/react-native": "^12.9.0",
4444
"@types/mocha": "^10.0.6",
45-
"@types/node": "^20.11.19",
45+
"@types/node": "^24.10.1",
4646
"@types/react": "^18.2.70",
4747
"@types/react-test-renderer": "^18.0.7",
4848
"@types/sinon": "^17.0.3",

packages/sinon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"devDependencies": {
4141
"@assertive-ts/core": "workspace:^",
4242
"@types/mocha": "^10.0.6",
43-
"@types/node": "^20.11.19",
43+
"@types/node": "^24.10.1",
4444
"@types/sinon": "^17.0.3",
4545
"mocha": "^10.3.0",
4646
"semantic-release": "^23.0.2",

yarn.lock

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ __metadata:
2727
resolution: "@assertive-ts/core@workspace:packages/core"
2828
dependencies:
2929
"@types/mocha": "npm:^10.0.6"
30-
"@types/node": "npm:^20.11.19"
30+
"@types/node": "npm:^24.10.1"
3131
"@types/sinon": "npm:^17.0.3"
3232
all-contributors-cli: "npm:^6.26.1"
3333
dedent: "npm:^1.5.1"
@@ -54,7 +54,7 @@ __metadata:
5454
"@testing-library/react": "npm:^16.0.0"
5555
"@types/jsdom-global": "npm:^3"
5656
"@types/mocha": "npm:^10.0.6"
57-
"@types/node": "npm:^20.11.19"
57+
"@types/node": "npm:^24.10.1"
5858
"@types/react": "npm:^18.3.3"
5959
"@types/react-dom": "npm:^18.3.0"
6060
"@types/react-test-renderer": "npm:^18"
@@ -88,7 +88,7 @@ __metadata:
8888
"@assertive-ts/core": "workspace:^"
8989
"@testing-library/react-native": "npm:^12.9.0"
9090
"@types/mocha": "npm:^10.0.6"
91-
"@types/node": "npm:^20.11.19"
91+
"@types/node": "npm:^24.10.1"
9292
"@types/react": "npm:^18.2.70"
9393
"@types/react-test-renderer": "npm:^18.0.7"
9494
"@types/sinon": "npm:^17.0.3"
@@ -128,7 +128,7 @@ __metadata:
128128
dependencies:
129129
"@assertive-ts/core": "workspace:^"
130130
"@types/mocha": "npm:^10.0.6"
131-
"@types/node": "npm:^20.11.19"
131+
"@types/node": "npm:^24.10.1"
132132
"@types/sinon": "npm:^17.0.3"
133133
fast-deep-equal: "npm:^3.1.3"
134134
mocha: "npm:^10.3.0"
@@ -1486,7 +1486,7 @@ __metadata:
14861486
"@assertive-ts/core": "workspace:^"
14871487
"@examples/symbol-plugin": "workspace:^"
14881488
"@types/jest": "npm:^29.5.12"
1489-
"@types/node": "npm:^20.11.19"
1489+
"@types/node": "npm:^24.10.1"
14901490
jest: "npm:^29.7.0"
14911491
ts-jest: "npm:^29.1.2"
14921492
ts-node: "npm:^10.9.2"
@@ -1501,7 +1501,7 @@ __metadata:
15011501
"@assertive-ts/core": "workspace:^"
15021502
"@examples/symbol-plugin": "workspace:^"
15031503
"@types/mocha": "npm:^10.0.6"
1504-
"@types/node": "npm:^20.11.19"
1504+
"@types/node": "npm:^24.10.1"
15051505
mocha: "npm:^10.3.0"
15061506
ts-node: "npm:^10.9.2"
15071507
typescript: "npm:^5.4.2"
@@ -3176,7 +3176,7 @@ __metadata:
31763176
languageName: node
31773177
linkType: hard
31783178

3179-
"@types/node@npm:*, @types/node@npm:^20.11.19":
3179+
"@types/node@npm:*":
31803180
version: 20.11.19
31813181
resolution: "@types/node@npm:20.11.19"
31823182
dependencies:
@@ -3185,6 +3185,15 @@ __metadata:
31853185
languageName: node
31863186
linkType: hard
31873187

3188+
"@types/node@npm:^24.10.1":
3189+
version: 24.10.1
3190+
resolution: "@types/node@npm:24.10.1"
3191+
dependencies:
3192+
undici-types: "npm:~7.16.0"
3193+
checksum: 10/ddac8c97be5f7401e31ea0e9316c6e864993c6cd06689b7f9874ecfb576ef8349f2d14298248a08b94a6dd029570a46a285cddc4d50e524817f1a3730b29a86e
3194+
languageName: node
3195+
linkType: hard
3196+
31883197
"@types/normalize-package-data@npm:^2.4.1, @types/normalize-package-data@npm:^2.4.3":
31893198
version: 2.4.4
31903199
resolution: "@types/normalize-package-data@npm:2.4.4"
@@ -13416,6 +13425,13 @@ __metadata:
1341613425
languageName: node
1341713426
linkType: hard
1341813427

13428+
"undici-types@npm:~7.16.0":
13429+
version: 7.16.0
13430+
resolution: "undici-types@npm:7.16.0"
13431+
checksum: 10/db43439f69c2d94cc29f75cbfe9de86df87061d6b0c577ebe9bb3255f49b22c50162a7d7eb413b0458b6510b8ca299ac7cff38c3a29fbd31af9f504bcf7fbc0d
13432+
languageName: node
13433+
linkType: hard
13434+
1341913435
"unicode-canonical-property-names-ecmascript@npm:^2.0.0":
1342013436
version: 2.0.1
1342113437
resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.1"

0 commit comments

Comments
 (0)