Contents
PR Summary
What problems was I solving
The heap-analysis-tools package exported two helper functions, extractStrings and countNodesByType, that had no consumers anywhere in the repository. These unused symbols added noise to the public API and created a maintenance burden, including the now-unneeded NODE_TYPES and NodeType imports in stream-parser.ts.
What user-facing changes did I ship
None. This is an internal cleanup of an unused package API with no consumer-visible behavior changes.
How I implemented it
I removed extractStrings and countNodesByType from stream-parser.ts along with their unused NODE_TYPES / NodeType imports, and dropped the corresponding re-exports from the package index.ts. I verified via repository-wide search that no callers, tests, or downstream modules referenced the deleted functions, and confirmed that NODE_TYPES / NodeType are still required by other modules (summary.ts, top-objects.ts, retainers.ts, types.ts).
Description for the changelog
Removed the dead extractStrings and countNodesByType utility helpers from @architect/heap-analysis-tools and their now-unused NODE_TYPES / NodeType import. These exports had no consumers in the CLI, services, or tests, so this change only shrinks the public API surface and removes unused code.