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

# which breaking changes

which 7.0.0 (May 8, 2026) is its newest release with breaking changes. The first: Narrows the supported Node.js versions in which 7.0.0. Every breaking API change we have recorded in which on npm: 15 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.0.0`, released May 8, 2026. [Source repository](https://github.com/npm/node-which)

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

- From [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 1 breaking change in 1 version.
- From [3.0.0](#v-3-0-0) to [7.0.0](#v-7-0-0): 4 breaking changes in 4 versions.

## which 7.0.0 breaking changes

which 7.0.0, released May 8, 2026: 1 breaking change.

- **Configuration changed**  

The package now supports only Node.js ^22.22.2, ^24.15.0 and >=26.0.0. Users on other Node.js versions must upgrade their runtime before using this release. [github.com](https://github.com/npm/node-which/releases/tag/v7.0.0)

## which 6.0.0 breaking changes

which 6.0.0, released November 10, 2025: 1 breaking change.

- **Removed**  

The package no longer supports Node.js versions outside ^20.17.0 || >=22.9.0. Users on older Node.js must upgrade before installing this version. [github.com](https://github.com/npm/node-which/commit/cf1a1bc32652456b317c2fdbd957fe4c56f9bbca)

## which 5.0.0 breaking changes

which 5.0.0, released October 1, 2024: 1 breaking change.

- **Behavior changed**  

The package now supports only Node.js ^18.17.0 || >=20.5.0. Users on older Node.js versions must upgrade Node.js before using this release. [github.com](https://github.com/npm/node-which/releases/tag/v5.0.0)

## which 4.0.0 breaking changes

which 4.0.0, released August 29, 2023: 1 breaking change.

- **Removed**  

Node.js 14 is no longer supported, so users on Node 14 must upgrade their Node.js version before using this release. [github.com](https://github.com/npm/node-which/releases/tag/v4.0.0)

## which 3.0.0 breaking changes

which 3.0.0, released November 1, 2022: 11 breaking changes.

- **Removed** `AsyncOptions`  

AsyncOptions was removed in which 3.0.0 [npmjs.com](https://www.npmjs.com/package/which/v/3.0.0)
- **Removed** `callback`  

The async interface no longer accepts callbacks and now returns a Promise only. Update callers to use promises or await. [github.com](https://github.com/npm/node-which/releases/tag/v3.0.0)
- **Removed** `OptionsAll`  

OptionsAll was removed in which 3.0.0 [npmjs.com](https://www.npmjs.com/package/which/v/3.0.0)
- **Removed** `OptionsFirst`  

OptionsFirst was removed in which 3.0.0 [npmjs.com](https://www.npmjs.com/package/which/v/3.0.0)
- **Removed** `OptionsNoThrow`  

OptionsNoThrow was removed in which 3.0.0 [npmjs.com](https://www.npmjs.com/package/which/v/3.0.0)
- **Removed** `OptionsThrow`  

OptionsThrow was removed in which 3.0.0 [npmjs.com](https://www.npmjs.com/package/which/v/3.0.0)
- **Behavior changed**  

The package now targets Node.js ^14.17.0, ^16.13.0 or >=18.0.0. Older Node.js versions are no longer supported. [github.com](https://github.com/npm/node-which/releases/tag/v3.0.0)
- **Behavior changed** `cli`  

The command line tool now ignores any arguments that follow \`--\`. Scripts relying on those arguments must change. [github.com](https://github.com/npm/node-which/releases/tag/v3.0.0)
- **Signature changed** `default`  

Was function which(cmd: string, cb: (err: Error | null, path: string | undefined) => void): void function which(cmd: string, options: which.Options & which.AsyncOptions & which.OptionsAll): Promise\<string\[\]> function which(cmd: string... [npmjs.com](https://www.npmjs.com/package/which/v/3.0.0)
- **Signature changed** `Options`  

Was interface Options extends AsyncOptions; now interface Options. [npmjs.com](https://www.npmjs.com/package/which/v/3.0.0)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## 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.
