RepoJournal
Node.js

@nodejs

The Node.js runtime - every backend team's CVE source of truth

Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

NODE FIXES STREAM DUPLICATE WRITES, ABORT HANDLING, AND DEBUGGER FAILURES

By RepoJournal · Filed · About Node.js

Three critical stream adapter bugs landed overnight that fix silent data duplication, lost abort reasons, and hanging debug sessions.

The streams team shipped three fixes that address long-standing edge cases in the core adapter layer. First, `toWritable()` now correctly distinguishes between backpressure (where `false` means the chunk was accepted and the stream needs to pause) and rejection (where `false` means the chunk was refused) [1]. Previously it would retry the same data through the async writer, causing silent duplicates. Second, `broadcast({ signal })` and `share()` now propagate the abort reason to waiting consumers instead of completing cleanly [2], fixing a spec compliance gap in the Iterable Streams draft. Third, the debugger's probe mode now surfaces inspector failures instead of silently truncating reports when the target process hangs or severs the connection [4]. These aren't new features, they're the fixes that should have shipped with the initial implementations. npm also landed 11.15.0 [3] with dependency updates across the ecosystem. The Writable.toWeb() adapter picked up a race condition fix for synchronous drain events [5], particularly important if you run with highWaterMark set to 0.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] stream: avoid duplicate writes in toWritable ↗ nodejs/node
  2. [2] stream: propagate abort reason in share and broadcast ↗ nodejs/node
  3. [3] deps: upgrade npm to 11.15.0 ↗ nodejs/node
  4. [4] debugger: surface inspector failures in probe mode ↗ nodejs/node
  5. [5] stream: fix Writable.toWeb() hang on synchronous drain nodejs/node

Quick answers

What shipped in Node.js on May 23, 2026?
Three critical stream adapter bugs landed overnight that fix silent data duplication, lost abort reasons, and hanging debug sessions. In total, 12 commits and 11 pull requests landed.
Who contributed to Node.js on May 23, 2026?
3 developers shipped this update, including trivikr, npm-cli-bot, and joyeecheung.
What were the notable Node.js updates?
stream: avoid duplicate writes in toWritable, stream: propagate abort reason in share and broadcast, and deps: upgrade npm to 11.15.0.

More from @nodejs

Daily updates, in your inbox

Follow Node.js

Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?