Select CLI Version:
Table of contents
12.0.0-pre.1 (2026-06-19)
⚠️ BREAKING CHANGES
- Preserve https protocol when working with git (#8703)
- The default license for
npm inithas been changed from "ISC" to an empty string. If not set, the license field will be omitted from new packages. npmnow supports node^22.22.2 || ^24.15.0 || >=26.0.0- allow-git and allow-remote now default to "none"; set them to "all" (or "root") to install git or user-supplied tarball-URL dependencies.
- root `preinstall` now runs before dependencies are installed.
- unknown configs in .npmrc, unknown CLI flags, abbreviated flags, and single-hyphen multi-char shorthands now throw instead of warning.
Features
ce7681f#9496 packageExtensions for root-owned dependency manifest repairs (#9496) (@manzoorwanijk)1db885c#9439 native dependency patching (npm patch add/commit/update/ls/rm) (#9439) (@manzoorwanijk)fc80bb3#9234 remove default license for npm init (@owlstronaut)be8053c#9544 warn when min-release-age blocks an audit fix (#9544) (@JamieMagee)18eb967#9559 bump to new node engine range (@owlstronaut)c3e1a71#9532 add min-release-age-exclude config (@JamieMagee, @caseyjhol)5cd5150#9424 default-deny install scripts (allowScripts opt-in) [v12] (@JamieMagee)64e3f79#9480 allowScripts tooling and inBundle hardening (#9480) (@JamieMagee)caa3295#9466 default allow-git and allow-remote to none (@owlstronaut)f2e4a28#9351 add a global npmignore file (#9351) (@ljharb)c9be2d1#9153 publish --access=private alias for restricted (#9153) (@reggi, @Copilot)7068d42#9360 Phase 1 ofallowScriptsopt-in install-script policy (#9360) (@JamieMagee)979518d#9276 error on unknown configs, flags, and abbreviations (#9276) (@owlstronaut)
Bug Fixes
e96a7de#8703 Preserve https protocol when working with git (#8703) (@oldium)a847d28#9575 patch: warn whenpatch update --totargets an uninstalled version (#9575) (@manzoorwanijk)62b0694#9576 patch: explain out-of-sync lockfile after --ignore-patch-failures (#9576) (@manzoorwanijk)5ddf6cc#9567 patch: keep the update marker on a no-op commit so a retry finalizes (#9567) (@manzoorwanijk)fc3ef5a#9559 adapt to @npmcli/run-script@11 breaking changes (@owlstronaut)abf78b3#9540 match dotted and versioned args in approve-scripts/deny-scripts (@owlstronaut)f6270d1#9531 emit valid JSON from approve-scripts/deny-scripts --json (@owlstronaut)0e55f97#9492 pass script-shell to publish lifecycle hooks (@Zelys-DFKH)2cbb13b#9490 recognize allowScripts for local link targets (#9490) (@cyphercodes, @cyphercodes)bf623e0#9473 validate registry path for allow-remote tarballs (@Abhinav-143x)6be874b#9479 list pending scripts in approve-scripts when ignore-scripts is set (#9479) (@JamieMagee)6603b2c#9469 suggest --allow-scripts for global installs in unreviewed-scripts warnings (#9469) (@JamieMagee)fe820b6#9442 invalid issue template YAML indentation (#9442) (@fallintoplace)fe41ae7#9404 show full parent command path in subcommand usage errors (#9404) (@shaanmajid)75bf7de#9456 respect allowScripts policy in prune, dedupe, uninstall, audit fix, and link (@JamieMagee)6efac6e#9453 config: clarify --all help so it's accurate for approve-scripts and deny-scripts (@JamieMagee)b97edc0#9430 audit: don't apply min-release-age before filter when verifying installed signatures (@JamieMagee)080e3b2#9425 block forbidden keys in Queryable setter to prevent prototype pollution (@12122J, @claude)c5292fa#9422 use prerelease strategy without a bug (@owlstronaut)33aebaa#9410 fix typo of fullMetadata (@owlstronaut)2a03860#9267 run root preinstall before reify (@owlstronaut)c0fc549#9372 config: pause progress spinner during interactive editor spawn (#9372) (@Zelys-DFKH, @claude)
Documentation
357e8cd#9520 approve-scripts only throws EGLOBAL when run with -g (@JamieMagee)bcf01c6#9505 clarify package.json override value specs (#9505) (@ded-furby)455aa4a#9401 use the latest version for global update and outdated'swanted(#9401) (@liangmiQwQ)aac80dc#9470 update minimum npm required for npm trust (@meeech)d124c08#9385 Documentnpm_old_versionandnpm_new_versionenvironment variables (#9385) (@36degrees)
Dependencies
9cbba72#9579npm-profile@13.0.1d4e0a70#9559@tufjs/repo-mock@5.0.03ef66bb#9559 bundle arborist runtime deps for bootstrap5dce6fb#9559npm-packlist@11.2.0ad05528#9559@npmcli/git@8.0.0cc45055#9559@npmcli/node-gyp@6.0.0a12e2c8#9559@npmcli/name-from-folder@5.0.0cc96d57#9559@npmcli/installed-package-contents@5.0.03dc18e5#9559@npmcli/git@8.0.0428afa6#9559sigstore@5.0.095ed19c#9559 regenerate bundled dependenciesb62db95#9559bin-links@7.0.02f5da83#9559@npmcli/fs@6.0.0370f9c6#9559node-gyp@13.0.0e459d7a#9559which@7.0.05032af3#9559validate-npm-package-name@8.0.013d97ac#9559tar@7.5.161502286#9559ssri@14.0.068eb39c#9559semver@7.8.43484d7f#9559read@6.0.021df0ab#9559proc-log@7.0.08f85646#9559parse-conflict-json@6.0.0a44c1cf#9559pacote@22.0.0171bba3#9559npm-user-validate@5.0.01f9c567#9559npm-registry-fetch@20.0.11fd247a#9559npm-profile@13.0.0998ff1d#9559npm-pick-manifest@12.0.0d80859a#9559npm-package-arg@14.0.05e1d513#9559npm-install-checks@9.0.0faf97e5#9559npm-audit-report@8.0.0471309f#9559nopt@10.0.140395b8#9559make-fetch-happen@16.0.130e89d9#9559json-parse-even-better-errors@6.0.0d44db96#9559is-cidr@7.0.0350fb18#9559init-package-json@9.0.0406820a#9559ini@7.0.0d867351#9559hosted-git-info@10.1.166d46bc#9559cacache@21.0.10d15aec#9559abbrev@5.0.09bbdefb#9559@sigstore/tuf@5.0.09d13ebf#9559@npmcli/run-script@11.0.027c4dcc#9559@npmcli/redact@5.0.0f0eaef3#9559@npmcli/promise-spawn@10.0.00be6ae2#9559@npmcli/package-json@8.0.0f86a019#9559@npmcli/metavuln-calculator@10.0.04d234b2#9559@npmcli/map-workspaces@6.0.0d28783e#9420undici@6.26.07f6c6ef#9420sigstore@4.1.1ee61b6e#9420lru-cache@11.5.1d5ddef2#9420@sigstore/verify@3.1.111e7ac7#9420@sigstore/core@3.2.111cd66e#9420@npmcli/agent@4.0.28be4c04#9420semver@7.8.1577d61d#9420make-fetch-happen@15.0.6
Chores
059c06e#9560 add web-login proxy doneUrl regression for npm-profile fix (#9560) (@manzoorwanijk)1453954#9559nock@14.0.0(@owlstronaut)0323f2d#9559 template-oss-apply (@owlstronaut)ee3d87f#9559@npmcli/template-oss@5.1.1(@owlstronaut)d25a179#9559 template-oss-apply (@owlstronaut)acdd6d5#9559 bumping @npmcli/template-oss from 4.29.0 to 5.1.0 (@owlstronaut)4e2496a#9513 update issue templates - better language (@owlstronaut)7a997ac#9512 update issue templates (#9512) (@owlstronaut)da63c79#9420 dev dependency updates (@owlstronaut)5fc9bc0#9393 sanitize newlines in flags table default and type values (#9393) (@reggi, @Copilot)- workspace:
@npmcli/arborist@10.0.0-pre.1 - workspace:
@npmcli/config@11.0.0-pre.1 - workspace:
libnpmaccess@11.0.0-pre.0 - workspace:
libnpmdiff@9.0.0-pre.0 - workspace:
libnpmexec@11.0.0-pre.0 - workspace:
libnpmfund@8.0.0-pre.0 - workspace:
libnpmorg@9.0.0-pre.0 - workspace:
libnpmpack@10.0.0-pre.1 - workspace:
libnpmpublish@12.0.0-pre.0 - workspace:
libnpmsearch@10.0.0-pre.0 - workspace:
libnpmteam@9.0.0-pre.0 - workspace:
libnpmversion@9.0.0-pre.1
12.0.0-pre.0.0 (2026-05-20)
⚠️ BREAKING CHANGES
- npm view --json now always returns an array.
npm sbom --sbom-format=cyclonedxnow reports thenamefield from each package'spackage.jsoninstead of the on-disk directory name. Thename,bom-ref, andpurlof the root component and of aliased dependencies may change.- npm no longer registers man pages with the system when installed globally.
man npm-installwill no longer work, butnpm help installis unaffected. - The
npm pkgoutput is no longer forced to json. This means you can get single values without having to worry about wrapping of the values. It also outputs non-json content more similarly tonpm view. npm shrinkwrapis removed, theshrinkwrapconfig alias is removed, andnpm-shrinkwrap.jsonis no longer loaded or honored at the project root or from inside dependency tarballs. Rename project-rootnpm-shrinkwrap.jsontopackage-lock.json; usebundleDependenciesif you need to ship a locked dependency tree.- The Twitter and Freenode profile fields have been removed from the npm registry. This means that users will no longer be able to set or view these fields in their npm profiles.
- npm will no longer attempt to resolve the path to node via whichnode. process.execPath is already set by Node to the resolved real path of the node binary, so the lookup was redundant. Scripts that expected npm to override process.execPath with a PATH-resolved (potentially symlinked) node path may be affected.
- the --json output of
npm packandnpm publishhave changed. They are now always consistent, and in the same format. - the
star,starsandunstarcommands have been removed - The
npm addusercommand has been removed. Create and manage user accounts on the npm website, and usenpm loginto authenticate on the command line.
Features
254809e#9201 npm stage (#9201) (@reggi, @Copilot)cf94dbe#9248 add permissions support to trust commands (#9248) (@reggi, @Copilot)e0f12f7#9348 add allow-git/allow-file/allow-directory/allow-remote configs (@owlstronaut)916cb4b#9287 add allow-directory, allow-file, and allow-remote (#9287) (@wraithgar)2e5dcad#9262 drop npm-shrinkwrap.json support (@owlstronaut)2397196#9265 Remove Twitter and Freenode profile fields (@owlstronaut)738be10#9196 remove star commands (#9196) (@wraithgar)db7c1f8#9163 adduas alias forupdatecommand (#9163) (@Ausoj)45e44dd#9228 adds a backport script (@owlstronaut)
Bug Fixes
2a13550#9380 key stage download --json output by package name (#9380) (@reggi, @Copilot)ca585c8#9368 allow min-release-age in npmrc to coexist with --before (@raazkhnl)f550eb4#9348 refactor #failureNode, adjust tests and safety (@owlstronaut)1f17566#9348 allow-remote=none does not block registry tarballs (@owlstronaut)70af7b3#9327 remove settings (#9327) (@owlstronaut)d623988#9311 sbom: dedupe per-node dependsOn / relationships (#9311) (@mikaelkristiansson)d36945d#9160 do not unwrap single-item arrays in --json output (@yetanotheraryan)faf7348#9284 align CycloneDX SBOM component names with SPDX (#9284) (@cyphercodes, @cyphercodes)e20424b#9035 don't install man pages in system locations (@owlstronaut)01d9acd#9269 pkg: output like npm view does, do not force json output (@wraithgar)27567ab#9257 ignore intended error code (@owlstronaut)4ef5b6e#9039 stop resolving node path via whichnode (@owlstronaut)2e9b26e#9247 sync json output of pack and publish (#9247) (@wraithgar)7357d7f#9036 remove npm adduser command (@owlstronaut)
Documentation
c97b39b#9363 add example to optionalDependencies section (#9363) (@verifizieren)6704ab2#9335 npm view with json outputs array docs update (#9335) (@yetanotheraryan)
Dependencies
d151521#9382socks@2.8.9a77416e#9382lru-cache@11.5.0b2717e4#9382ip-address@10.2.01c4a796#9382brace-expansion@5.0.6e36a4e3#9382bin-links@6.0.291bd674#9382tar@7.5.1566c7ff1#9382semver@7.8.0514c71b#9382hosted-git-info@9.0.3fbe1dd0#9316socks@10.1.1af65766#9316ip-address@10.1.137bd0c6#9316cidr-regex@5.0.55af02ec#9270lru-cache@11.3.5799866f#9270node-gyp@12.3.079d394e#9270is-cidr@6.0.49669d31#9207@sigstore/protobuf-specs@0.5.1b09a5ac#9207tinyglobby@0.2.16150231d#9207picomatch@4.0.4413e0a0#9207lru-cache@11.3.36faa25e#9207diff@8.0.487bb9d0#9207minimatch@10.2.52501dd8#9207tar@7.5.13ccce5f6#9207minipass-flush@1.0.6
Chores
f502c4f#9382 dev dependency updates (@owlstronaut)4259e57#9316 dev dependency updates (@owlstronaut)d68bd36#9317 add cli-triage team as codeowner (#9317) (@owlstronaut)b9332e6#9270 dev dependency updates (@owlstronaut)cc468a8#9269 refactor tests (@wraithgar)2ca36c4#9261 fixed non-functional typos throughout the codebase (@opensourcezeal)8131de4#9239 add action permission for backport workflow (@owlstronaut)6df5f91#9232 backports can trigger CI (@owlstronaut)07552f5#9224 don't run npm update in CI (@owlstronaut)05dbba5#9195 enable prerelease mode (#9195) (@wraithgar)- workspace:
@npmcli/arborist@10.0.0-pre.0.0 - workspace:
@npmcli/config@11.0.0-pre.0.0 - workspace:
libnpmdiff@8.1.6-pre.0.0 - workspace:
libnpmexec@10.2.6-pre.0.0 - workspace:
libnpmfund@7.0.20-pre.0.0 - workspace:
libnpmpack@10.0.0-pre.0.0 - workspace:
libnpmpublish@11.2.0-pre.0.0 - workspace:
libnpmversion@9.0.0-pre.0.0
11.12.1 (2026-03-24)
Bug Fixes
Documentation
Dependencies
- workspace:
@npmcli/config@10.8.1
11.12.0 (2026-03-18)
Features
8eff5fb#9049 audit: add --include-attestations flag to output sigstore bundles (#9049) (@mitchdenny)
Bug Fixes
03af94d#9123 skip synopsis code block when command has no usage (@owlstronaut)21ea382#9110 arborist: resolve sibling override sets via common ancestor (#9110) (@manzoorwanijk)
Dependencies
03f4c3a#9131@sigstore/tuf@4.0.24d5f7d9#9131@gar/promise-retry@1.0.38dcfe69#9131@sigstore/sign@4.1.1e5a7e22#9127lru-cache@11.2.782deab6#9127make-fetch-happen@15.0.5ce195dc#9127cacache@20.0.4
Chores
95fa7f4#9132 fix docs test snapshot (#9132) (@wraithgar)7e9d538#9127 dev dependency updates (@wraithgar)920e5ed#9127 test snapshots (@wraithgar)98ccf92#9125 fix snap tests (@owlstronaut)- workspace:
@npmcli/arborist@9.4.2 - workspace:
@npmcli/config@10.8.0 - workspace:
libnpmdiff@8.1.5 - workspace:
libnpmexec@10.2.5 - workspace:
libnpmfund@7.0.19 - workspace:
libnpmpack@9.1.5
11.11.1 (2026-03-10)
Bug Fixes
a9d242b#9099 include all subcommands on main command help (#9099) (@wraithgar)29b8407#9087 unwrap comments and lines meant for output (#9087) (@wraithgar)b56986a#9095 ls: suppress false UNMET DEPENDENCYs in linked strategy (#9095) (@manzoorwanijk)76c76e5#9083 ci: don't error on optional deps in the lockfile (#9083) (@wraithgar)a29aeee#9028 arborist: retry bin-links on Windows EPERM (#9028) (@manzoorwanijk)6565eeb#9045 bypass packument cache to prevent ETARGET errors after publish (#9045) (@Jadu07)
Documentation
3b96929#9074 scripts: remove mention of obsolete root user behavior (#9074) (@mohd-akram)16ac4e0#9054 fix workspace cross-dependency documentation (@owlstronaut)
Dependencies
075ae23#9086tar@7.5.1113fa40d#9086pacote@21.5.0bf7ea2b#9060brace-expansion@5.0.42000d2c#9060minimatch@10.2.4d86b260#9060tar@7.5.10dff1853#9060@npmcli/run-script@10.0.493c3365#9060write-file-atomic@7.0.1
Chores
d1996a7#9060 dev dependency updates (@wraithgar)- workspace:
@npmcli/arborist@9.4.1 - workspace:
libnpmdiff@8.1.4 - workspace:
libnpmexec@10.2.4 - workspace:
libnpmfund@7.0.18 - workspace:
libnpmpack@9.1.4
11.11.0 (2026-02-25)
Features
4fcd352#9017 add :type(registry) to query selector syntax (#9017) (@wraithgar)e1b21f0#8909 adds circleci to trust command (#8909) (@owlstronaut)9a33ad0#8925 adds circleci to oidc (#8925) (@owlstronaut)
Bug Fixes
4426411#9026 npm audit signatures for keyless attestation registries (#9026) (@ajayk)658b323#9010 handle legacy licenses array in sbom output (#9010) (@JNC4)
Documentation
Dependencies
7798b6e#9027@gar/promise-retry@1.0.24838864#9027balanced-match@4.0.40c200dd#9027brace-expansion@5.0.3f0606bb#9027spdx-license-ids@3.0.23d43f350#9027make-fetch-happen@15.0.44d0918a#9027@npmcli/git@7.0.28912ca7#9027minipass-fetch@5.0.2450ff35#9027npm-packlist@10.0.420ef5a5#9027pacote@21.4.060f332c#9008 remove promise-retrycb8b9c7#9008 add@gar/promise-retry@1.0.0- workspace:
@npmcli/arborist@9.4.0 - workspace:
libnpmdiff@8.1.3 - workspace:
libnpmexec@10.2.3 - workspace:
libnpmfund@7.0.17 - workspace:
libnpmpack@9.1.3
11.10.1 (2026-02-19)
Bug Fixes
9fac412#8995 improve unknown config warning with .npmrc section hint (#8995) (@umeshmore45)bb135cc#8981 arborist: fixpeerOptionaldependency resolution inbuildIdealTree(#8981) (@Saibamen, @cursoragent)5c03826#8993 remove tabular output from "npm view" (@wraithgar)4648f26#8993 remove tabular output from "npm team" (@wraithgar)
Documentation
0a5756d#8998 clarify unsupported custom .npmrc keys and recommend alternatives (#8998) (@maitrawebtech)22c9153#8985 fix typo and grammar in README (#8985) (@csmit195, Chris)
Dependencies
aa8ffbf#9002init-package-json@8.2.5(#9002)67a0f09#9001glob@13.0.656b8fd4#9001minimatch@10.2.2aa7fef5#9001minipass@7.1.3d3a4161#9000@npmcli/package-json@7.0.5(#9000)7aa9338#8993 remove cli-columnsf7f7c53#8991 hoist balanced-match10cb575#8991 hoist latest yallist1b3dc9a#8991cidr-regex@5.0.34307af6#8991glob@13.0.513b4d6a#8991minimatch@10.2.145d4000#8991tar@7.5.9
Chores
40fcab4#8991@npmcli/template-oss@4.29.0(@wraithgar)1598adb#8991 dev dependency updates (@wraithgar)- workspace:
@npmcli/arborist@9.3.1 - workspace:
@npmcli/config@10.7.1 - workspace:
libnpmdiff@8.1.2 - workspace:
libnpmexec@10.2.2 - workspace:
libnpmfund@7.0.16 - workspace:
libnpmpack@9.1.2
11.10.0 (2026-02-11)
Features
cf56a1e#8899 npm trust, per-command config (@reggi)cf56a1e#8899 npm trust (@reggi)66d6e11#8965 add min-release-age (#8965) (@wraithgar)
Dependencies
aae84bf#8973pacote@21.3.18bcb675#8973cidr-regex@5.0.2f87aaab#8973lru-cache@11.2.6acec871#8973ssri@13.0.11e42a86#8973glob@13.0.2e1c08a4#8973is-cidr@6.0.3dfb0e34#8973semver@7.7.40ee7776#8973which@6.0.1
Chores
eb81df8#8973 dev dependency updates (@wraithgar)995e757#8966 Clean up some todos, add tests for previously skipped blocks (@owlstronaut)- workspace:
@npmcli/arborist@9.3.0 - workspace:
@npmcli/config@10.7.0 - workspace:
libnpmdiff@8.1.1 - workspace:
libnpmexec@10.2.1 - workspace:
libnpmfund@7.0.15 - workspace:
libnpmpack@9.1.1
11.9.0 (2026-02-04)
Features
Bug Fixes
Dependencies
332c9f3#8960glob@13.0.1eca02c7#8960minimatch@10.1.2@isaacs/brace-expansion@5.0.1b3f8475#8951minipass-fetch@5.0.1924171b#8951is-cidr@6.0.24404002#8951ci-info@4.4.0b65af73#8951lru-cache@11.2.5164c355#8951tar@7.5.7a74a19c#8951node-gyp@12.2.0e0bc212#8943pacote@21.1.0
Chores
4a82a8f#8951 dev dependency updates (@wraithgar)- workspace:
@npmcli/arborist@9.2.0 - workspace:
@npmcli/config@10.6.0 - workspace:
libnpmdiff@8.1.0 - workspace:
libnpmexec@10.2.0 - workspace:
libnpmfund@7.0.14 - workspace:
libnpmpack@9.1.0
11.8.0 (2026-01-21)
Features
Bug Fixes
c2f784d#8859 preserve serialNumber UUID in CycloneDX SBOM output #8837 (#8859) (@saksham-malhotra-27)f2c3af7#8840 more intuitive byte formatting boundaries for rounding (#8840) (@watilde)
Documentation
3474ec3#8866 fix typo/logic error in npm-dedupe docs (#8866) (@Schweinepriester)5552e46#8797 npm-install: explain package-lock.json behavior (#8797) (@MaxBlack-dev, Max Black)
Dependencies
f478ca0#8919postcss-selector-parser@7.1.12b6a71f#8919path-scurry@2.0.119096f2#8919sigstore@4.1.0e7f5d1e#8919lru-cache@11.2.49e756ae#8919ip-address@10.1.0f951820#8919common-ancestor-path@2.0.07a949ad#8919@sigstore/verify@3.1.06979ce1#8919@sigstore/sign@4.1.0b4a6a41#8919@sigstore/core@3.1.0dc8a8e8#8919@sigstore/tuf@4.0.1be221ea#8919validate-npm-package-name@7.0.2149823d#8919diff@8.0.332b2001#8919tar@7.5.4
Chores
8f599df#8919 pin jsdom to 27.0.0 (@wraithgar)f4f1161#8919 dev dependency updates (@wraithgar)- workspace:
@npmcli/arborist@9.1.10 - workspace:
@npmcli/config@10.5.0 - workspace:
libnpmdiff@8.0.13 - workspace:
libnpmexec@10.1.12 - workspace:
libnpmfund@7.0.13 - workspace:
libnpmpack@9.0.13
11.7.0 (2025-12-09)
Features
Bug Fixes
4ebb831#8839 updates hints to use cli paradigm (@owlstronaut)7896e51#8838 update the token list text (@owlstronaut)8ab8668#8836 query: support package-lock-only in workspaces (@watilde)35e8d38#8322 properly handle newlines with input when using the spinner (#8322) (@mbtools)0c0faae#8780 adduser: improve email prompt (#8780) (@mbtools)
Documentation
7f2ab9d#8810 scripts: replace deprecated prepublish and install examples with prepare (Max Black)91ebab7#8847 remove note about token create being disabled (@owlstronaut)2030250#8822 scripts: clarify prepare script runs with --production (Max Black)33a50d7#8821 scripts: update npmpackage* environment variables documentation (Max Black)50508f9#8793 package-json: add documentation for type field (#8793) (@MaxBlack-dev, Max Black)aa1dd7e#8823 scripts: document that prepare scripts run concurrently in workspaces (Max Black)3f48487#8820 package-spec: fix alias syntax in examples (Max Black)dd104da#8812 version: add note about git version requirements (Max Black)58afdcc#8792 install: clarify prerelease version range behavior (Max Black)9f818e8#8795 npm-view: clarify object property access syntax and provide examples (Max Black)39c2f2e#8791 add examples for command line flags including --prefix (Max Black)1298530#8790 clarify version field can be omitted in package-lock (Max Black)090b6ca#8794 npx: clarify that arguments are passed to executed command (Max Black)a864f80#8787 document gypfile field in package.json (Max Black)2fc689d#8788 add field access patterns to npm view (Max Black)4850639#8796 package-json: add examples for replacing dependencies with forks in overrides (Max Black)4864dd4#8798 npm-install: document engines field priority when installing packages (Max Black)95d25cd#8799 package-json: clarify repository field normalization during publish (Max Black)a367f9b#8800 package-lock-json: clarify that version field may be omitted for certain dependencies (Max Black)ffc9b71#8801 npm-install: clarify --tag does not override package.json (#8801) (@MaxBlack-dev, Max Black)73688ca#8735 clarify npm version behavior with prerelease versions (#8735) (@yashwantbezawada)4a32606#8785 updates the token create documentation (#8785) (@owlstronaut, @wraithgar)
Chores
Dependencies
- workspace:
@npmcli/arborist@9.1.9 - workspace:
@npmcli/config@10.4.5 - workspace:
libnpmdiff@8.0.12 - workspace:
libnpmexec@10.1.11 - workspace:
libnpmfund@7.0.12 - workspace:
libnpmpack@9.0.12
11.6.4 (2025-11-25)
Documentation
dfb83c7#8749 add example for keywords field (#8749) (@MaxBlack-dev, Max Black)1b1e227#8750 remove outdated roadmap link (#8750) (@MaxBlack-dev, Max Black)1333d57#8752 clarify .npmrc naming convention for environment variable overrides (#8752) (@MaxBlack-dev)22cddb8#8755 add workspace dependencies example to workspaces (Max Black)17e154c#8756 standardize env vars to uppercase convention (Max Black)1e51a25#8754 fix lifecycle event order for prepare script (Max Black)8d72bc9#8753 add os, cpu, and funding fields to package-lock.json (Max Black)
Dependencies
f56bb13#8779proc-log@6.1.0(#8779)f963223#8770proggy@4.0.0f51e4aa#8770nopt@9.0.02d15040#8770@npmcli/query@5.0.09d77b84#8770@npmcli/installed-package-contents@4.0.0e2ac092#8770read@5.0.16e5bfd9#8770init-package-json@8.2.47f8e237#8770p-map@7.0.4a4aa218#8770npm-user-validate@4.0.06430446#8770npm-audit-report@7.0.058650dc#8770@npmcli/fs@5.0.04a11146#8770glob@13.0.000511d4#8770@npmcli/cacache@20.0.3224afa2#8770@npmcli/map-workspaces@5.0.3664ac34#8770@npmcli/package-json@7.0.4- workspace:
@npmcli/arborist@9.1.8 - workspace:
@npmcli/config@10.4.4 - workspace:
libnpmdiff@8.0.11 - workspace:
libnpmexec@10.1.10 - workspace:
libnpmfund@7.0.11 - workspace:
libnpmpack@9.0.11
11.6.3 (2025-11-19)
Bug Fixes
c6242d9#8706 change npm profile to create tokens with GAT support (#8706) (@owlstronaut, @wraithgar)cbc6fa9#8731 order of version information in error message (#8731) (@piotrd, @pd-be)11dbd7e#8709 display full token when creating authentication tokens (#8709) (@MaxBlack-dev, Max Black)49a4eef#8676 use look behind regex for trailing slash stripping (#8676) (@wraithgar)b1aee62#8645 dep flag calculation (#8645) (@liamcmitchell)
Documentation
ca53c21#8745 add workspace usage examples (#8745) (@MaxBlack-dev, Max Black)e71ca0e#8746 add --save flag to documentation (#8746) (@MaxBlack-dev, Max Black)06510a8#8683 add ignore-scripts option to npm version help and docs (#8683) (@Tejas242)
Dependencies
7f72238#8723cacache@20.0.27ac9db8#8723init-package-json@8.2.341e97c6#8723validate-npm-package-name@7.0.06b1fbe1#8723npm-package-arg@13.0.2aa1d486#8723@npmcli/promise-spawn@9.0.1599c819#8723which@6.0.0e49286e#8723ini@5.0.0b7c9f96#8723@npmcli/promise-spawn@9.0.08cc9f70#8723ssri@13.0.00b7274f#8723pacote@21.0.459b3c6a#8723@npmcli/redact@4.0.0578abad#8723node-gyp@12.1.089c4151#8723@npmcli/git@7.0.1c6d109d#8723make-fetch-happen@15.0.334d8599#8723npm-registry-fetch@19.1.14811a86#8723@npmcli/run-script@10.0.36cb77df#8723@npmcli/installed-package-contents@4.0.005ac7a7#8723proc-log@6.0.00a74f6d#8723bin-links@6.0.0c02ce5c#8723@npmcli/package-json@7.0.29c0cefa#8723json-parse-even-better-errors@5.0.0041b9b2#8723parse-conflict-json@5.0.1a1b0fea#8723@npmcli/name-from-folder@4.0.0a085745#8723abbrev@4.0.000d9c7d#8723nopt@9.0.03404dca#8723npm-install-checks@8.0.0542fcf3#8723@npmcli/node-gyp@5.0.089e14d3#8723tar@7.5.25383f3a#8723npm-registry-fetch@19.1.01bb9a7d#8723npm-profile@12.0.1de619a4#8723npm-pick-manifest@11.0.30e042ec#8723npm-packlist@10.0.32a3c338#8723node-gyp@11.5.0b96e86c#8723minimatch@10.1.1d347329#8723exponential-backoff@3.1.3d6830f4#8723@npmcli/run-script@10.0.2bcc7ec8#8723@npmcli/metavuln-calculator@9.0.37a419df#8723@npmcli/map-workspaces@5.0.1
Chores
32bdd83#8723 fix package-lock (@wraithgar)4bff14b#8670 write tarball to testDir (#8670) (@wraithgar)679486b#8672 fix lockfile (#8672) (@wraithgar)- workspace:
@npmcli/arborist@9.1.7 - workspace:
@npmcli/config@10.4.3 - workspace:
libnpmdiff@8.0.10 - workspace:
libnpmexec@10.1.9 - workspace:
libnpmfund@7.0.10 - workspace:
libnpmpack@9.0.10 - workspace:
libnpmpublish@11.1.3 - workspace:
libnpmversion@8.0.3
11.6.2 (2025-10-08)
Bug Fixes
c54d1e9#8633 progress bar code cleanup (#8633) (@wraithgar)d352e27#8629 do not redact notice logs going to stdout (#8629) (@wraithgar)5ac3678#8617 spelling in ./lib and ./test/lib (#8617) (@jsoref)9197995#8619 spelling (#8619) (@jsoref)dd884e3#8618 spelling (#8618) (@jsoref)f6028e6#8614 skip redacting urls meant for opening by the user (#8614) (@wraithgar, @jolyndenning)54fd27f#8602 refactor node.ideallyInert to node.inert (#8602) (@liamcmitchell)79e3c1e#8593 use @npmcli/package-json to normalize package data (@wraithgar)
Documentation
0469c5e#8639 rewrap markdown (#8639) (@jsoref)9ceb9c1#8636 rewrap markdown (#8636) (@jsoref)6324370#8616 fix spelling (#8616) (@jsoref)1b0429a#8607 Fix spelling (#8607) (@jsoref)7fbe07a#8603 clean up deprecatednpm accesscommands (#8603) (@jsoref)
Dependencies
fa7cc6f#8662ci-info@4.3.1(#8662)b05461b#8663@sigstore/sign@4.0.1(#8663)c31de22#8661 downgrade ci-info to 4.3.0 (#8661) (@wraithgar)c5191b5#8659ci-info@4.3.1f255c92#8659hosted-git-info@9.0.2bdaf323#8659is-cidr@6.0.1a33f106#8659lru-cache@11.2.28044e07#8659npm-package-arg@13.0.1f577504#8659npm-packlist@10.0.29aa4fa6#8659semver@7.7.3fe9484a#8593 remove normalize-package-data
Chores
b3409f4#8659 dev dependency updates (@wraithgar)e8de81b#8643 Add automatically generated annotation to dependencies.md (#8643) (@jsoref)67cfaf3#8627 fix spelling: different (#8627) (@jsoref)17ddc0d#8622 fix spelling (#8622) (@jsoref)c3e1790#8605 Remove reference to nonexistent calendar (#8605) (@jsoref)ac9143e#8604 Improve link accessibility for screen reader users (#8604) (@jsoref)62d73e7#8601 remove references to benchmarks workflow (#8601) (@jsoref)bb4b739#8598 remove stale comment (#8598) (@jsoref)f73e65d#8592 fix build url code for remark-github@12 (#8592) (@wraithgar)- workspace:
@npmcli/arborist@9.1.6 - workspace:
@npmcli/config@10.4.2 - workspace:
libnpmaccess@10.0.3 - workspace:
libnpmdiff@8.0.9 - workspace:
libnpmexec@10.1.8 - workspace:
libnpmfund@7.0.9 - workspace:
libnpmpack@9.0.9 - workspace:
libnpmpublish@11.1.2
11.6.1 (2025-09-23)
Bug Fixes
d389614#8579 corrects peer dependency flag propagation (@owlstronaut)5db81c3#8512 allow concurrent non-local npx calls (#8512) (@jenseng, @wraithgar)
Documentation
Dependencies
849dcb6#8589tar@7.5.1(#8589)ea15731#8576binary-extensions@3.1.00f41bac#8576tiny-relative-date@2.0.207bf540#8576is-cidr@6.0.0ef87ec6#8576diff@8.0.248285e0#8576 add fdir, isexe, and picomatch to node_modules099238a#8576fdir@6.5.06e4d673#8576isexe@3.1.109a7494#8576supports-color@10.2.2c5157c9#8576chalk@5.6.246035db#8576debug@4.4.35f6664b#8576spdx-license-ids@3.0.225516583#8576socks@2.8.76a392f3#8576tinyglobby@0.2.159519f18#8576npm-install-checks@7.1.234bafd1#8576node-gyp@11.4.2dfd034e#8576@npmcli/promise-spawn@8.0.3d4eef14#8576rimraf@6.0.1566f1b7#8576minimatch@10.0.3ac33497#8576mkdirp@3.0.11676626#8576glob@11.0.3817f0b1#8576ignore-walk@8.0.079a4e67#8576minizlib@3.0.238fa2c2#8576negotiator@1.0.024252a1#8576@npmcli/agent@4.0.0ea7ca5f#8576lru-cache@11.2.1521823b#8576@npmcli/git@7.0.0bf6b686#8576npm-package-arg@13.0.09392488#8576npm-package-manifest@11.0.10082083#8576normalize-package-data@8.0.0633c4ed#8576hosted-git-info@9.0.066f64eb#8576make-fetch-happen@15.0.21f85f94#8576@sigstore/tuf@4.0.0a2bdecc#8576sigstore@4.0.01149971#8576npm-registry-fetch@19.0.0b5bd5e3#8576npm-profile@12.0.06221e27#8576@npmcli/metavuln-calculator@9.0.2da81a37#8576cacache@20.0.16b4c5f9#8576@npmcli/run-script@10.0.0cb36a8a#8576init-package-json@8.2.2b6bb9ae#8576pacote@21.0.31b4433f#8576@npmcli/map-workspaces@5.0.0ceae674#8576@npmcli/package-json@7.0.14f37534#8576 remove read-package-json-fast
Chores
7eb5c09#8576 update package-lock with peer flag fixes (@wraithgar)0d00fd8#8576jsdom@27.0.0(@wraithgar)420a569#8576unified@11.0.5(@wraithgar)064deb3#8576remark-rehype@11.1.2(@wraithgar)30fe3ba#8576remark-man@9.0.0(@wraithgar)1c6bb4c#8576rehype-stringify@10.0.1(@wraithgar)208cb93#8576remark-gfm@4.0.1(@wraithgar)4a46b5a#8576remark-github@12.0.0(@wraithgar)93d190b#8576remark-parse@11.0.0(@wraithgar)05301a4#8576remark@15.0.1(@wraithgar)6afdda9#8576ajv-formats@3.0.1(@wraithgar)402a0ab#8576@npmcli/template-oss@4.25.1(@wraithgar)3b43bf7#8576 dev dependency updates (@wraithgar)9f9146f#8576@tufjs/repo-mock@4.0.0(@wraithgar)eed8a10#8576 use latest/local arborist in mock-registry (@wraithgar)- workspace:
@npmcli/arborist@9.1.5 - workspace:
@npmcli/config@10.4.1 - workspace:
libnpmaccess@10.0.2 - workspace:
libnpmdiff@8.0.8 - workspace:
libnpmexec@10.1.7 - workspace:
libnpmfund@7.0.8 - workspace:
libnpmorg@8.0.1 - workspace:
libnpmpack@9.0.8 - workspace:
libnpmpublish@11.1.1 - workspace:
libnpmsearch@9.0.1 - workspace:
libnpmteam@8.0.2 - workspace:
libnpmversion@8.0.2
11.6.0 (2025-09-03)
Features
bdcc10d#8359 add support for optional env var replacements in .npmrc (#8359) (@aczekajski, @owlstronaut)
Bug Fixes
dd4cee9#8539 powershell: improve argument parsing (#8539) (@alexsch01)5f18557#8532 powershell: fix issue with modified InvocationName (#8532) (@alexsch01)9e5abf1#8529 add redaction to log format egress (#8529) (@wraithgar)75ce64a#8524 revert handle signal exits gracefully (#8524) (@owlstronaut)5d82d0b#8469 ps1 scripts in powershell 5.1 (#8469) (@splatteredbits)
Dependencies
- workspace:
@npmcli/arborist@9.1.4 - workspace:
@npmcli/config@10.4.0 - workspace:
libnpmdiff@8.0.7 - workspace:
libnpmexec@10.1.6 - workspace:
libnpmfund@7.0.7 - workspace:
libnpmpack@9.0.7
11.5.2 (2025-07-30)
Bug Fixes
Documentation
11.5.1 (2025-07-24)
Bug Fixes
11.5.0 (2025-07-24)
Features
Bug Fixes
7f66f0a#8447 add better hint forbeforeand clean up description (@wraithgar)280817a#8447 add --before param to command help output (@wraithgar)6e47325#8441 Makes 404 errors less scary without revealing existence (#8441) (@owlstronaut)0a97ffd#8429 handle signal exits gracefully (@owlstronaut)5b858c6#8411 ensure progress bars display consistently across all environments (#8411) (@owlstronaut)
Documentation
ef3529e#8435 add test snapshot (#8435) (@reggi, @wraithgar)b7758d7#8418 remove reference to Node.js download less common os (#8418) (@MikeMcC399)746ac5d#8380 remove duplicate info (#8380) (@alexsch01)4673e9c#8371 rebrand OS X references to macOS (@MikeMcC399)
Dependencies
398fed4#8450normalize-package-data@7.0.15b242c9#8450validate-npm-package-name@6.0.2d4e8a8a#8450tuf-js@3.1.0e1b37b2#8450picomatch@4.0.33cb5884#8450socks@2.8.6daea981#8450ci-info@4.3.039ad47d#8450aproba@2.1.0a789f33#8450agent-base@7.1.41c0d257#8450@npmcli/metavuln-calculator@9.0.1
Chores
804a964#8450 update devDependencies in lockfile (@wraithgar)643ae71#8450 update mock-registry to use local arborist (@wraithgar)cf023d7#8421 contributing: prepare easier copy-paste contributing commands (#8421) (@MikeMcC399)3f60b5f#8383@npmcli/template-oss@4.24.4(#8383) (@wraithgar)01f8cc6#8381@npmcli/template-oss@4.24.3(#8381) (@wraithgar)- workspace:
@npmcli/arborist@9.1.3 - workspace:
@npmcli/config@10.3.1 - workspace:
libnpmdiff@8.0.6 - workspace:
libnpmexec@10.1.5 - workspace:
libnpmfund@7.0.6 - workspace:
libnpmpack@9.0.6 - workspace:
libnpmpublish@11.1.0
11.4.2 (2025-06-11)
Bug Fixes
f2d6947#8345 move warning to new line whennpm initis canceled (@mbtools)e758dd7#8318 powershell: multiple Invoke-Expression fixes (#8318) (@alexsch01)
Documentation
7233cb3#8355 remove deprecated section related temp files (#8355) (@milaninfy)fb7a498#8351 clarify shell used for script (#8351) (@milaninfy)8b55d38#8329 Rename "command" to "script" (#8329) (@DanKaplanSES)
Dependencies
7b05420#8358fdir@6.4.6e1a3b23#8358tinyglobby@0.2.14522efa2#8358socks@2.8.57a0723f#8358debug@4.4.19a342a4#8358brace-expansion@2.0.2e691ba0#8358@sigstore/protobuf-specs@0.4.342ef765#8358validate-npm-package-name@6.0.1774c0b1#8358@npmcli/redact@3.2.2dda6f87#8317@npmcli/package-json@6.2.0bc08ac7#8317 remove normalize-package-data
Chores
0ad1444#8358 dev dependency updates (@wraithgar)- workspace:
@npmcli/arborist@9.1.2 - workspace:
libnpmdiff@8.0.5 - workspace:
libnpmexec@10.1.4 - workspace:
libnpmfund@7.0.5 - workspace:
libnpmpack@9.0.5 - workspace:
libnpmpublish@11.0.1
11.4.1 (2025-05-21)
Documentation
3ed764a#8308 Clarify script working directory behavior (fixes #8305) (#8308) (@tarekwfa0110, @owlstronaut)
Chores
2f30251#8314 remove references to skimdb.npmjs.com (#8314) (@shmam)9cb9d50#8298 add contributor to changelog entry (#8298) (@wraithgar)
Dependencies
- workspace:
@npmcli/arborist@9.1.1 - workspace:
libnpmdiff@8.0.4 - workspace:
libnpmexec@10.1.3 - workspace:
libnpmfund@7.0.4 - workspace:
libnpmpack@9.0.4
11.4.0 (2025-05-15)
Features
a0e60fb#8246 added init-private option (@owlstronaut)57aa89f#8265 use run by default and run-script as the alias (#8265) (@owlstronaut)0d4c023#8234 install: add package info to json output (#8234) (@wraithgar)
Bug Fixes
8794fd9#8297 powershell: support pipeline input with Invoke-Expression (#8297) (@alexsch01)b5173d1#8293 docs: corrected github_path (#8293) (@xaos7991)2210d7a#8278 powershell: use Invoke-Expression to pass args (#8278) (@alexsch01, @mbtools)8669d09#8228 add otplease for enable-2fa, disable-2fa, access (#8228) (@reggi, @wraithgar)78b5a6f#8269 correctly handle scenario where prefix is the cwd (#8269) (@owlstronaut, @ficocelliguy)fdc3413#8221 exec: Fails to Execute Binaries Named After Shell Keywords (#8221) (@13sfaith)4b08e2e#8245 docs: prepare script runs for local package links (@milaninfy)1622ac4#8241 handle missingtimein packument to prevent crash onnpm view(@owlstronaut)db8f5da#8110 outdated: add dependent location in long output (#8110) (@milaninfy, @wraithgar)
Documentation
d2498df#8295 RemoveCHANGELOGfrom never-ignored list (#8295) (@mrazauskas)4d5c3c1#8283 fixoverridesexample in package-json.md (#8283) (@glasser)96cc4f9#8226 format publish as code to highlight it (@LiangYingC)4990ea0#8226 clarify legacy token creation in npm login and adduser commands (@LiangYingC)
Dependencies
c97ef8a#8246init-package-json@8.2.1f48613d#8292@sigstore/verify@2.1.1a4c5e74#8292tinyglobby@0.2.13b9156d2#8292http-cache-semantics@4.2.0472a685#8292binary-extensions@3.1.0988696e#8292@sigstore/tuf@3.1.1569ac84#8292semver@7.7.22521c9b#8233@sigstore/protobuf-specs@0.4.13274d68#8233@npmcli/query@4.0.1c263626#8233abbrev@3.0.178df711#8233hosted-git-info@8.1.0
Chores
e80e38e#8292 dev dependency updates (@wraithgar)3231ee9#8244 update snapshots (@owlstronaut)c561a33#8233 dev dependency updates (@owlstronaut)7eca19c#8215 update workflow permissions for updating Node PR (@owlstronaut)- workspace:
@npmcli/arborist@9.1.0 - workspace:
@npmcli/config@10.3.0 - workspace:
libnpmaccess@10.0.1 - workspace:
libnpmdiff@8.0.3 - workspace:
libnpmexec@10.1.2 - workspace:
libnpmfund@7.0.3 - workspace:
libnpmpack@9.0.3 - workspace:
libnpmteam@8.0.1 - workspace:
libnpmversion@8.0.1
11.3.0 (2025-04-08)
Features
Bug Fixes
Documentation
26b6454fix grammar in local path note (@cgay)1c0e83d#7886 fix typo in package-json.md (#7886) (@stoneLeaf)14efa57#8178 fix example package name inoverridesexplainer (#8178) (@G-Rath)4183cba#8162 logging: replace proceeding with preceding in loglevels details (#8162) (@tyleralbee)
Dependencies
e57f112#8207minipass-fetch@4.0.13daabb1#8207minizlib@3.0.2c7a7527#8207ci-info@4.2.020b09b6#8207node-gyp@11.2.0679bc4a#8129@npmcli/run-script@9.1.0
Chores
3fbed84#8207 install rimraf as a devdependency for smoke tests (@owlstronaut)43f0b41#8207 dev dependency updates (@wraithgar)26803bc#8147 release integration node 23 yml (#8147) (@reggi)d679a1a#8146 release integration node 23 (#8146) (@reggi)- workspace:
@npmcli/arborist@9.0.2 - workspace:
@npmcli/config@10.2.0 - workspace:
libnpmdiff@8.0.2 - workspace:
libnpmexec@10.1.1 - workspace:
libnpmfund@7.0.2 - workspace:
libnpmpack@9.0.2
11.2.0 (2025-03-05)
Features
247ee1d#8100 cache: add npx commands (@wraithgar)3a80a7b#8081 add --init-type flag (#8081) (@reggi)2a1e11f#8071 move nerfDart list into @npmcli/config (@wraithgar)
Bug Fixes
8461186#8100 update npx cache if possible when spec is a range (@wraithgar)e345cc5#8050 don't suggest npm update outside of valid engine range (#8050) (@milaninfy)811ca29#8115 stop working around bug fixed innpm-package-arg@12.0.2(@TrevorBurnham)879303c#8078 warn on invalid publishConfig (#8078) (@wraithgar)41417de#8080 warn when TUF fetching of keys fails (#8080) (@wraithgar)593c849#8076 warn on invalid single-hyphen cli flags (#8076) (@wraithgar)
Dependencies
3d8b257#8100@npmcli/package-json@6.1.1ab17523#8134supports-color@10.0.03cbe21a#8134foreground-child@3.3.1ee5e1aa#8118@npmcli/redact@3.1.15df69b4#8118exponential-backoff@3.1.280c3273#8118read@4.1.07fd70fa#8118node-gyp@11.1.07aeffff#8118cidr-regex@4.1.3b0c0490#8118is-cidr@5.1.1ef49d6b#8118sigstore@3.1.01399bfb#8118socks@2.8.46b72107#8118semver@7.7.1c9ad0c4#8118@npmcli/git@6.0.3b153927#8115npm-package-arg@12.0.2f0f6265#8071nopt@8.1.0
Chores
cc72b89#8143 fix smoke tests to account for new release versions within a workspace (#8143) (@reggi)c3810bc#8134 dev dependency updates (@wraithgar)9dc40e6#8118 dev dependency updates (@wraithgar)7ec0831#8118 update jsonpath-plus (@wraithgar)ed85b01#8071 tests for config warnings/changes (@wraithgar)- workspace:
@npmcli/arborist@9.0.1 - workspace:
@npmcli/config@10.1.0 - workspace:
libnpmdiff@8.0.1 - workspace:
libnpmexec@10.1.0 - workspace:
libnpmfund@7.0.1 - workspace:
libnpmpack@9.0.1
11.1.0 (2025-01-29)
Features
7f6c997#8009 add dry-run to deprecate/undeprecate commands (@wraithgar)1764a37#8009 add npm undeprecate command (@wraithgar)
Bug Fixes
31455b2#8054 publish: honor force for no dist tag and registry version check (#8054) (@reggi)dc31c1b#8038 remove max-len linting bypasses (@wraithgar)8a911ff#8038 publish: disregard deprecated versions when calculating highest version (@wraithgar)7f72944#8038 publish: accept publishConfig.tag to override highest semver check (@wraithgar)ab9ddc0#7992 sbom: deduplicate sbom dependencies (#7992) (@bdehamer)f7da341#7980 search: properly display multiple search terms (#7980) (@wraithgar)
Documentation
3644e79#8055 update readme for Node.js versions, remove badges (#8055) (@wraithgar)f1af61f#8041 fix typos in "package-json" (#8041) (@maxkoryukov)e90c6fe#8051 depth flag default value (#8051) (@milaninfy)866b5ee#8030 safer documentation urls, repos, packages (#8030) (@reggi)
Dependencies
7ddfbad#8053@npmcli/package-json@6.1.19473a86#8053spdx-license-ids@3.0.21a65e5ce#8053@sigstore/protobuf-specs@0.3.3215ebe4#8053chalk@5.4.1
Chores
61f00e3#8069 splits out smoke-tests from publish-dryrun tests (#8069) (@reggi)6d0f46e#8058 stop publish smoke from check git clean (#8058) (@reggi)9281ebf#8057 fix smoke tests prerelease needs separate string args (#8057) (@reggi)aa202e9#8056 smoke tests using a preid (#8056) (@reggi)18e0449#8053 dev dependency updates (@wraithgar)859a71c#8052 update node versions for release integration tests (#8052) (@wraithgar)7e7961d#8038 bump @npmcli/eslint-config to 5.1.0 (@wraithgar)- workspace:
@npmcli/config@10.0.1
11.0.0 (2024-12-16)
Documentation
Dependencies
5319e48#7973 remove unnecessary sprintf-js files in node_modules (#7973)d369c77#7976socks-proxy-agent@8.0.53b2951a#7976https-proxy-agent@7.0.6a598b7b#7976agent-base@7.1.352bcaf6#7976debug@4.4.0aabf345#7976p-map@7.0.328e8761#7976npm-package-arg@12.0.1
Chores
ecd7190#7976 dev dependency updates (@wraithgar)a07f4e0#7976@npmcli/template-oss@4.23.6(@wraithgar)687ab12#7970 remove pre-release mode from npm 11 and workspaces (#7970) (@wraithgar)- workspace:
@npmcli/arborist@9.0.0 - workspace:
@npmcli/config@10.0.0 - workspace:
libnpmaccess@10.0.0 - workspace:
libnpmdiff@8.0.0 - workspace:
libnpmexec@10.0.0 - workspace:
libnpmfund@7.0.0 - workspace:
libnpmorg@8.0.0 - workspace:
libnpmpack@9.0.0 - workspace:
libnpmpublish@11.0.0 - workspace:
libnpmsearch@9.0.0 - workspace:
libnpmteam@8.0.0 - workspace:
libnpmversion@8.0.0
11.0.0-pre.1 (2024-12-06)
⚠️ BREAKING CHANGES
- Upon publishing, in order to apply a default "latest" dist tag, the command now retrieves all prior versions of the package. It will require that the version you're trying to publish is above the latest semver version in the registry, not including pre-release tags.
npm initnow has atypeprompt, and sorts the entries in created packages differentlybun.lockbfiles are now included in the strict ignore list during packing
Features
Bug Fixes
Documentation
2af31dd#7947 change certfile to cafile (#7947) (@wraithgar)1be8e95#7945 update ignore rules (@wraithgar)
Dependencies
bc9b14d#7955@npmcli/run-script@9.0.2fecfcf4#7955node-gyp@11.0.08905037#7955p-map@7.0.2ac8eb39#7955diff@7.0.0c0bcc2a#7955walk-up-path@4.0.0d463a6f#7955init-package-json@8.0.0b87ba24#7945@npmcli/package-json@6.1.04bf1901#7945@npmcli/metavuln-calculator@9.0.0ca84b22#7945pacote@21.0.04906f3d#7945npm-packlist@10.0.0
Chores
cfdf214#7943 fork changelog (#7943) (@wraithgar)- workspace:
@npmcli/arborist@9.0.0-pre.1 - workspace:
@npmcli/config@10.0.0-pre.1 - workspace:
libnpmdiff@8.0.0-pre.1 - workspace:
libnpmexec@10.0.0-pre.1 - workspace:
libnpmfund@7.0.0-pre.1 - workspace:
libnpmorg@8.0.0-pre.1 - workspace:
libnpmpack@9.0.0-pre.1
11.0.0-pre.0 (2024-11-26)
⚠️ BREAKING CHANGES
- When publishing a package with a pre-release version, you must explicitly specify a tag.
--ignore-scriptsnow applies to all lifecycle scripts, includeprepare- npm will no longer fall back to the old audit endpoint if the bulk advisory request fails.
- npm will no longer switch to global mode if aliased to "npmg" or "npm-g" etc.
- The
npm hookcommand has been removed - Attestations made by this package will no longer validate in npm versions prior to 10.6.0
- npm now supports node
^20.17.0 || >=22.9.0 - @npmcli/docs now supports node
^20.17.0 || >=22.9.0
Features
Bug Fixes
16b7367#7910 publishing prerelease requires explicit tag (#7910) (@reggi)e19bff0#7901 perf: enable compile cache if present (#7901) (@H4ad)080a0f2#7911 remove old audit fallback request (@wraithgar)780afc5#7855 pkg: display if any of multiple attributes exist (#7855) (@Sanderovich)ecd2d23#7842 don't go into global mode if aliased to npmg (#7842) (@wraithgar)62c71e5#7835 removesnpm hookcommand (@reggi)7f541e8#7815 make pack and exec work with git hash refs (#7815) (@milaninfy)3162620#7831 sets node engine range to^20.17.0 || >=22.9.0(@reggi)4c8ba0a#7831 for @npmcli/docs sets node engine range to^20.17.0 || >=22.9.0(@reggi)70cd88d#7808 view: sort and truncate dist-tags (#7808) (@wraithgar)534ad77#7795 remove unused parameters catch statements (#7795) (@btea)
Documentation
Dependencies
78293ad#7937spdx-license-ids@3.0.2033cf580#7937promise-call-limit@3.0.2ef1c368#7937package-json-from-dist@1.0.192e6f07#7937npm-registry-fetch@18.0.2e32284a#7937npm-install-checks@7.1.15dffd11#7937negotiator@0.6.469d9f01#7937make-fetch-happen@14.0.3884bbde#7937hosted-git-info@8.0.23c74ec0#7937debug@4.3.7f00359f#7937cross-spawn@7.0.6534bbe8#7937ci-info@4.1.08cbf1a7#7937@npmcli/promise-spawn@8.0.21bd39e7#7937@npmcli/map-workspaces@4.0.2eb6498d#7937ansi-regex@6.1.066fc8c9#7850@npmcli/metavuln-calculator@8.0.17dbef6f#7850pacote@20.0.075a3f12#7859 remove unused deps (#7859)f36dc59#7833pacote@19.0.17ee15bb#7833 bump sigstore from 2.x to 3.0.0 (@bdehamer)
Chores
2d530a5#7941 tests: account for when npm is a prerelease (#7941) (@wraithgar)2c1b369#7937 dev dependency updates (@wraithgar)6edfe2f#7937@npmcli/template-oss@4.23.5(@wraithgar)475285b#7920 clean up dependency graph repos (#7920) (@hashtagchris)ec57f5f#7911 fix dependencies script for circular workspace deps (@wraithgar)ccd8420#7911 fix cli tests for audit fallback removal (@wraithgar)720b4d8#7833 bump @npmcli/arborist to 8.0.0 (@wraithgar)286739c#7824 add creation of a DEPENDENCIES.json file (#7824) (@reggi)852dd8b#7831 sets npm 11 to prerelease (@reggi)95d009e#7831 update engine^20.17.0 || >=22.9.0in actions (@reggi)5a74478#7831 update engines^20.17.0 || >=22.9.0in package template (@reggi)- workspace:
@npmcli/arborist@9.0.0-pre.0 - workspace:
@npmcli/config@10.0.0-pre.0 - workspace:
libnpmaccess@10.0.0-pre.0 - workspace:
libnpmdiff@8.0.0-pre.0 - workspace:
libnpmexec@10.0.0-pre.0 - workspace:
libnpmfund@7.0.0-pre.0 - workspace:
libnpmorg@8.0.0-pre.0 - workspace:
libnpmpack@9.0.0-pre.0 - workspace:
libnpmpublish@11.0.0-pre.0 - workspace:
libnpmsearch@9.0.0-pre.0 - workspace:
libnpmteam@8.0.0-pre.0 - workspace:
libnpmversion@8.0.0-pre.0
