---
title: "cross-spawn 8.0.0 Breaking Changes on npm | Since.dev"
description: "What each cross-spawn release removed, renamed or changed: 15 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/cross-spawn
last_updated: 2026-12-04
---

# 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

Latest version `8.0.0`, released November 29, 2026. [Source repository](https://github.com/moxystudio/node-cross-spawn)

Its 8.0.0 release requires Node.js 22.13 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [7.1.1](#v-7-1-1) to [8.0.0](#v-8-0-0): 12 breaking changes in 1 version.
- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 13 breaking changes in 2 versions.

## cross-spawn 8.0.0 breaking changes

cross-spawn 8.0.0, released November 29, 2026: 12 breaking changes.

- **Removed** `_enoent`  

The private \_enoent export is gone and should no longer be used. [github.com](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **Removed** `_parse`  

The private \_parse export is gone and should no longer be used. [github.com](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **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](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **Removed** `default export`  

There is no default export anymore. Import the named exports spawn and spawnSync instead. [github.com](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **Renamed** `spawn.sync`  

Calls to spawn.sync() must become spawnSync(), imported as a named export. [github.com](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **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](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **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](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **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](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **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](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **Behavior changed**  

The package is now an ES module. CommonJS code can still require() it, but imports must use named exports. [github.com](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **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](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)
- **Behavior changed** `spawnSync`  

When there is no error, the error property is left unset instead of being set to null. [github.com](https://github.com/moxystudio/node-cross-spawn/releases/tag/v8.0.0)

## cross-spawn 7.1.1 breaking changes

cross-spawn 7.1.1, released November 28, 2026: 1 breaking change.

- **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](https://github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.1)

## cross-spawn 7.0.0 breaking changes

cross-spawn 7.0.0, released September 3, 2019: 2 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](https://github.com/moxystudio/node-cross-spawn/blob/v7.0.0/CHANGELOG.md)
- **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](https://github.com/moxystudio/node-cross-spawn/blob/v7.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
