Packages

cac

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

Upgrading cac From 6.7.12 to 7.1.1

6 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.7.12Newest 6.x6.7.14
  1. 6.7.12yours
  2. 6.7.13
  3. 6.7.14
  4. 7.0.0major
  5. 7.0.1security
  6. 7.1.0
  7. 7.1.1target
  8. 1 pre

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

Security

  • Prevent prototype pollution via inherited parse results

    7.1.1
  • Prevent prototype pollution via dotted option names

    7.0.1

Release by release

  1. 7.1.1

    Security fix20 Nov 2026
    • Security

      Prevent prototype pollution via inherited parse results

  2. 7.1.0

    11 Oct 20262 fixes
    • Fixed

      Read process.argv lazily

    • Fixed

      parse: Leave an omitted array option absent

  3. 7.0.1

    Security fix8 Oct 2026
    • Security

      Prevent prototype pollution via dotted option names

  4. 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

  5. 6.7.14

    29 Aug 20221 fix
    • Fixed

      Fix typescript issue and fix wrong export field (fix #143)

  6. 6.7.13

    29 Aug 20221 fix
    • Fixed

      Compat with NodeNext moduleResolution

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.