verdaccio
7.1.2 · 18 Nov 2026MIT909.7k / weekRepositoryHomepagenpmAtom feed
6.11.3 is the newest release of 6.x.
In short
1 breaking1 new1 fixed2 internal
- Breaking
Require Node.js 22 as the minimum supported version
Release note
Minor Changes
- Breaking
Require Node.js 22 as the minimum supported version
Node.js 22 or higher is now required (previously the CLI still accepted Node.js 18,
whileenginesalready demanded 20). The CLI refuses to start on older runtimes andenginesis set to>=22; Node.js 24 is the recommended version. CI, e2e, and smoke
test matrices now cover Node.js 22, 24, and 26. Registry operators on Node.js 18 or 20
must upgrade the runtime before taking this release. Dual CJS + ESM build with
exportsfield, migrate build from babel to vite 8Native ESM support. The package now ships both CommonJS (
build/**/*.js) and ESM
(build/**/*.mjs) outputs and declares anexportsfield, soimport { runServer } from 'verdaccio'resolves a real ES module instead of the
CommonJS interop.require('verdaccio')keeps working exactly as before. TheverdaccioCLI now runs on the ESM build, which means ESM-only dependencies can be
loaded at runtime on every supported Node.js version.Build toolchain. Babel has been replaced by vite 8 (rolldown) for transpilation;
type declarations are still emitted by TypeScript. This is not observable in the
registry behavior, but local workflows changed:yarn startand thedebug/bootstrap
scripts now usetsxinstead ofbabel-node/@babel/register.
Patch Changes
Migrate uplink/storage URL parsing to the WHATWG URL API
Removes the
[DEP0169] DeprecationWarning: url.parse()printed at startup on
Node.js 22+. The proxy and local-storage layers no longer use the legacyurl.parse()
/url.format()helpers; uplink URL validation, distfile filename extraction, and the
remote-protocol tarball rewrite now go through the standardizedURLAPI. Behavior is
unchanged for the absolute HTTP(S) URLs used in practice — the default HTTPS port:443
still normalizes to a match, and invalid uplink URLs are treated as not-valid instead of
being parsed leniently.Because the WHATWG
URLconstructor throws on malformed input (unlike the lenient legacyurl.parse()), a misconfigured uplinkurlnow fails fast at startup with a clear,
credential-redacted error, and a malformeddist.tarballreturned by an upstream registry
is skipped (with a warning) instead of aborting the package update. Uplink URL validation
also now compares the uplink's own port when deciding whether to ignore the default HTTPS
port, so an HTTPS uplink on a non-default port no longer matches a default-port tarball.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.