Skip to content

Commit abc756f

Browse files
committed
chore: bump minimum supported Node to 20 LTS
1 parent b2811bb commit abc756f

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Node
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: '18'
27+
node-version: '20'
2828

2929
- name: Bootstrap
3030
run: ./scripts/bootstrap
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set up Node
4747
uses: actions/setup-node@v4
4848
with:
49-
node-version: '18'
49+
node-version: '20'
5050

5151
- name: Bootstrap
5252
run: ./scripts/bootstrap

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ TypeScript >= 4.5 is supported.
354354
The following runtimes are supported:
355355

356356
- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
357-
- Node.js 18 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
357+
- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
358358
- Deno v1.28.0 or higher.
359359
- Bun 1.0 or later.
360360
- Cloudflare Workers.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"fix": "./scripts/format"
2828
},
2929
"dependencies": {
30-
"@types/node": "^18.11.18",
30+
"@types/node": "^20.0.0",
3131
"@types/node-fetch": "^2.6.4",
3232
"abort-controller": "^3.0.0",
3333
"agentkeepalive": "^4.2.1",

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -867,12 +867,12 @@
867867
dependencies:
868868
undici-types "~7.19.0"
869869

870-
"@types/node@^18.11.18":
871-
version "18.19.130"
872-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.130.tgz#da4c6324793a79defb7a62cba3947ec5add00d59"
873-
integrity sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==
870+
"@types/node@^20.0.0":
871+
version "20.19.39"
872+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.39.tgz#e98a3b575574070cd34b784bd173767269f95e99"
873+
integrity sha512-orrrD74MBUyK8jOAD/r0+lfa1I2MO6I+vAkmAWzMYbCcgrN4lCrmK52gRFQq/JRxfYPfonkr4b0jcY7Olqdqbw==
874874
dependencies:
875-
undici-types "~5.26.4"
875+
undici-types "~6.21.0"
876876

877877
"@types/stack-utils@^2.0.0":
878878
version "2.0.3"
@@ -3255,10 +3255,10 @@ uglify-js@^3.1.4:
32553255
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.3.tgz#82315e9bbc6f2b25888858acd1fff8441035b77f"
32563256
integrity sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==
32573257

3258-
undici-types@~5.26.4:
3259-
version "5.26.5"
3260-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
3261-
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
3258+
undici-types@~6.21.0:
3259+
version "6.21.0"
3260+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
3261+
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
32623262

32633263
undici-types@~7.19.0:
32643264
version "7.19.2"

0 commit comments

Comments
 (0)