readdirp breaking changes
readdirp 5.0.0 (November 25, 2025) is its newest release with breaking changes, 2 of them. The first: Package is now ESM-only in readdirp 5.0.0. Every breaking API change we have recorded in readdirp on npm: 18 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.1.1, released August 6, 2026. Source repository
Its 5.0.0 release requires Node.js 20.19 or later. Node.js end of life dates.
readdirp 5.0.0 breaking changes
- Behavior changed
The package no longer ships CommonJS, so code that loads it with require() must switch to ESM import. github.com - Configuration changed
The package now requires Node.js v20.19 or later, so older Node.js versions are no longer supported. github.com
readdirp 4.0.0 breaking changes
- Removed
The minimum supported Node.js version is now v14, so Node.js v8 is no longer supported. github.com - Removed
Glob pattern support is gone, along with the dependencies it needed. Code that relies on glob matching must use another approach. github.com - Removed
promise
promise was removed in readdirp 4.0.0 npmjs.com - Behavior changed
readdirp
In CommonJS code, import the function with let {readdirp} = require('readdirp') instead of the previous form. github.com - Signature changed
default
Was function readdir(root: string, options?: readdir.ReaddirpOptions): readdir.ReaddirpStream namespace readdir; now const readdirp: (root: Path, options?: Partial<ReaddirpOptions>) => ReaddirpStream. npmjs.com - Signature changed
EntryInfo.dirent
Was dirent?: fs.Dirent; now dirent?: Dirent. npmjs.com - Signature changed
EntryInfo.stats
Was stats?: fs.Stats; now stats?: Stats. npmjs.com - Signature changed
ReaddirpOptions
Was interface ReaddirpOptions; now type ReaddirpOptions = ReturnType<typeof defaultOptions>. npmjs.com - Signature changed
ReaddirpOptions.alwaysStat
Was alwaysStat?: boolean; now alwaysStat: boolean. npmjs.com - Signature changed
ReaddirpOptions.depth
Was depth?: number; now depth: number. npmjs.com
And 6 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.