diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d06d9a9aad..de31613094 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -98,7 +98,7 @@ jobs: matrix: os: [macos-latest, ubuntu-latest, windows-latest] python: ["3.10", "3.12", "3.14"] - node: [20.x, 22.x, 24.x] + node: [20.x, 22.x, 24.x, 26.x] include: - os: macos-15-intel # macOS on Intel python: "3.14" diff --git a/lib/download.js b/lib/download.js index 0d9d2e32fa..dfaca798cf 100644 --- a/lib/download.js +++ b/lib/download.js @@ -1,5 +1,5 @@ const { Readable } = require('stream') -const { Agent, EnvHttpProxyAgent, RetryAgent } = require('undici') +const { Agent, EnvHttpProxyAgent, RetryAgent, fetch } = require('undici') const { promises: fs } = require('graceful-fs') const log = require('./log')