cross-spawn breaking changes
cross-spawn 8.0.0 (November 29, 2026) is its newest release with breaking changes, 12 of them. The first: Removed _enoent. Every breaking API change we have recorded in cross-spawn on npm: 15 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 8.0.0, released November 29, 2026. Source repository
Its 8.0.0 release requires Node.js 22.13 or later. Node.js end of life dates.
- From 7.1.1 to 8.0.0: 12 breaking changes in 1 version.
- From 7.0.0 to 8.0.0: 13 breaking changes in 2 versions.
cross-spawn 8.0.0 breaking changes
- Removed
_enoent
The private _enoent export is gone and should no longer be used. github.com - Removed
_parse
The private _parse export is gone and should no longer be used. github.com - Removed
cross-spawn.lib.parse
Only the package itself can be imported now. Deep imports of internal files such as lib/parse no longer work. github.com - Removed
default export
There is no default export anymore. Import the named exports spawn and spawnSync instead. github.com - Renamed
spawn.sync
Calls to spawn.sync() must become spawnSync(), imported as a named export. github.com - Behavior changed
On Windows, commands that cannot be run safely through cmd.exe now throw a TypeError with code ERR_INVALID_ARG_VALUE. github.com - Behavior changed
Batch files are run by their resolved path with echo off, so they see that path in %0 and no longer print the commands they run. github.com - Behavior changed
Node.js 8 to 22.12 are no longer supported by this release. Users on those versions must stay on cross-spawn 7. github.com - Behavior changed
Nonexistent commands are no longer run through cmd.exe, and exit code 1 is never reported as ENOENT. Shell built-ins need shell: true. github.com - Behavior changed
The package is now an ES module. CommonJS code can still require() it, but imports must use named exports. github.com - Behavior changed
spawn
On Windows, a command string with arguments such as 'npm install' now fails with ENOENT. Pass the arguments as a separate array. github.com - Behavior changed
spawnSync
When there is no error, the error property is left unset instead of being set to null. github.com
cross-spawn 7.1.1 breaking changes
- Behavior changed
spawn
On Windows, a command string that includes arguments, such as 'npm install', now fails with ENOENT. Pass the command name alone and put its arguments in args. github.com
cross-spawn 7.0.0 breaking changes
- Removed
Support for Node.js versions below 8 was removed. Users on those Node.js versions must upgrade Node.js before using this release. github.com - Behavior changed
The package no longer supports Node.js versions below 8. Users on older Node.js must stay on cross-spawn 6.x or upgrade Node.js. github.com
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.