Releases: advikdivekar/depmapx
Releases · advikdivekar/depmapx
Release list
v1.2.0: The Blast Radius Engine
What's New in v1.2.0
The "Blast Radius" Engine (depmapx impact)
We've introduced a powerful new local analysis command: impact.
Before deleting a dependency, developers can now calculate the exact architectural debt and cascading failure rate of removing a package.
- Reverse AST Traversal:
depmapxnow tracks local relative imports alongside external packages to build a complete internal dependency graph. - Direct vs. Indirect Impact: The engine identifies files that directly import the target package, and recursively traces secondary files that rely on those direct importers.
- Cascading Terminal Tree: Provides a highly formatted, visual terminal summary detailing the total number of affected files.
- Multi-Package Support: Scan multiple packages sequentially in a single command (e.g.,
depmapx impact react react-dom zustand).
Under the Hood
- Upgraded
@babel/parserconfiguration to capture local file paths. - Enhanced the project scanner to build a dual-map of internal and external dependencies.
Installation:
npm install -g depmapx@latest
v1.1.3: The Architecture Engine
New Features
- Architecture Mapping: Added the
depmapx mapcommand to automatically generate anARCHITECTURE.mdfile using Mermaid.js. - AST Folder Aggregation: The engine now groups nested files by their parent directories to generate clean, readable dependency graphs for large-scale codebases.
- Babel TypeScript/JSX Support: Upgraded the internal parser to dynamically handle
.tsx,.ts, and subpath imports gracefully without crashing.
Fixes
- Resolved an aggressive caching issue by completely isolating the file-to-dependency mapping logic in the AST scanner.