diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 727bc2cd382..cfa20fe6c52 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -22,7 +22,7 @@ jobs: - name: Use Node.js 20.19.3 uses: actions/setup-node@v6 with: - node-version: '20.19.3' + node-version: '24.20.0' - name: Installing my packages run: npm ci diff --git a/.nvmrc b/.nvmrc index 209e3ef4b62..a45fd52cc58 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +24 diff --git a/package-lock.json b/package-lock.json index 1283bd17ef9..c308f87cf8f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@elastic/datemath": "^5.0.3", "@emotion/babel-plugin": "^11.13.5", "@next/bundle-analyzer": "^12.3.7", - "@types/node": "^16.18.126", + "@types/node": "^24.0.0", "@typescript-eslint/eslint-plugin": "^7.18.0", "axios": "^1.18.0", "copy-webpack-plugin": "^13.0.1", @@ -1468,11 +1468,14 @@ } }, "node_modules/@types/node": { - "version": "16.18.126", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.126.tgz", - "integrity": "sha512-OTcgaiwfGFBKacvfwuHzzn1KLxH/er8mluiy8/uM3sGXHaRe73RrSIj01jow9t4kJEW633Ov+cOexXeiApTyAw==", + "version": "24.13.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz", + "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "undici-types": "~7.18.0" + } }, "node_modules/@types/numeral": { "version": "2.0.5", @@ -9453,6 +9456,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz", + "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==", + "dev": true, + "license": "MIT" + }, "node_modules/unherit": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz", diff --git a/package.json b/package.json index b3a12d55c82..4ed152a86d0 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@elastic/datemath": "^5.0.3", "@emotion/babel-plugin": "^11.13.5", "@next/bundle-analyzer": "^12.3.7", - "@types/node": "^16.18.126", + "@types/node": "^24.0.0", "@typescript-eslint/eslint-plugin": "^7.18.0", "axios": "^1.18.0", "copy-webpack-plugin": "^13.0.1",