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

READFILE 3-6x FASTER: NODE'S SMALL-FILE PATH COLLAPSES FOUR ROUND TRIPS INTO ONE

By RepoJournal · Filed · About Node.js

Node.js just made the most common filesystem call dramatically faster, and a second PR cuts cold require() times for large CommonJS trees.

fs.readFile() and fs.promises.readFile() of small files get 3 to 6x faster by doing open, fstat, read, and close in a single libuv thread pool task instead of four, freeing pool slots for concurrent DNS, fs, and crypto work [1]. The same author also cut cold require() of a 1000-module CommonJS tree by about 6% (and module-require tests up to 13.7%) by caching the nearest parent package.json per directory rather than per file [2]. Meanwhile, Matteo Collina's thirteenth round of pure-JS webstreams optimizations decouples transform backpressure changes; the PR is stacked on #65138, so reviewers should focus only on the last commit [3]. Over in undici, interceptor composition silently dropped onBodySent and onRequestSent callbacks because DecoratorHandler defined one as a no-op and omitted the other; the fix forwards both through RetryHandler, RedirectHandler, and CacheHandler [4]. Undici also now honours maxResponseSize on HTTP/2 clients, fixing a documented option that was validated but never enforced [5]. HTTP/2 timeout tests are stabilized by skipping a churn stress test on Linux Node.js 24 and 25 where an upstream issue can terminate the process prematurely [6]. In related housekeeping, doc-kit adds an opt-in reading time toggle to its documentation pages [7]. Overall: 16 commits and 15 PRs across 4 repos this period, with the fs and module wins being the ones to watch.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] fs: read small files in one thread pool round trip ↗ nodejs/node
  2. [2] module: cache nearest parent package.json per directory ↗ nodejs/node
  3. [3] stream: decouple transform backpressure changes ↗ nodejs/node
  4. [4] fix: forward onBodySent/onRequestSent through interceptor handlers ↗ nodejs/undici
  5. [5] fix(h2): honour maxResponseSize ↗ nodejs/undici
  6. [6] test: stabilize HTTP/2 timeout tests ↗ nodejs/undici
  7. [7] chore: opt-in reading time ↗ nodejs/doc-kit

Quick answers

What shipped in Node.js on August 20, 2026?
Node.js just made the most common filesystem call dramatically faster, and a second PR cuts cold require() times for large CommonJS trees. In total, 16 commits and 15 pull requests landed.
Who contributed to Node.js on August 20, 2026?
7 developers shipped this update, including mcollina, codebytere, Trivikram Kamat, Node.js GitHub Bot, adarshx01, ondraulehla, and avivkeller.
What were the notable Node.js updates?
fs: read small files in one thread pool round trip, module: cache nearest parent package.json per directory, and stream: decouple transform backpressure changes.

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?