Contents
PR Summary
What problems was I solving
The @architect/heap-analysis-tools package exported extractStrings and countNodesByType from stream-parser.ts and re-exported them via index.ts, but neither function was called anywhere in the monorepo. Keeping them added unnecessary API surface and maintenance burden.
What user-facing changes did I ship
None. The removed functions were library internals with no callers, and the package's actively used public API is unchanged.
How I implemented it
Deleted the two unused wrapper functions from stream-parser.ts and removed their now-unused NODE_TYPES and NodeType imports. Also dropped the re-exports of both functions from index.ts. The underlying streamParseHeapSnapshot helper and the higher-level summary/diff/retainers APIs remain unchanged.
Description for the changelog
Removed two unused exported utilities, extractStrings and countNodesByType, from @architect/heap-analysis-tools. These functions had no call sites in the monorepo and were simple wrappers around streamParseHeapSnapshot. The public API now exposes only the actively used streaming parser and higher-level analysis helpers.