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

UNDICI PATCHES FAKE TIMER BYPASS BREAKING TEST ISOLATION

By RepoJournal · Filed · About Node.js

Undici restored socket validation to respect global timers instead of sneaking around fake timer mocks, fixing a footgun that silently broke test suites relying on clock control.

The fix [1] restores idle socket validation to use standard Node timer APIs, reversing a bypass that let validation run even when tests faked timers. This matters because cache interceptor tests were forced to fake the entire Date object just to control one clock behavior, and the workaround left poisoned sockets undetected in isolation. Node-gyp tightened its release machinery in parallel: commit-lint now gates changelog generation [2], LTO is disabled for Windows addon builds to prevent linker issues [3], and the CI pipeline updated to immutable GitHub action versions [4]. These changes ensure native modules build reproducibly across platforms without surprises in release automation.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] fix: keep idle validation on global timers ↗ nodejs/undici
  2. [2] chore: add commit-lint ↗ nodejs/node-gyp
  3. [3] fix: disable LTO for addon builds on Windows ↗ nodejs/node-gyp
  4. [4] fix(ci): update ruff-action version to v4.0.0 (#3324) nodejs/node-gyp

Quick answers

What shipped in Node.js on June 11, 2026?
Undici restored socket validation to respect global timers instead of sneaking around fake timer mocks, fixing a footgun that silently broke test suites relying on clock control. In total, 5 commits and 4 pull requests landed.
Who contributed to Node.js on June 11, 2026?
3 developers shipped this update, including mcollina, legendecas, and owlstronaut.
What were the notable Node.js updates?
fix: keep idle validation on global timers, chore: add commit-lint, and fix: disable LTO for addon builds on Windows.

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?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.