This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| cac | ^6.7.14 → ^7.0.0 |
Release Notes
cacjs/cac (cac)
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 supportsrequire()for ES modules natively. - 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/cac
import cac from 'jsr:@​cac/cac'🚀 Features
- Drop support for Node.js < 20.19.0, remove CJS build, and update dependencies - by @sxzz <samp>(bdbd7)</samp>
- Release on JSR - by @sxzz <samp>(21f55)</samp>
- Support on browsers - by @sxzz <samp>(b943c)</samp>
- Throw error on unused args - by @sapphi-red in #135 <samp>(d0636)</samp>
🐞 Bug Fixes
- Check default commands - by @domdomegg in #152 <samp>(28ddf)</samp>
View changes on GitHub
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.