You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TextEncoder.encodeInto('') returns the previous call's { read, written } #2173
TextEncoder.prototype.encodeInto('') returns the result of the previous encodeInto call, from any encoder instance, instead of { read: 0, written: 0 }. Nothing is written to the destination, but callers that trust written read stale bytes.
We hit it through Yuku's WebAssembly parser (@yuku-core/wasm), which TanStack Router/Start is moving to: parsing an empty string parses leftover bytes, so Start server functions fail in WebContainers.
Activity
github-actions commentedon Oct 10, 2026
We noticed that you did not provide a StackBlitz or Bolt reproduction link. Please update the issue and add a link to a public project.
Sheraff commentedon Oct 10, 2026
Added a dedicated public repro: https://stackblitz.com/github/Sheraff/webcontainer-encodeinto-repro prints
BUGon start.fix(router-utils): never hand an empty source to Yuku