consola
3.4.2 · 18 Mar 2025MIT69.2M / weekRepositoryHomepagenpmAtom feed
Upgrading consola From 1.4.4 to 3.4.2
71 releases in betweennotes for 67
- 5+
- changes to make
- 0
- advisories fixed
- 60+
- new
- 61+
- fixes
Counted from 67 of 71 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
- Breaking2.0.4
- 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
9 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
- 2.0.0
Removed some extra types like
doneandreadyand added a newsilentlevel. See types.js. - 2.0.0
The log methods signature is improved. Either a
logObjor a series of arguments which will be directly passed toutil.formatlike the normal console. (<type>(logObject)<type>(args...)`) - 2.0.0
Use badge style for the fancy reporter when log level is below 2 (error, fatal and warning)
- 2.0.0
add,removeandwithScopemethods renamed toaddReporter,removeReporterandwithTagwith aliases for backward compatibility (Thanks to @aldarund for early testing)
41 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.