豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Bump the npm-dependencies group across 1 directory with 3 updates#13280

Merged
JamieMagee merged 3 commits intomainfrom
dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0
Feb 12, 2026
Merged

Bump the npm-dependencies group across 1 directory with 3 updates#13280
JamieMagee merged 3 commits intomainfrom
dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Oct 12, 2025

Bumps the npm-dependencies group with 3 updates in the /npm_and_yarn/helpers directory: @npmcli/arborist, nock and semver.

Updates @npmcli/arborist from 8.0.0 to 9.1.6

Release notes

Sourced from @​npmcli/arborist's releases.

arborist: v9.1.6

9.1.6 (2025-10-08)

Bug Fixes

Chores

arborist: v9.1.5

9.1.5 (2025-09-23)

Bug Fixes

Dependencies

Chores

arborist: v9.1.4

9.1.4 (2025-09-03)

Bug Fixes

Chores

arborist: v9.1.3

9.1.3 (2025-07-24)

Bug Fixes

... (truncated)

Changelog

Sourced from @​npmcli/arborist's changelog.

9.1.6 (2025-10-08)

Bug Fixes

Chores

9.1.5 (2025-09-23)

Bug Fixes

Dependencies

Chores

9.1.4 (2025-09-03)

Bug Fixes

Chores

9.1.3 (2025-07-24)

Bug Fixes

Chores

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by owlstronaut, a new releaser for @​npmcli/arborist since your current version.


Updates nock from 13.5.6 to 14.0.10

Release notes

Sourced from nock's releases.

v14.0.10

14.0.10 (2025-08-12)

Bug Fixes

  • Use Error objects instead of plain objects with replyWithError() (#2900) (f2a3389)

v14.0.9

14.0.9 (2025-08-07)

Bug Fixes

v14.0.8

14.0.8 (2025-08-01)

Bug Fixes

  • ClientRequest: support http.Agent instances as agents for https requests (#2896) (e4390b8)

v14.0.7

14.0.7 (2025-07-26)

Bug Fixes

  • address timeout issue with mocked timers (#2880) (fb112f3)

v14.0.6

14.0.6 (2025-07-19)

Bug Fixes

v14.0.5

14.0.5 (2025-05-30)

Bug Fixes

  • use of a fetch() recording that uses gzip compression is missing the headers, Possible EventEmitter memory leak when used together with MongoDBContainer (#2869) (90b2a04)

v14.0.4

14.0.4 (2025-04-20)

... (truncated)

Commits
  • f2a3389 fix: Use Error objects instead of plain objects with replyWithError() (#2900)
  • 721ae1a chore(deps-dev): bump form-data from 4.0.2 to 4.0.4
  • 316c990 chore(deps-dev): bump tmp from 0.2.1 to 0.2.4
  • bc48f92 fix: address timeout issue with mocked timers (Revert #2880) (#2902)
  • e4390b8 fix(ClientRequest): support http.Agent instances as agents for https requests...
  • fb112f3 fix: address timeout issue with mocked timers (#2880)
  • 0db794b fix
  • eeb0924 fix
  • b77f865 test
  • b4514ca fix
  • Additional commits viewable in compare view

Updates semver from 7.7.2 to 7.7.3

Release notes

Sourced from semver's releases.

v7.7.3

7.7.3 (2025-10-06)

Bug Fixes

Chores

Changelog

Sourced from semver's changelog.

7.7.3 (2025-10-06)

Bug Fixes

Chores

Commits
  • a25789b chore: release 7.7.3 (#812)
  • e37e0ca fix: faster paths for compare (#813)
  • 2471d75 fix: x-range build metadata support
  • 8f05c87 chore: bump @​npmcli/template-oss from 4.25.0 to 4.25.1 (#807)
  • d17aebf chore: bump @​npmcli/template-oss from 4.24.4 to 4.25.0 (#797)
  • 3b03e3b chore: bump @​npmcli/template-oss from 4.24.3 to 4.24.4 (#790)
  • See full diff in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for semver since your current version.


You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies javascript Dependabot pull requests that update Javascript code labels Oct 12, 2025
@dependabot dependabot bot requested a review from a team as a code owner October 12, 2025 16:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch from 14f03d5 to f941a9b Compare October 19, 2025 16:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch 2 times, most recently from 2016bff to a66417c Compare November 2, 2025 16:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch 2 times, most recently from dc5f332 to 33feb43 Compare November 16, 2025 16:01
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Nov 17, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch from 33feb43 to af5cea6 Compare November 23, 2025 16:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch 2 times, most recently from 58f5c1e to 763ad1c Compare December 7, 2025 16:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch 2 times, most recently from 175c798 to d301dd8 Compare December 21, 2025 16:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch from d301dd8 to 6b8efdd Compare January 4, 2026 16:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch 2 times, most recently from 8a41438 to 23abca0 Compare January 16, 2026 21:46
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch 2 times, most recently from 74d57d5 to d4bdc20 Compare January 25, 2026 16:03
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch 2 times, most recently from d90f220 to f0449ef Compare February 8, 2026 16:03
@JamieMagee
Copy link
Copy Markdown
Member

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch from f0449ef to cf73dd2 Compare February 12, 2026 03:33
@JamieMagee
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch from cf73dd2 to d847f3e Compare February 12, 2026 05:05
@JamieMagee
Copy link
Copy Markdown
Member

I dug into the CI failure. Both vulnerability-auditor.test.js tests time out with this error:

No socket was returned in the `connect()` function

at Agent.createConnection (agent-base/src/index.ts:176:10)
at MockHttpSocket.passthrough (@mswjs/interceptors/.../MockHttpSocket.ts:192:25)

The problem is nock v14 and arborist v9 don't play well together. nock v13 intercepted HTTP by monkey-patching http.request at the top level, before any agent got involved. nock v14 switched to @mswjs/interceptors, which intercepts at the socket level. Meanwhile, arborist v9 pulled in npm-registry-fetch v19, which uses @npmcli/agent (built on agent-base). When nock v14 tries to pass a request through to the mock, it calls Agent.createConnection() expecting a raw net.Socket back, but agent-base wraps connections differently and returns nothing nock understands. The audit request to http://localhost:9999 never completes, and the test hangs until it times out.

The semver bump is fine. The arborist and nock bumps are individually fine too, but combined they break the vulnerability auditor's mocking setup.

Easiest fix: split this into two PRs. Take arborist v9 + semver now, keep nock at v13. The nock v14 upgrade needs either a workaround in vulnerability-auditor.js (e.g., spinning up a real local HTTP server instead of using nock) or waiting for @mswjs/interceptors to handle custom agents properly.

@JamieMagee
Copy link
Copy Markdown
Member

Pushed a fix in f26a558. Replaced nock with a real http.createServer on a random port in vulnerability-auditor.js. The server handles the same POST /-/npm/v1/security/advisories/bulk endpoint that nock was mocking, so arborist's audit calls hit an actual HTTP server instead of a socket-level interceptor. This avoids the nock v14 / @npmcli/agent incompatibility entirely and lets us drop nock as a dependency (it was only used here). All 19 helper tests pass.

@JamieMagee JamieMagee force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch from f26a558 to 7e23757 Compare February 12, 2026 17:10
@JamieMagee
Copy link
Copy Markdown
Member

Pushed a second fix in c89ca6a. The smoke test smoke-npm-remove-transitive was still failing because the CI runs a proxy container that intercepts all HTTP traffic from the updater. The local http.createServer I added listens on 127.0.0.1, but arborist (via npm-registry-fetch) was routing the audit POST through the proxy, which couldn't reach localhost. The proxy logs showed No response from server for POST http://127.0.0.1:42313/-/npm/v1/security/advisories/bulk.

Fix: pass noProxy: '127.0.0.1' in the Arborist constructor options so the audit request goes directly to the local server instead of through the proxy.

dependabot bot and others added 3 commits February 12, 2026 12:22
Bumps the npm-dependencies group with 3 updates in the /npm_and_yarn/helpers directory: [@npmcli/arborist](https://github.com/npm/cli/tree/HEAD/workspaces/arborist), [nock](https://github.com/nock/nock) and [semver](https://github.com/npm/node-semver).


Updates `@npmcli/arborist` from 8.0.0 to 9.1.6
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/workspaces/arborist/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/commits/arborist-v9.1.6/workspaces/arborist)

Updates `nock` from 13.5.6 to 14.0.10
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](nock/nock@v13.5.6...v14.0.10)

Updates `semver` from 7.7.2 to 7.7.3
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](npm/node-semver@v7.7.2...v7.7.3)

---
updated-dependencies:
- dependency-name: "@npmcli/arborist"
  dependency-version: 9.1.6
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm-dependencies
- dependency-name: nock
  dependency-version: 14.0.10
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm-dependencies
- dependency-name: semver
  dependency-version: 7.7.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
nock v14 uses @mswjs/interceptors, which intercepts at the socket
level. arborist v9 uses @npmcli/agent (via npm-registry-fetch v19),
which wraps connections through agent-base. The two don't talk to each
other: nock calls Agent.createConnection() expecting a raw net.Socket,
agent-base returns nothing it understands, and the audit request hangs.

Swap nock out for a plain http.createServer on a random port. The
server responds to POST /-/npm/v1/security/advisories/bulk with the
same JSON nock was returning. This works with any HTTP client/agent
and removes nock as a production dependency entirely.
In CI, HTTP traffic goes through a proxy container. The local
http.createServer used for faking the audit registry listens on
127.0.0.1, but arborist (via npm-registry-fetch) routes requests
through the proxy, which can't reach localhost. The proxy logs
showed 'No response from server' for the bulk advisory POST.

Pass noProxy: '127.0.0.1' in the Arborist options so the audit
request goes directly to the local server.
@JamieMagee JamieMagee force-pushed the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch from c89ca6a to bc6d524 Compare February 12, 2026 20:22
@JamieMagee JamieMagee merged commit 9d27ec9 into main Feb 12, 2026
93 checks passed
@JamieMagee JamieMagee deleted the dependabot/npm_and_yarn/npm_and_yarn/helpers/npm-dependencies-b6ed5183d0 branch February 12, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Dependabot pull requests that update Javascript code L: javascript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants