shelljs breaking changes
shelljs 0.9.0 (March 8, 2025) is its newest release with breaking changes, 4 of them. The first: Drops support for Node.js v4 and v5 in shelljs 0.9.0. Every breaking API change we have recorded in shelljs on npm: 41 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 0.10.0, released May 9, 2025. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
shelljs 0.9.0 breaking changes
- Removed
The release stops supporting Node.js v4 and v5. Users on those versions must upgrade Node.js before using this release. github.com - Removed
The release drops support for older Node.js versions. Users on those versions must upgrade Node.js before using this release. github.com - Behavior changed
sed
Calling sed with the -i option now runs silently instead of printing output. Code that relies on that output must change. github.com - Signature changed
ShellConfig.globOptions
The config.globOptions setting is deprecated in this release. Stop setting it in code. npmjs.com
shelljs 0.8.0 breaking changes
- Removed
Support for Node.js v0.12 was dropped. Use a newer Node.js runtime. github.com - Behavior changed
On unexpected errors the package throws an error rather than terminating the Node process, so callers must handle the thrown error. github.com - Behavior changed
ls
ls follows symbolic links to directories by default, so code relying on the old listing behavior may see different output. github.com - Signature changed
cat
Was function cat(...files: Array<string | string[]>): ShellString; now const cat: CatFunction. npmjs.com - Signature changed
cd
Was function cd(dir: string): void; now function cd(dir?: string): ShellString. npmjs.com - Signature changed
chmod
Was function chmod(mode: string, file: string): void function chmod(octalMode: number, file: string): void function chmod(options: string, mode: string, file: string): void function chmod(options: string, octalMode: number, file: string)... npmjs.com - Signature changed
cp
Was function cp(options: string, source: string | string[], dest: string): void function cp(source: string | string[], dest: string): void; now const cp: CopyFunction. npmjs.com - Signature changed
dirs
Was function dirs(options: "+N"): ShellString function dirs(options: "-N"): ShellString function dirs(options: "-c"): ShellArray function dirs(options: string): any; now const dirs: DirsFunction. npmjs.com - Signature changed
echo
Was function echo(...text: string[]): ShellString; now const echo: EchoFunction. npmjs.com - Signature changed
env
Was const env: {[key: string]: string}; now const env: NodeJS.ProcessEnv. npmjs.com
And 27 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.