Packages

cacache

21.0.2 · 11 Nov 2026ISC44M / weekRepositoryHomepagenpmAtom feed

Upgrading cacache From 6.3.0 to 7.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.3.0Latest21.0.2
  1. 6.3.0yours
  2. 7.0.0target
9
changes to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0

Release by release

  1. 7.0.0

    Migration needed3 Apr 20171 new
    • Breaking

      integrity: The entire API has been overhauled to use SRI hashes instead of digest/hashAlgorithm pairs. SRI hashes follow the Subresource Integrity standard and support strings and objects compatible with ssri.

    • Breaking

      This change bumps the index version, which will invalidate all previous index entries. Content entries will remain intact, and existing caches will automatically reuse any content from before this breaking change.

    • Breaking

      cacache.get.info(), cacache.ls(), and cacache.ls.stream() will now return objects that looks like this:

    • Breaking

      opts.digest and opts.hashAlgorithm are obsolete for any API calls that used them.

1 internal line (docs, tests, tooling) left out.

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.