Skip to content

Upgrading pathe 0.2 to 0.3

Breaking0.2.0 → 0.3.9Breaking2New3Fixed10

BreakingUpgrade verdict

2 breaking changes.

  • import pathe from 'pathe should be changes to import * as pathe from 'pathe'.
  • Implement rest of path minimally.
2 items need code or config changes
Breaking2
import pathe from 'pathe should be changes to import * as pathe from 'pathe'.
Implement rest of path minimally.
path

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: const default: Omit<path.PlatformPath, 'win32' | 'posix'>
  • added: function filename(path: string): string
  • added: function normalizeAliases(_aliases: Record<string, string>): Record<string, string>
  • added: function resolveAlias(path: string, aliases: Record<string, string>): string
  • added: export * from './dist/utils'