Packages

cac

7.1.1 · 20 Nov 2026MIT73.1M / weekRepositoryHomepagenpmAtom feed

Upgrading cac From 6.7.14 to 7.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.7.14Latest7.1.1
  1. 6.7.14yours
  2. 7.0.0target
  3. 1 pre
7
changes to make
0
advisories fixed
3
new
1
fix

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-beta.1
  • Breaking7.0.0-beta.1
  • Breaking7.0.0-beta.1

Release by release

  1. 7.0.0

    Migration needed27 Feb 20263 new · 1 fix
    • Breaking

      Drop Node.js < 20.19.0 support. Node.js 20.19.0 is now the minimum required version.

    • Breaking

      Remove CJS build. CAC is now ESM-only. If you rely on require(), either migrate to ESM imports or upgrade to Node.js ≥ 20.19.0, which supports require() for ES modules natively.

    • Breaking

      Rename event listener methods to follow the EventTarget API. cli.on() and related methods have been renamed to cli.addEventListener(). Update your code accordingly:

    • Breaking

      Drop support for Node.js < 20.19.0, remove CJS build, and update dependencies

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.