Skip to content

Releases: advikdivekar/depmapx

v1.2.0: The Blast Radius Engine

Choose a tag to compare

@advikdivekar advikdivekar released this 19 Mar 09:59

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: depmapx now 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/parser configuration 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

Choose a tag to compare

@advikdivekar advikdivekar released this 18 Mar 05:45

New Features

  • Architecture Mapping: Added the depmapx map command to automatically generate an ARCHITECTURE.md file 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.