Skip to content

Chore: upgrade deps - #40

Merged
AxiosLeo merged 12 commits into
masterfrom
chore/upgrade-deps
Nov 18, 2026
Merged

AxiosLeo merged 12 commits into
masterfrom
chore/upgrade-deps

Conversation

@AxiosLeo

@AxiosLeo AxiosLeo commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Note

Medium Risk
Major semver bump with Windows locale behavior change and vendored colors (still mutates String.prototype); runtime surface is similar but dependency and platform differences warrant regression checks.

Overview
Major release (2.0.0) that trims runtime dependencies and retargets supported Node versions while keeping familiar CLI behavior.

The package stops depending on colors, moment, and lcid: terminal styling is provided by an inlined src/lib/colors.js (compatible with colors@1.4.0, including String.prototype color getters), timestamps use native Date/Date.now(), and printer now loads the local colors module.

Locale detection on Windows no longer shells out via wmic/lcid; it uses LC_ALL, LC_MESSAGES, LANG, and LANGUAGE only, defaulting to en-US when unset—documented in both READMEs. sets selection is clarified: use the detected locale when it appears in sets, otherwise the first entry.

CI runs on Ubuntu, macOS, and Windows with Node 20, 22, 24, and 26 (dropping 18 and 25). Docs and badges raise the stated minimum Node to 16+.

Tooling and types are refreshed: ESLint flat config without @eslint/eslintrc, stricter lint via tsc --noEmit on index.d.ts, big.js v7, and updated test stack (Chai 6, Mocha 12, etc.). init scaffolds ^2.0.0**. Small fixes include _fixed padding and expanded colors unit tests.

Reviewed by Cursor Bugbot for commit 3f43a49. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3f43a49. Configure here.

Comment thread commands/init.js
'license': 'MIT',
'dependencies': {
'@axiosleo/cli-tool': '^1.6.12'
'@axiosleo/cli-tool': '^2.0.0'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Init scaffold misses ESLint 10 packages

Medium Severity

cli-tool init still writes eslint as the only lint devDependency, while the copied eslint.config.mjs imports @eslint/js and globals. ESLint 10 no longer depends on @eslint/js, so npm run lint in a newly generated project fails to resolve those modules.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3f43a49. Configure here.

@AxiosLeo
AxiosLeo merged commit 5cefdfb into master Nov 18, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant