Packages

cacache

21.0.2 · 11 Nov 2026ISC44M / weekRepositoryHomepagenpmAtom feed

Upgrading cacache From 12.0.4 to 13.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 12.0.4Latest21.0.2
  1. 12.0.4yours
  2. 13.0.0target
10
changes to make
0
advisories fixed
12
new
0
fixes

Before you upgrade

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

Release by release

  1. 13.0.0

    Migration needed25 Sep 201912 new
    • Breaking

      This subtly changes the streaming interface of everything in cacache that streams, which is, well, everything in cacache. Most users will probably not notice, but any code that depended on stream behavior always being deferred until next tick will need to adjust.

    • Breaking

      minipass The core stream library.

    • Breaking

      fs-minipass Note that the 'WriteStream' class from fs-minipass is not a Minipass stream, but rather a plain old EventEmitter that duck types as a Writable.

    • Breaking

      minipass-collect Gather up all the data from a stream. Cacache only uses Collect.PassThrough, which is a basic Minipass passthrough stream which emits a 'collect' event with the completed data just before the 'end' event.

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.