consola
3.4.2 · 18 Mar 2025MIT69.2M / weekRepositoryHomepagenpmAtom feed
Upgrading consola From 2.2.0 to 3.4.2
57 releases in betweennotes for 24
- 3+
- changes to make
- 0
- advisories fixed
- 42+
- new
- 28+
- fixes
Counted from 24 of 57 release notes, and the breaking changes of 2 pre-releases on the way to a major. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking3.0.0
- Breaking3.0.0-1
- Breaking3.0.0-4
Release by release
- Fixed
Fix issues with CJS types
- Fixed
Export tree utils
- Fixed
Calculate box width with the title width
- Fixed
- Fixed
Remove all message lines from stack
- Fixed
- New
Use upstream
@clack/prompts - Fixed
Calculate box width without escape sequence chars
- New
3.3.1 – 3.3.33 releases, nothing new or fixed; 2 without a note
- New
utils:
formatTreeutility - New
formatTree: Support max depth
- New
Print error
cause - New
Export prompt option types
- New
3.2.1 – 3.2.33 releases, no release note
- New
fancy: Support underlining
- New
consola.box - New
consola/utilssubpath export - New
Color utils
- Fixed
Inherit mocks
- Fixed
Correct and improve return types for single and multi select prompts
- Fixed
Preserve tag casing
- New
- New
Support
fancyoption forcreateConsolaand improve docs - New
consola/basic,consola/coreandconsola/browsersubpath exports saving up to 80% of bundle size
- New
1 other line we could not sort, mostly version bumps
- 3.0.0
Prefer object spread instead of
Object.assign
29 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.