Skip to content

chore(deps): bump cac from 6.7.14 to 7.0.0#24

Merged
mroops0111 merged 2 commits into
masterfrom
dependabot/npm_and_yarn/cac-7.0.0
Jun 7, 2026
Merged

chore(deps): bump cac from 6.7.14 to 7.0.0#24
mroops0111 merged 2 commits into
masterfrom
dependabot/npm_and_yarn/cac-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 7, 2026

Copy link
Copy Markdown
Contributor

Bumps cac from 6.7.14 to 7.0.0.

Release notes

Sourced from cac's releases.

v7.0.0

🚨 Breaking Changes

  • Drop Node.js < 20.19.0 support. Node.js 20.19.0 is now the minimum required version.
  • 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.
  • Rename event listener methods to follow the EventTarget API. cli.on() and related methods have been renamed to cli.addEventListener(). Update your code accordingly:
--- cli.on('command:*', () => { ... })
+++ cli.addEventListener('command:*', () => { ... })

Notes for Deno Users

Please use the JSR package instead: @cac/cac

import cac from 'jsr:@cac/cac'

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v7.0.0-beta.1

   ⚠️ Breaking Changes

  • Drop support for Node.js < 20.19.0.
  • Remove CJS build. Please use ESM imports, or upgrade to Node.js > 20.19.0 to continue using require.
  • Rename cli.on() and related methods to cli.addEventListener() to follow the EventTarget API.

   🚀 Features

    View changes on GitHub
Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for cac since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 7, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/cac-7.0.0 branch 3 times, most recently from 8b20e53 to a83bcd7 Compare June 7, 2026 15:28
The cac 7 release reworked some internals but kept the surface we
consume in packages/cli/src/main.ts (`.command`, `.option`,
`.action`, `.parse`) unchanged. No code edits needed; lint,
typecheck, full test suite, and CLI tests all green locally.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mroops0111 mroops0111 force-pushed the dependabot/npm_and_yarn/cac-7.0.0 branch from a83bcd7 to b7f2adf Compare June 7, 2026 15:35
@mroops0111 mroops0111 merged commit 67972be into master Jun 7, 2026
6 checks passed
@mroops0111 mroops0111 deleted the dependabot/npm_and_yarn/cac-7.0.0 branch June 7, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant