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…
- 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
- 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(), andcacache.ls.stream()will now return objects that looks like this: - Breaking
opts.digestandopts.hashAlgorithmare obsolete for any API calls that used them.
- Breaking
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.