consola
3.4.2 · 18 Mar 2025MIT69.2M / weekRepositoryHomepagenpmAtom feed
Upgrading consola From 2.2.5 to 3.4.2
52 releases in betweennotes for 48
- 4+
- changes to make
- 0
- advisories fixed
- 47+
- new
- 50+
- fixes
Counted from 48 of 52 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
- Breaking2.11.3
- 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.2 – 3.3.32 releases, nothing new or fixed in the notes
- Fixed
fancy: Fallback when
Intlis unavailable
- Fixed
- New
utils:
formatTreeutility - New
formatTree: Support max depth
- New
Print error
cause - New
Export prompt option types
- New
- New
types: Add backward compatible declarations
- Fixed
types: Partial style options for
box
- New
- New
fancy: Add node 14 compatibility
- New
5 other lines we could not sort, mostly version bumps
- 3.0.0
Prefer object spread instead of
Object.assign - 2.11.1
consola: use
options.stderr - 2.10.1
Distribute src folder on npm
- 2.5.4
chore(build): Use the
--no-mapflag - 2.5.4
refactor(browser): Improve export
40 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.