Vigia

Upgrading pathe from 1.x to 2.x

Comparison of the public API of pathe 1.1.2 and 2.0.3, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports0
Changed signatures3
Removed class or interface members0
Changed class or interface members0
Newly deprecated0
Requirement changes (engines, peer dependencies)0
New exports4

Removed exports

None detected.

Changed signatures

exportBeforeAfter
pathe · defaultnamespaceany
pathe · delimiter":"";" | ":"
pathe/utils · filename(path: string): string(path: string): string | undefined

Removed class or interface members

None detected.

Changed class or interface members

None detected.

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

None detected.

New exports (4)
importexportkind
patheposixvariable
pathewin32variable
pathematchesGlobvariable
pathe/utilsreverseResolveAliasfunction

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading pathe from 1 to 2?

Between pathe 1.1.2 and 2.0.3, Vigia found 0 removed exports, 3 changed signatures and 0 removed or changed class or interface members.

What became deprecated in pathe 2?

0 exports or members are newly marked as deprecated in pathe 2.0.3.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/pathe/upgrade?from=1.1.2&to=2.0.3