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

# pathe breaking changes

pathe 2.0.0 (January 3, 2025) is its newest release with breaking changes, 19 of them. The first: Removed default.basename. Every breaking API change we have recorded in pathe on npm: 22 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

Latest version `2.0.3`, released February 11, 2025. [Source repository](https://github.com/unjs/pathe)

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

- From [0.3.0](#v-0-3-0) to [2.0.0](#v-2-0-0): 19 breaking changes in 1 version.

## pathe 2.0.0 breaking changes

pathe 2.0.0, released January 3, 2025: 19 breaking changes.

- **Removed** `default.basename`  

basename was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.delimiter`  

delimiter was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.dirname`  

dirname was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.extname`  

extname was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.format`  

format was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.isAbsolute`  

isAbsolute was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.join`  

join was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.normalize`  

normalize was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.normalizeString`  

normalizeString was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.parse`  

parse was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.relative`  

relative was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.resolve`  

resolve was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.sep`  

sep was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Removed** `default.toNamespacedPath`  

toNamespacedPath was removed in pathe 2.0.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Behavior changed** `delimiter`  

The delimiter export is set to ; on Windows, so code that expected a different value on Windows will see a change. [github.com](https://github.com/unjs/pathe/releases/tag/v2.0.0)
- **Behavior changed** `join`  

join keeps normalized UNC paths instead of altering them, so code depending on the earlier output for UNC paths may behave differently. [github.com](https://github.com/unjs/pathe/releases/tag/v2.0.0)
- **Behavior changed** `parse`  

parse now handles root paths the same way Node.js does, so code relying on the previous root output may get different results. [github.com](https://github.com/unjs/pathe/releases/tag/v2.0.0)
- **Signature changed** `default`  

Was namespace path; now const \_default: typeof path. [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)
- **Signature changed** `delimiter`  

Was const delimiter; now const delimiter: string. [npmjs.com](https://www.npmjs.com/package/pathe/v/2.0.0)

## pathe 0.3.0 breaking changes

pathe 0.3.0, released May 5, 2022: 3 breaking changes.

- **Removed** `default`  

default was removed in pathe 0.3.0 [npmjs.com](https://www.npmjs.com/package/pathe/v/0.3.0)
- **Removed** `pathe`  

The default export was removed so the package now has only named exports. Change \`import pathe from 'pathe'\` to \`import \* as pathe from 'pathe'\`. [github.com](https://github.com/unjs/pathe/commit/89e35adbdc6921b362cad6b67bbff30fb58ce73e)
- **Behavior changed**  

The release marked the implementation of the rest of the path API as breaking, without stating what changed. Check existing path calls after upgrading. [github.com](https://github.com/unjs/pathe/commit/6136b3ca9c1c26ec2a0002b24f08f8dcf28a78af)

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