unstale

npm / pacote

pacote

What changed in pacote 13 to 22, from its official release notes, upgrade guides and advisories. Also covers @types/pacote. Sources checked 2026-11-14.

12 breaking2 security8 new APIs and options2 behavior and defaults7 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

pacote 229 changes

Breaking changes 3

  • Git specs using https or git+https now resolve to git+https URLs instead of being switched to git+ssh.

    22.0.0release notes

  • pacote now requires Node.js ^22.22.2 || ^24.15.0 || >=26.0.0.

    22.0.0release notes

  • patchedDependencies is stripped from the package.json included in packed packages.

    22.0.0release notes

Security 2

Behavior and default changes 1

  • The globalIgnoreFile option is now forwarded to npm-packlist.

    22.0.0release notes

Fixes and other changes 3

  • Git dependencies are prepared with --global=false.

    22.0.0release notes

  • Pacote falls back to git clone when a tarball response is not a valid archive.

    22.0.0release notes

  • The ignoreScripts option is now respected for git dependencies.

    21.5.3, 22.0.0release notesrelease notes

pacote 2113 changes

Breaking changes 2

  • bun.lockb files are now included in the strict ignore list during packing.

    21.0.0release notes

  • This module is compatible with Node.js ^20.17.0 || >=22.9.0.

    21.0.0release notes

New APIs and options 7

Behavior and default changes 1

Fixes and other changes 3

  • Prevents path duplication in attestation URLs for registries with paths.

    21.4.0release notes

  • Skips the registry key check for keyless Sigstore/Fulcio attestations.

    21.4.0release notes

  • Ensures the resolved git ref matches the expected SHA.

    21.3.1release notes

pacote 201 changes

Fixes and other changes 1

  • Pacote now honors the ignoreScripts option to prevent the prepare lifecycle script.

    20.0.0release notes

pacote 191 changes

Breaking changes 1

  • pacote now supports Node.js ^18.17.0 || >=20.5.0, aligning its engine range with npm 10.

    19.0.0release notes

pacote 181 changes

Breaking changes 1

  • The silent option was removed; output is now emitted via process.emit('output').

    18.0.0release notes

pacote 171 changes

Breaking changes 1

  • Support for Node.js versions <=16.13 has been removed.

    17.0.0release notes

pacote 161 changes

Breaking changes 1

pacote 151 changes

Breaking changes 1

  • Pacote no longer attempts to change file ownership automatically.

    15.0.0release notes

pacote 133 changes

Breaking changes 2

  • Pacote drops support for the log property and uses proc-log.

    13.0.0release notes

  • A boolean silent value replaces the use of npmlog.level and suppresses @npmcli/run-script banners.

    13.0.0release notes

New APIs and options 1