diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 4591d840..ad9cafa0 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -34,7 +34,7 @@ jobs: - name: Setup node uses: actions/setup-node@v6 with: - node-version: 22.x + node-version: 24.x cache: yarn - name: Yarn run: yarn @@ -56,7 +56,7 @@ jobs: - name: Setup node uses: actions/setup-node@v6 with: - node-version: 20.x + node-version: 24.x cache: yarn - name: Yarn run: yarn @@ -69,6 +69,6 @@ jobs: with: # Pin to a pre-require(esm) Node 20 release to catch ESM-only transitive deps # that would otherwise pass on newer Node 20 patches. - node-version: 20.18.0 + node-version: 24.18.1 - name: Test install in other package run: ./scripts/test-package/run.sh "file:../${SDK_TARBALL}" diff --git a/package.json b/package.json index 1066c0f9..8a61bdc7 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "@types/make-fetch-happen": "^10.0.4", "@types/murmurhash3js": "^3.0.7", "@types/nock": "^11.1.0", - "@types/node": "^20.17.17", + "@types/node": "^24.0.0", "@types/proxy-from-env": "^1.0.4", "@types/semver": "^7.5.0", "@unleash/client-specification": "6.1.0", diff --git a/yarn.lock b/yarn.lock index 70e6fd6b..3b909efe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -488,12 +488,12 @@ dependencies: undici-types "~5.26.4" -"@types/node@^20.17.17": - version "20.17.17" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.17.tgz#5cea2af2e271313742c14f418eaf5dcfa8ae2e3a" - integrity sha512-/WndGO4kIfMicEQLTi/mDANUu/iVUhT7KboZPdEqqHQ4aTS+3qT3U5gIqWDFV+XouorjfgGqvKILJeHhuQgFYg== +"@types/node@^24.0.0": + version "24.13.3" + resolved "https://registry.yarnpkg.com/@types/node/-/node-24.13.3.tgz#49f18bd3c647866dcda51a0756c145e14590ce16" + integrity sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q== dependencies: - undici-types "~6.19.2" + undici-types "~7.18.0" "@types/proxy-from-env@^1.0.4": version "1.0.4" @@ -1965,10 +1965,10 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -undici-types@~6.19.2: - version "6.19.8" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" - integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== +undici-types@~7.18.0: + version "7.18.2" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.18.2.tgz#29357a89e7b7ca4aef3bf0fd3fd0cd73884229e9" + integrity sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w== unicorn-magic@^0.3.0: version "0.3.0"