Skip to content

deps: drop Node 20, bump chalk to 6 and commander to 15 - #37

Merged
Shinrai merged 1 commit into
nextfrom
deps/node22-chalk6-commander15
Jul 31, 2026
Merged

deps: drop Node 20, bump chalk to 6 and commander to 15#37
Shinrai merged 1 commit into
nextfrom
deps/node22-chalk6-commander15

Conversation

@Shinrai

@Shinrai Shinrai commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Consolidates three open Dependabot PRs (#34, #36) into a single coordinated update. Closes #34. Closes #36.

What changed

  • chalk ^5.4.1^6.0.0
  • commander ^14.0.3^15.0.0
  • engines.node >=20.19.0>=22.12.0
  • CI and publish workflow min_node_version default: 2022

Why together

Both chalk 6 and commander 15 require Node.js 22 as their minimum. Node 20 reached EOL in April 2026. Doing these separately would mean two engines.node changes; doing them together is one coordinated drop of EOL support.

API safety

  • chalk: only breaking change is the Node 22 floor. All usage in this repo (.bold, .magenta, .yellow, .green, .cyan, .gray, .red, .blueBright, .italic, chalk.level) is unchanged in v6.
  • commander: ESM-only change is a no-op (repo is already "type": "module"). The --no-* default behavior change only affects options defined alongside a paired positive option — the lone --no-symlinks used here is unaffected.

Not included

  • marked (PR deps: bump marked from 15.0.12 to 18.0.7 #35) remains at ^15.0.12. marked-terminal@7.3.0 (latest, no newer release) declares peerDependencies: { "marked": ">=1 <16" } and the project is effectively unmaintained. Blocked until a compatible alternative exists.

Verified

All 383 tests pass against chalk 6 + commander 15.

Node 20 reached EOL in April 2026. chalk 6 requires Node >=22 and
commander 15 requires Node >=22.12.0, so this drops Node 20 support
and updates engines.node accordingly.

API usage of both packages is unchanged: chalk's .bold/.yellow/.magenta
etc. are untouched; commander's lone --no-symlinks option is unaffected
by the v15 --no-* default-handling fix (only paired options change).

CI and publish matrices updated to min_node_version: 22 to match.
@cldmv-bot cldmv-bot Bot added type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files type: dependencies Relates to dependency updates, version bumps, or package management labels Jul 31, 2026
@Shinrai
Shinrai merged commit 386d1ae into next Jul 31, 2026
23 checks passed
@cldmv-bot
cldmv-bot Bot deleted the deps/node22-chalk6-commander15 branch July 31, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files type: dependencies Relates to dependency updates, version bumps, or package management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant