Packages

cac

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

Upgrading cac From 6.1.1 to 7.1.1

61 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.1.1Newest 6.x6.7.14
  1. 6.1.1yours
  2. 6.1.2breaking
  3. 18 releases
  4. 6.3.10breaking
  5. 32 releases
  6. 6.7.10breaking
  7. 4 releases
  8. 7.0.0major
  9. 7.0.1security
  10. 1 release
  11. 7.1.1target
  12. 1 pre

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking6.7.10
  • Breaking6.3.10
  • Breaking6.1.2
  • 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

  7. 6.7.12

    12 Nov 20211 fix
    • Fixed

      Make cac work on Deno 1.16

  8. 6.7.11

    12 Oct 20211 fix
    • Fixed

      Default exports.require should be pointed to index-compat.js

1 other line we could not sort, mostly version bumps
  • Revert "fix: only output version message for root command"

    6.7.5

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.