Releases: astoilkov/console-powers
Releases · astoilkov/console-powers
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.0
- ✨ new
options.keys
for filtering object keys da551a4 - ✨ tries to guess DevTools/inspector width and set
options.wrap
to it whenoptions.wrap
isauto
b3156be - ✨ print extra properties on arrays as well b31bb92
- 🔀
consoleInspect()
, no longer sort keys b4326b2 - 🐛 🔀 don't align long object keys 24760bc
- 🐛 text doesn't wrap in DevTools when it doesn't contain spaces e4290b7
- 🐛 oops, wrap allows only the number 100 8205d9b
v0.7.0
- ✨
consoleInspect()
add Map support def4fd2 - ✨ improve
Set
output dd9bb0a - ✨ better adapt on available line length de745b9
- ✨
consoleInspect()
multi-line object keys to use highlight color (as DevTools) 03bf901 - ✨
consoleInspect(string)
to show as normal text (as DevTools) 82bb286 - ✨ make max string length adaptive 5036e42
- ✨ improve Date printing 3c36d8e
- ✨ escape \n, \t, \r in strings (as DevTools) a3a8d17
- 🔀
consoleTable()
, renameoptions.lineLength
→options.wrap
876188c - 🔀 🔥 deprecate
options.line
property 2460027 - 🐛 don't include undefined/null values in the style string 9d2f4af
- 🐜
consoleInspect()
apply bigger line-height only for non-primitive types 0cc0bdc
v0.6.0
- ✨ inline objects/arrays in
consoleTable()
77a71da 4a964b2 - ✨ new
options.wrap
property that's more powerful withauto
,single-line
,multi-line
ornumber
(for switching to multi-line at the specified length) 4a964b2 - 🔀 old
options.lineLength
is now removed in favor ofoptions.wrap
4a964b2 - 🔀 consistent styling of array index and object key in
consoleTable()
2760ab8 - 🔀 the default cell horizontal spacing is now 2 spaces (an option for that coming soon)
- 🐛
consoleTable()
cell padding is incorrectly +1 space on the right 88d9b92 - 🐛
consoleTable()
last column doesn't have a left border 7a3743e - 🐛 tables with one column and one row don't render right and bottom borders respectively e115aa9
- 🐛 empty object has two empty spaces between the brackets 529fe82
- 🐜 add
ConsoleObject
to possible types inconsoleGroup({ header })
option 9334997
v0.5.0
- 🔀 rename
expandDepth
→depth
(breaking change) aa8b68c - ✨ add support for non-plain objects (ex: HTMLElement) 05385ab
- ✨ add
lineLength
property (experimental) efba75f - ✨ add
print: boolean
option toconsoleInspect()
andconsoleTable()
methods bbdc981 - ✨ add support dark mode + add
theme
option dc512c4 - 🐛 fix border color in dark theme 9925a65
v0.4.0
- ✨ make
Date
without specified time to print only the date part dccca50 - ✨ style BigInt differently from number (as DevTools) d02d36b
- ✨
consoleTable()
, add support for array of objects 59dc76c - ✨
consoleTable()
, improve flat objects and arrays styling 883706d - 🔀
ConsoleMessage
→ConsoleSpan
047c8da - 🔀
consoleTable()
, make header text bold 119632d - 🔀 when line: true, show line at first level as well 4adde75
- 🐛 style booleans (as DevTools) e86c3b0
- 🐛 string color is not the same as DevTools df7241a
- 🐜 allow
undefined
to be passed to ConsoleStyle d6511d6
v0.3.0
- ✨ add support for inspecting dates 7232838
- ✨ inspect, add array length at the end of line a552705
- 🐛 undefined & null color isn't the same as in DevTools 1d38105
- ✨ primitive arrays & objects to print even when expandDepth is reached 463473a
- 🐛 single line objects don't need indentation in front 9b2db3e
- ✨ add a group when inspecting a primitive array 206fa9d
- ✨ inspecting an array to use multi-line when no available space 50339b4
- ✨ inspecting object to use multi-line when no available space 2d0efd6
- 🐛 string color isn't exactly the same as DevTools 1509835
- ✨ trim longer strings 8d4302a
- ✨ add extras ff5e9c8
- 🔀
consoleLine()
→consoleFlush()
81d8658 - ✨
consoleOrderedList()
69078fc