deps: drop Node 20, bump chalk to 6 and commander to 15 - #37
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Consolidates three open Dependabot PRs (#34, #36) into a single coordinated update. Closes #34. Closes #36.
What changed
^5.4.1→^6.0.0^14.0.3→^15.0.0engines.node>=20.19.0→>=22.12.0min_node_versiondefault:20→22Why 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.nodechanges; doing them together is one coordinated drop of EOL support.API safety
.bold,.magenta,.yellow,.green,.cyan,.gray,.red,.blueBright,.italic,chalk.level) is unchanged in v6."type": "module"). The--no-*default behavior change only affects options defined alongside a paired positive option — the lone--no-symlinksused here is unaffected.Not included
^15.0.12.marked-terminal@7.3.0(latest, no newer release) declarespeerDependencies: { "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.