Skip to content

chore(deps): bump verdaccio from 6.10.6 to 7.1.2 - #1799

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/verdaccio-7.1.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/verdaccio-7.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps verdaccio from 6.10.6 to 7.1.2.

Release notes

Sourced from verdaccio's releases.

v7.1.2

Patch Changes

  • e9fd841: Update the @verdaccio/* modules to the next-9 npm dist-tag.

    Patch changes

    • @verdaccio/middleware: Fix requests returning 404 when Verdaccio's Express application is mounted under (#6483) a path such as /registry. The request logger now preserves the path Express uses to route requests while continuing to log the complete original URL. This restores web package listing, search, login, and registry API requests under the mount path, including when middleware plugins continue asynchronously.

      The default suppression of static-file and successful ping logs also works under the mount path; failed pings remain visible. No configuration changes are needed. The problem was reproduced on the 9.x development line at 9.0.0-next-9.45. The separate asynchronous web-routing failure reported in Verdaccio 6.x requires the fixes for that release line.

    • @verdaccio/ui-theme: Fix the web UI failing to load parts of itself when Verdaccio is served under url_prefix. (#6480)

      The UI loads some of its files on demand, such as the code and styles of the package detail page. Those requests went to /-/static/ at the root of the host instead of below url_prefix, so behind a reverse proxy that only forwards the prefix they failed with 404. Package pages then showed "Something went wrong", and other pages could lose styles. The UI now requests these files relative to its own location, so they follow url_prefix. Registries served at the root of a host behave as before.

      This affected @verdaccio/ui-theme 9.0.0-next-9.2 and later, the web UI Verdaccio 6 and 7 ship. A reverse proxy rule that forwards /-/static/ at the root to Verdaccio as a workaround is no longer needed.

      No configuration change is needed.

    • @verdaccio/proxy, @verdaccio/store: Fix the X-Forwarded-For header sent to uplinks. (#6476)

      Tarball requests to an uplink carried the literal value undefined, because no client address is passed on that path. A reverse proxy or firewall in front of the uplink could log, rate limit or reject those requests under a bogus address. The header is now only generated when the client address is known, so tarball requests carry no X-Forwarded-For, as in 6.x.

      Metadata requests forward the X-Forwarded-For chain the client request arrived with, followed by the client address. Since 7.x they sent the client address alone and dropped the incoming chain that 6.x forwarded.

      An X-Forwarded-For value set in the headers option of an uplink takes precedence however the header name is capitalised. A lower-case x-forwarded-for lost against the generated value on tarball requests.

      When the uplink goes through http_proxy or https_proxy no client-origin header is generated, as before; a value set in the uplink headers is still sent.

      No configuration change is needed.

v7.1.1

Patch Changes

  • e3415f7: Update the @verdaccio/* modules to the next-9 npm dist-tag.

    Patch changes

    • @verdaccio/ui-theme: chore(ui-theme): type clean-up (#6456)
    • @verdaccio/store: chore(store): type clean-up (#6457)
    • @verdaccio/api: Abort the storage read of a tarball download when the client disconnects before the response finishes. (#6465)
    • @verdaccio/proxy: Fix the via header sent to an uplink growing with every request when the uplink has a headers option in the config. (#6463)
    • @verdaccio/store: chore(store): skip storing secret if it's not changed (#6458)

... (truncated)

Changelog

Sourced from verdaccio's changelog.

7.1.2

Patch Changes

  • e9fd841: Update the @verdaccio/* modules to the next-9 npm dist-tag.

    Patch changes

    • @verdaccio/middleware: Fix requests returning 404 when Verdaccio's Express application is mounted under (#6483) a path such as /registry. The request logger now preserves the path Express uses to route requests while continuing to log the complete original URL. This restores web package listing, search, login, and registry API requests under the mount path, including when middleware plugins continue asynchronously.

      The default suppression of static-file and successful ping logs also works under the mount path; failed pings remain visible. No configuration changes are needed. The problem was reproduced on the 9.x development line at 9.0.0-next-9.45. The separate asynchronous web-routing failure reported in Verdaccio 6.x requires the fixes for that release line.

    • @verdaccio/ui-theme: Fix the web UI failing to load parts of itself when Verdaccio is served under url_prefix. (#6480)

      The UI loads some of its files on demand, such as the code and styles of the package detail page. Those requests went to /-/static/ at the root of the host instead of below url_prefix, so behind a reverse proxy that only forwards the prefix they failed with 404. Package pages then showed "Something went wrong", and other pages could lose styles. The UI now requests these files relative to its own location, so they follow url_prefix. Registries served at the root of a host behave as before.

      This affected @verdaccio/ui-theme 9.0.0-next-9.2 and later, the web UI Verdaccio 6 and 7 ship. A reverse proxy rule that forwards /-/static/ at the root to Verdaccio as a workaround is no longer needed.

      No configuration change is needed.

    • @verdaccio/proxy, @verdaccio/store: Fix the X-Forwarded-For header sent to uplinks. (#6476)

      Tarball requests to an uplink carried the literal value undefined, because no client address is passed on that path. A reverse proxy or firewall in front of the uplink could log, rate limit or reject those requests under a bogus address. The header is now only generated when the client address is known, so tarball requests carry no X-Forwarded-For, as in 6.x.

      Metadata requests forward the X-Forwarded-For chain the client request arrived with, followed by the client address. Since 7.x they sent the client address alone and dropped the incoming chain that 6.x forwarded.

      An X-Forwarded-For value set in the headers option of an uplink takes precedence however the header name is capitalised. A lower-case x-forwarded-for lost against the generated value on tarball requests.

      When the uplink goes through http_proxy or https_proxy no client-origin header is generated, as before; a value set in the uplink headers is still sent.

      No configuration change is needed.

7.1.1

Patch Changes

  • e3415f7: Update the @verdaccio/* modules to the next-9 npm dist-tag.

    Patch changes

    • @verdaccio/ui-theme: chore(ui-theme): type clean-up (#6456)
    • @verdaccio/store: chore(store): type clean-up (#6457)
    • @verdaccio/api: Abort the storage read of a tarball download when the client disconnects before the response finishes. (#6465)
    • @verdaccio/proxy: Fix the via header sent to an uplink growing with every request when the uplink has a headers option in the config. (#6463)

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 20, 2026
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: QUIET
  • Plan: Advanced
  • Run ID: 353327b5-db81-4667-819f-ad8c153a3787

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@V3RON

V3RON commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Review: verdaccio 6.10.6 -> 7.1.1 (head 808d40c)

Not safe to merge as is. The e2e job fails because verdaccio 7 needs Node 24 and CI runs Node 22. Nothing else in simlock's usage breaks.

What breaks

  • E2E (2/3) fails: e2e/update/update.e2e.test.ts times out in startRegistry with "waitFor timed out after 60000ms (the local registry answers)" (e2e/update/update.e2e.test.ts:57). The Quality job fails with it.
  • Cause: verdaccio 7.0.0 requires Node.js 24 or newer. I ran the PR's verdaccio binary under Node 22.22.3 and it exits at once: Error: Verdaccio requires at least Node.js v24.0.0 or higher and you have installed v22.22.3.
  • The test spawns it with stdio: "ignore" (e2e/update/update.e2e.test.ts:48-55), so that message is lost and only the 60 s timeout shows.
  • .github/workflows/ci.yml sets node-version: 22 on every job, including e2e (line ~140). package.json engines is >=22.13 (line 134), so simlock itself still supports Node 22. Only the test registry needs 24.

Each 7.0 breaking change against simlock's usage

Simlock only uses verdaccio in one test, e2e/update/update.e2e.test.ts. It writes a YAML config at line 24 and spawns the CLI binary at line 49. package.json:122 and .fallowrc.json:82 list the dependency. No script or workflow starts verdaccio.

7.0 change Touches simlock?
Node 24 or newer Yes. This is the failure above.
Express 5, plugin wildcards No. No middleware plugins.
YAML configuration only No. Config is already YAML (:24-45).
config.self_path replaced by configPath No. Config API not used.
Bearer tokens for the package API; _auth must become _authToken No. The test already uses _authToken (:107). Login is a PUT to /-/user/org.couchdb.user:e2e (:63), and 7.x keeps Basic on login routes (security.api.basicLogin defaults on).
Removed /-/all, npm star/unstar, searchRemote, AES helpers, debug tag route No. The test only does ping, user create, publish and install.
Programmatic API (runServer async, no listenArg) No. The test runs the CLI binary, not the API.
Logger packages merged No. Config uses only log: { type: stdout, format: pretty, level: error } (:44).
Dual ESM/CJS build, exports changed No deep imports. node_modules/verdaccio/bin/verdaccio (:49) still exists and ran.
Relocated plugins (s3, google-cloud, active-directory) No. Uses built-in htpasswd.
Server secret shorter than 32 characters stops the server; .sinopia-db.json not read No. The config sets no secret, and the Node 24 run started fine.

Local run

Node 24.14.0 on the PR head, after build and build:e2e: pnpm test:e2e e2e/update/update.e2e.test.ts passes (1 test, about 44 s). It covers startup, user create, publish, npm install --global and simlock update. I did not run the real-hardware lanes.

Smallest change that makes it safe

Run the e2e job in .github/workflows/ci.yml on Node 24 (node-version: 24). Only the e2e job spawns verdaccio. Shard 2 happened to hold the update test. Shard membership can move, so change all three shards, not one. This needs a human change to the workflow. The dependabot branch should not edit it.

Alternative: keep Node 22 and hold verdaccio at ^6 with a dependabot ignore for major updates. Bumping the CI Node is cleaner, because the test registry is test-only and simlock's own Node support stays at 22.

Optional hardening: make the test's stdio capture the registry's stderr, so a Node mismatch fails with its message.

Other failing check: PR body (20 s). The PR closes no issue, so this is the usual dependabot noise, not related to the bump.

Written by an agent.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/verdaccio-7.1.1 branch from 808d40c to 7048ad4 Compare November 26, 2026 10:49
@dependabot dependabot Bot changed the title chore(deps): bump verdaccio from 6.10.6 to 7.1.1 chore(deps): bump verdaccio from 6.10.6 to 7.1.2 Nov 26, 2026
@V3RON

V3RON commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

@dependabot ignore this major version

@V3RON V3RON closed this Dec 2, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/verdaccio-7.1.1 branch December 2, 2026 08:36
@dependabot @github

dependabot Bot commented on behalf of github Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you about version 7.x.x again, unless you re-open this PR.

V3RON added a commit that referenced this pull request Dec 2, 2026
`pr-body-check.mjs` now passes a PR that `dependabot[bot]` opened,
printing one `skipped` line. Dependabot writes its own body and rewrites
it on every rebase. Until now, every Dependabot PR failed "PR body", and
`merge-pr.sh` refused them before it read CI (#1925, #1955 and #1799
today).

The skip reads the PR's author from the REST pulls endpoint. Another
author's body on a `dependabot/` branch is still checked. Delivery rule
12 says so.

```
$ node .agents/scripts/pr-body-check.mjs 1955
pr-body: skipped: Dependabot wrote this body (delivery rule 12)
```

## Review

Spec review: skipped. Code review: 0 blocking, 0 fixed, 0 notes. Claims
review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 0.3M.
Assessment: complete

*Written by an agent.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant