---
title: "path-scurry 4.0.0 Breaking Changes on npm | Since.dev"
description: "What each path-scurry release removed, renamed or changed: 38 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/path-scurry
last_updated: 2026-12-04
---

# path-scurry breaking changes

path-scurry 4.0.0 (November 29, 2026) is its newest release with breaking changes, 38 of them. The first: Removed PathBase.childrenCache. Every breaking API change we have recorded in path-scurry on npm: 38 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.1.0`, released November 29, 2026. [Source repository](https://github.com/isaacs/path-scurry)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## path-scurry 4.0.0 breaking changes

path-scurry 4.0.0, released November 29, 2026: 38 breaking changes.

- **Removed** `PathBase.childrenCache`  

PathBase.childrenCache was removed in path-scurry 4.0.0 [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Removed** `PathOpts.fs`  

PathOpts.fs was removed in path-scurry 4.0.0 [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Removed** `PathOpts.fullpath`  

PathOpts.fullpath was removed in path-scurry 4.0.0 [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Removed** `PathOpts.parent`  

PathOpts.parent was removed in path-scurry 4.0.0 [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Removed** `PathPosix.constructor`  

new PathPosix() was removed in path-scurry 4.0.0 [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Removed** `PathScurryBase.stream`  

stream() was removed along with the minipass dependency. Use iterate() to walk entries instead. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Removed** `PathScurryBase.streamSync`  

streamSync() was removed along with the minipass dependency. Use iterateSync() to walk entries instead. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Removed** `PathWin32.constructor`  

new PathWin32() was removed in path-scurry 4.0.0 [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Removed** `ResolveCache`  

ResolveCache was removed in path-scurry 4.0.0 [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Behavior changed** `iterateSync`  

iterateSync() returns a plain iterator object rather than a generator, so code relying on generator methods may need changes. [github.com](https://github.com/isaacs/path-scurry/commit/3fa85c04b5293e88f7d51315ff064523632ef554)
- **Configuration changed**  

The release stops supporting Node.js 18. Users on Node 18 must upgrade their Node.js runtime before using this version. [github.com](https://github.com/isaacs/path-scurry/releases/tag/v4.0.0)
- **Signature changed** `Children`  

Was type Children = PathBase\[\] & {provisional: number;}; now type Children = PathBase\[\] & {provisional: number; index?: Map\<string, PathBase>;}. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `ChildrenCache`  

Was class ChildrenCache extends LRUCache\<PathBase, Children>; now class ChildrenCache. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `ChildrenCache.constructor`  

Was constructor(maxSize?: number); now constructor(max?: number). [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathBase.constructor`  

Was constructor(name: string, type: number | undefined, root: PathBase | undefined, roots: {\[k: string\]: PathBase;}, nocase: boolean, children: ChildrenCache, opts: PathOpts); now constructor(name: string, type: number, from: PathBase |... [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathBase.newChild`  

Was abstract newChild(name: string, type?: number, opts?: PathOpts): PathBase; now abstract newChild(name: string, type?: number, fullpath?: string): PathBase. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathBase.nocase`  

Was nocase: boolean; now readonly nocase: boolean. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathBase.root`  

Was root: PathBase; now readonly root: PathBase. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathBase.roots`  

Was roots: {\[k: string\]: PathBase;}; now readonly roots: {\[k: string\]: PathBase;}. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathBase.sep`  

Was abstract sep: string; now readonly abstract sep: string. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathBase.shouldWalk`  

Was shouldWalk(dirs: Set\<PathBase | undefined>, walkFilter?: (e: PathBase) => boolean): boolean; now shouldWalk(dirs?: Set\<PathBase | undefined>, walkFilter?: (e: PathBase) => boolean): boolean. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathBase.splitSep`  

Was abstract splitSep: string | RegExp; now readonly abstract splitSep: string | RegExp. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathPosix.newChild`  

Was newChild(name: string, type?: number, opts?: PathOpts): PathPosix; now newChild(name: string, type?: number, fullpath?: string): PathPosix. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathPosix.sep`  

Was sep: "/"; now readonly sep: '/'. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathPosix.splitSep`  

Was splitSep: "/"; now readonly splitSep: '/'. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryBase.[Symbol.asyncIterator]`  

Was \[Symbol.asyncIterator\](): AsyncGenerator\<PathBase, void, void>; now \[Symbol.asyncIterator\](): AsyncIterableIterator\<PathBase>. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryBase.[Symbol.iterator]`  

Was \[Symbol.iterator\](): Generator\<PathBase, void, void>; now \[Symbol.iterator\](): IterableIterator\<PathBase>. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryBase.iterate`  

Was iterate(): AsyncGenerator\<PathBase, void, void> iterate(entry: string | PathBase): AsyncGenerator\<PathBase, void, void> iterate(entry: string | PathBase, opts: WalkOptions): AsyncGenerator\<PathBase | string, void, void> iterate(entry... [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryBase.iterateSync`  

Was iterateSync(): Generator\<PathBase, void, void> iterateSync(entry: string | PathBase): Generator\<PathBase, void, void> iterateSync(entry: string | PathBase, opts: WalkOptions): Generator\<PathBase | string, void, void> iterateSync(entry... [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryDarwin.[Symbol.asyncIterator]`  

Was \[Symbol.asyncIterator\](): AsyncGenerator\<PathBase, void, void>; now \[Symbol.asyncIterator\](): AsyncIterableIterator\<PathBase>. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryDarwin.[Symbol.iterator]`  

Was \[Symbol.iterator\](): Generator\<PathBase, void, void>; now \[Symbol.iterator\](): IterableIterator\<PathBase>. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryPosix.[Symbol.asyncIterator]`  

Was \[Symbol.asyncIterator\](): AsyncGenerator\<PathBase, void, void>; now \[Symbol.asyncIterator\](): AsyncIterableIterator\<PathBase>. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryPosix.[Symbol.iterator]`  

Was \[Symbol.iterator\](): Generator\<PathBase, void, void>; now \[Symbol.iterator\](): IterableIterator\<PathBase>. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryWin32.[Symbol.asyncIterator]`  

Was \[Symbol.asyncIterator\](): AsyncGenerator\<PathBase, void, void>; now \[Symbol.asyncIterator\](): AsyncIterableIterator\<PathBase>. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathScurryWin32.[Symbol.iterator]`  

Was \[Symbol.iterator\](): Generator\<PathBase, void, void>; now \[Symbol.iterator\](): IterableIterator\<PathBase>. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathWin32.newChild`  

Was newChild(name: string, type?: number, opts?: PathOpts): PathWin32; now newChild(name: string, type?: number, fullpath?: string): PathWin32. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathWin32.sep`  

Was sep: "\\\\"; now readonly sep: '\\\\'. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)
- **Signature changed** `PathWin32.splitSep`  

Was splitSep: RegExp; now readonly splitSep: RegExp. [npmjs.com](https://www.npmjs.com/package/path-scurry/v/4.0.0)

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