cac
7.1.0 · 11 Oct 2026MIT67.7M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 123 releases- 7.x · latest line
7.1.0
11 Oct 2026Read
process.argvlazilyparse: Leave an omitted array option absent
7.0.1
8 Oct 2026- Security
Prevent prototype pollution via dotted option names
7.0.0
27 Feb 2026- 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 supportsrequire()for ES modules natively. - Breaking
Rename event listener methods to follow the
EventTargetAPI.cli.on()and related methods have been renamed tocli.addEventListener(). Update your code accordingly:
Breaking Changes
- 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 supportsrequire()for ES modules natively. - Breaking
Rename event listener methods to follow the
EventTargetAPI.cli.on()and related methods have been renamed tocli.addEventListener(). Update your code accordingly:
--- cli.on('command:*', () => { ... }) +++ cli.addEventListener('command:*', () => { ... })Notes for Deno Users
Please use the JSR package instead:
@cac/cacimport cac from 'jsr:@cac/cac'
Features
- Removed
Drop support for Node.js < 20.19.0, remove CJS build, and update dependencies
Release on JSR
Support on browsers
Throw error on unused args
Bug Fixes
Check default commands
Dependency tracking · free for 3 projects
Know when your own dependencies move
cac shipped a new major in the last 12 months, among 3 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 12 Nov 2026. Releases and advisories last read 12 Nov 2026.