Releases: poppinss/dumper
Update dependencies
0.6.2 (2024-12-27)
Full Changelog: v0.6.1...v0.6.2
Remove sourcemaps
0.6.1 (2024-11-23)
Full Changelog: v0.6.0...v0.6.1
Add support for rendering expanded output
This release adds support for rendering expanded output using the expand
property.
import { dump } from '@poppinss/dumper/html'
dump(value, {
expand: true, // expand first-level
})
dump(value, {
expand: 'all', // expand recursively
})
Features
- add support for pre-expanding dumper output (7a74793)
Full Changelog: v0.5.0...v0.6.0
Add CSS variables theme for html formatter
The HTML formatter now supports using a CSS variables theme which will not output any colors and leaves it on you to define the colors using the CSS variables. Following is the list of variables you will have to fill out.
:root {
--pre-bg-color
--pre-fg-color
--toggle-fg-color
--braces-fg-color
--brackets-fg-color
--dt-number-fg-color
--dt-bigint-fg-color
--dt-boolean-fg-color
--dt-string-fg-color
--dt-null-fg-color
--dt-undefined-fg-color
--prototype-label-fg-color
--dt-symbol-fg-color
--dt-regex-fg-color
--dt-date-fg-color
--dt-buffer-fg-color
--function-label-fg-color
--array-label-fg-color
--object-label-fg-color
--map-label-fg-color
--set-label-fg-color
--object-key-fg-color
--object-key-prefix-fg-color
--class-label-fg-color
--collpase-label-fg-color
--getter-label-fg-color
--circular-label-fg-color
--weakset-label-fg-color
--weakref-label-fg-color
--weakmap-label-fg-color
--observable-label-fg-color
--promise-label-fg-color
--generator-label-fg-color
--blob-label-fg-color
--unknown-label-fg-color
}
Features
- add cssVariables theme (8ce3166)
Full Changelog: v0.4.2...v0.5.0
More improvements to the static properties display
Fix styling of static class properties
Add support for collapsing values
Collapsing values allows to not inspect values when their constructor name matches one of the pre-defined names. This is helpful to not pollute the output with nested objects and arrays, who properties inspection isn't needed most of the times. For example: There is no need to inspect Luxon DateTime objects or JavaScript Date objects. We know what API these values hold and hence they can collpased.
Features
- add more color tokens and print collpase token (67727de)
- add support for collpasing value by constructor name (88c19e6)
Full Changelog: v0.3.0...v0.4.0
Inspect parent prototype properties as well
Features
- parse prototype properties of the entire extends chain (bc7fa2d)
Full Changelog: v0.2.0...v0.3.0
Add support for inspect classes prototypes while ignoring plain objects
Features
- add ability to inspect prototype of non-plain objects (bddc2ce)
- use poppinss/color with color detection (6462786)
Full Changelog: v0.1.0...v0.2.0
First stable release
This the first stable release of the package that ships with the Console
and the HTML
formatters. The API is stable, however we are still lacking support for customizing the inspection values using custom properties that will be part of the upcoming releases.
Please consult the README for usage help.
0.1.0 (2024-09-05)
Full Changelog: v0.1.0-beta.6...v0.1.0