refactor: delete dead exports, unify sha256/xml/whitespace helpers

↗ view on GitHub · Eli Ziff · 2026-07-27 · 90e77d2d

Un-export 23 module-internal symbols, delete 5 fully dead ones
(including the fast-diff dependency, imported solely to be re-exported
'for future work'), and collapse five local sha256 definitions, three
XML entity decoders, and two whitespace normalizers into lib/hash.ts
and lib/text.ts. officeText's decoder decoded & first, which
double-decoded entities; the shared decoder fixes that.

tsc clean; 639 backend tests pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUsMXzBsEJ27DjJVPSfW5o
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents b1259b5b
Stats 28 files changed , +74 , -179
Part of Frontend UI compaction / simplification pass

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-90e77d2d.md from inside the repo you want the change in.

⬇ Download capture-commit-90e77d2d.md