postImage in src/api.js:43 and resizeImage in src/util.js:50 are exported but never imported (knip). If resizeImage goes, browser-image-compression may go with it — src/util.js imports it at the top; check nothing else uses it.
cheerio is the last heavy dependency (parse5, undici, encoding-sniffer, and the one remaining whatwg-encoding install deprecation). sri.js uses it only to find <script src> tags in one HTML file and add integrity/crossorigin. A regex or small tokenizer over index.html would remove ~40 packages; it is a rewrite of the SRI plugin, not a swap.
- The Tailwind 4 compatibility block (
border-color: var(--color-gray-200, currentcolor)) that @tailwindcss/upgrade inserted in src/index.css can go once borders are audited.
Found during the Node 24 / dependency upgrade, 2026-09-06 (see chore/deps-prune branch)
postImageinsrc/api.js:43andresizeImageinsrc/util.js:50are exported but never imported (knip). IfresizeImagegoes,browser-image-compressionmay go with it —src/util.jsimports it at the top; check nothing else uses it.cheeriois the last heavy dependency (parse5, undici, encoding-sniffer, and the one remainingwhatwg-encodinginstall deprecation).sri.jsuses it only to find<script src>tags in one HTML file and addintegrity/crossorigin. A regex or small tokenizer overindex.htmlwould remove ~40 packages; it is a rewrite of the SRI plugin, not a swap.border-color: var(--color-gray-200, currentcolor)) that@tailwindcss/upgradeinserted insrc/index.csscan go once borders are audited.Found during the Node 24 / dependency upgrade, 2026-09-06 (see
chore/deps-prunebranch)