Skip to content

Commit 810b15f

Browse files
Upgrade to Node 22 (#552) (#559)
* Upgrade to Node 22 * Fix typo * Upgrade @types/node (cherry picked from commit a000bb3) # Conflicts: # yarn.lock Co-authored-by: Jorge Sanz <[email protected]>
1 parent 09e6943 commit 810b15f

File tree

4 files changed

+33
-9
lines changed

4 files changed

+33
-9
lines changed

.buildkite/pipeline.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
agents:
2-
image: "docker.elastic.co/ci-agent-images/ems/buildkite-agent-node20:0.5@sha256:01d63c1c1e9895e410a8b50c0eb0ce8e986c354085a11ed1d00355a12935ac5e"
2+
image: "docker.elastic.co/ci-agent-images/ems/buildkite-agent-node22:0.5@sha256:b14dcc6455b0678a5f76108ddabbb5c9f1455c8fc4445b03e31e7dc0f12a025d"
33
cpu: "2"
44
memory: "2G"
55

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/iron
1+
lts/jod

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@types/jest": "29.5.14",
5555
"@types/lodash": "4.17.14",
5656
"@types/lru-cache": "5.1.1",
57-
"@types/node": "20.17.13",
57+
"@types/node": "22.10.6",
5858
"@types/semver": "7.5.8",
5959
"@types/topojson-specification": "1.0.5",
6060
"@typescript-eslint/eslint-plugin": "8.20.0",
@@ -72,6 +72,6 @@
7272
"typescript-eslint": "8.20.0"
7373
},
7474
"engines": {
75-
"node": ">=18 <=20"
75+
"node": ">=18 <=22"
7676
}
7777
}

yarn.lock

+29-5
Original file line numberDiff line numberDiff line change
@@ -1462,12 +1462,12 @@
14621462
dependencies:
14631463
undici-types "~6.20.0"
14641464

1465-
"@types/node@20.17.13":
1466-
version "20.17.13"
1467-
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.13.tgz#26a7d3e72724ed73bc2fd39a66a2ab17e6e19a00"
1468-
integrity sha512-RNf+4dEeV69PIvyp++4IKM2vnLXtmp/JovfeQm5P5+qpKb6wHoH7INywLdZ7z+gVX46kgBP/fwJJvZYaHxtdyw==
1465+
"@types/node@22.10.6":
1466+
version "22.10.6"
1467+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.6.tgz#5c6795e71635876039f853cbccd59f523d9e4239"
1468+
integrity sha512-qNiuwC4ZDAUNcY47xgaSuS92cjf8JbSUoaKS77bmLG1rU7MlATVSiw/IlrjtIyyskXBZ8KkNfjK/P5na7rgXbQ==
14691469
dependencies:
1470-
undici-types "~6.19.2"
1470+
undici-types "~6.20.0"
14711471

14721472
14731473
version "7.5.8"
@@ -3635,10 +3635,34 @@ [email protected]:
36353635
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e"
36363636
integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==
36373637

3638+
<<<<<<< HEAD
36383639
undici-types@~6.19.2:
36393640
version "6.19.8"
36403641
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
36413642
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==
3643+
=======
3644+
typewise-core@^1.2, typewise-core@^1.2.0:
3645+
version "1.2.0"
3646+
resolved "https://registry.yarnpkg.com/typewise-core/-/typewise-core-1.2.0.tgz#97eb91805c7f55d2f941748fa50d315d991ef195"
3647+
integrity sha512-2SCC/WLzj2SbUwzFOzqMCkz5amXLlxtJqDKTICqg30x+2DZxcfZN2MvQZmGfXWKNWaKK9pBPsvkcwv8bF/gxKg==
3648+
3649+
typewise@^1.0.3:
3650+
version "1.0.3"
3651+
resolved "https://registry.yarnpkg.com/typewise/-/typewise-1.0.3.tgz#1067936540af97937cc5dcf9922486e9fa284651"
3652+
integrity sha512-aXofE06xGhaQSPzt8hlTY+/YWQhm9P0jYUp1f2XtmW/3Bk0qzXcyFWAtPoo2uTGQj1ZwbDuSyuxicq+aDo8lCQ==
3653+
dependencies:
3654+
typewise-core "^1.2.0"
3655+
3656+
undici-types@~5.26.4:
3657+
version "5.26.5"
3658+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
3659+
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
3660+
3661+
undici-types@~6.20.0:
3662+
version "6.20.0"
3663+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433"
3664+
integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==
3665+
>>>>>>> a000bb3 (Upgrade to Node 22 (#552))
36423666

36433667
undici-types@~6.20.0:
36443668
version "6.20.0"

0 commit comments

Comments
 (0)