From 54f5dcaeee16a054581fa469c934f989b99dce94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Nov 2026 20:37:12 +0000 Subject: [PATCH 1/2] chore: bump nock from 13.5.6 to 15.0.6 Bumps [nock](https://github.com/nock/nock) from 13.5.6 to 15.0.6. - [Release notes](https://github.com/nock/nock/releases) - [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md) - [Commits](https://github.com/nock/nock/compare/v13.5.6...v15.0.6) --- updated-dependencies: - dependency-name: nock dependency-version: 14.0.17 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f25fd7d..ee2f6db 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "abortcontroller-polyfill": "~1.7.3", "form-data": "^4.0.0", "iconv-lite": "^0.7.2", - "nock": "^13.2.4", + "nock": "^15.0.6", "parted": "^0.1.1", "string-to-arraybuffer": "^1.0.2", "tap": "^16.0.0" From bea6a0ca977fbd3b9819811a043550814e20dc55 Mon Sep 17 00:00:00 2001 From: Nikolche Kolev Date: Wed, 25 Nov 2026 16:45:48 -0800 Subject: [PATCH 2/2] test: update nock imports for v15 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fef6bacb-6392-4c2b-9e0e-c350cdf2e8ba --- test/decompress-async.js | 2 +- test/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/decompress-async.js b/test/decompress-async.js index 381d278..740e354 100644 --- a/test/decompress-async.js +++ b/test/decompress-async.js @@ -2,7 +2,7 @@ const t = require('tap') const fetch = require('../lib/index.js') const realZlib = require('zlib') -const nock = require('nock') +const { default: nock } = require('nock') // We additionally test decompression here using nock as it seems to recreate a // hard to diagnose condition: https://github.com/npm/minipass-fetch/issues/166 diff --git a/test/index.js b/test/index.js index fb253c6..67bba86 100644 --- a/test/index.js +++ b/test/index.js @@ -26,7 +26,7 @@ const http = require('http') // use of url.parse here is intentional and for coverage purposes // eslint-disable-next-line node/no-deprecated-api const { parse: parseURL, URLSearchParams } = require('url') -const nock = require('nock') +const { default: nock } = require('nock') const vm = require('vm') const {