$ the-wire · showcase
Amaro drops transform mode for SWC Next, llhttp 9.5.0 adds the SSE4.2 fast path it never built
By RepoJournal · Filed · About Node.js · Composed from the cited sources · methodology
Amaro removed TypeScript transform mode entirely and moved type stripping onto SWC Next 0.9.1, while llhttp shipped v9.5.0 and a runtime dispatch that finally turns on SSE4.2 span scanners that have been dead code in every stock x86-64 binary.
feat!: use SWC Next for type stripping and remove transform mode nodejs/amaro
Amaro replaces swc_ts_fast_strip with the SWC Next crates pinned to 0.9.1 and keeps the fixed-width guarantee: every UTF-16 offset in the stripped output matches the input. The transformSync API and Node.js REPL helpers are unchanged, but mode: "transform", the amaro/transform loader, and the transformation-only options are gone, so any config or loader path that relied on them needs replacing.
Run the SSE4.2 span scanners on default x86-64 builds via runtime dispatch nodejs/llhttp
llparse has emitted SSE4.2 span scanners (_mm_cmpestri) for the header_value, header_value_relaxed and header_field_general states since 2019, but they sat behind #ifdef __SSE4_2__ while Node.js and the Debian, Ubuntu, Fedora and Alpine packages build with -O3 and no x64 -march. Every shipped x86-64 binary contained zero pcmpestri, and runtime dispatch puts those scanners to work on default bui...
v9.5.0 nodejs/llhttp
llhttp v9.5.0 allows tabs around Transfer-Encoding, adds HTTP_ALL_METHOD_COUNT for iterating method names, and adds a TIMEOUT_OCCURRED alias for the misspelled TIMEOUT_OCCURED. A separate fix preserves a recognized Connection: close directive when optional whitespace is followed by another token, adding close-specific parser states without touching malformed keep-alive or upgrade handling.
perf: skip the deprecated `module` parse when no declaration exists nodejs/amaro
With deprecatedTsModuleAsError on by default, the check re-parsed the entire input whenever it saw the word "module", and most real files hit that through module.exports, node:module or a comment. The second parse now runs only when a module word is followed by a possible declaration name and is erased in the stripped output, so the common case is parsed once.
ci: add stale bot workflow nodejs/undici
Undici added a daily stale workflow: items with no activity for 30 days get labeled stale and warned, and close 7 more days later if nothing happens. The reliability desk posted its report for 2026-12-03, llhttp updated its release instructions and changelog exclusions.
Action items
- → Remove mode: "transform" and amaro/transform loader usage before upgrading amaro nodejs/amaro [plan]