Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.2.0] - 2026-05-27
Added
analyze()function - semantic analysis returning AnalysisNode- Support for
viewoption ininspect()anddump()(flat,tree,table) - Shared reference detection (
[Shared *N]) in addition to circular references
Changed
inspect()now supports multiple views (flat,tree,table) viaviewoptiontrace()now filters internal library frames, showing only user code
Removed
dpp()function - usetrace()+dp()combination instead
Fixed
trace()now correctly shows caller location in all environmentsdp()now works correctly in Termux and non-TTY environments- Process now terminates naturally after the last
dp()call - Circular and shared reference detection improved
[0.2.0-beta] - 2026-05-21
Added
dp()function - dump and pause (wait for user input)dpp()function - dump, pause and trace (with stack trace)- Support for
streamoption intrace()andmeasure()functions - Support for custom timeout and message in pause functions
- Auto-continue in non-TTY environments (CI/CD)
Changed
trace()now useswriteToStreaminstead ofconsole.errorfor consistencymeasure()now useswriteToStreaminstead ofconsole.errorfor consistency- All functions now support consistent
streamoption for output redirection - Increased default depth from 4 to 30
- Increased default maxArrayLength from 100 to 1000
- Increased default maxStringLength from 1000 to 5000
- Increased default maxProperties from 50 to 200
[0.1.1] - 2026-05-20
[0.1.0] - 2026-05-20 (deprecated)
Added
- Core formatter with circular reference detection
inspect()function - pure string formatterdump()function - print to stderr with chainingdd()function - dump and die (process.exit)trace()function - show caller location with stack optionmeasure()function - sync/async performance timing- Support for Map, Set, WeakMap, WeakSet
- Support for Date, Error, RegExp
- Support for TypedArrays (Uint8Array, Int32Array, etc)
- TypeScript type definitions
- ESM and CommonJS builds
- Zero dependencies
- Auto color detection (TTY)
- Force colors on/off via options
⚠️ Deprecated: Please use
0.1.1or later.