Upgrading pathe 0.2 to 0.3
Breaking0.2.0 → 0.3.9Breaking2New3Fixed10
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- import pathe from 'pathe should be changes to import * as pathe from 'pathe'.
- Implement rest of path minimally.
Must act 2 items need code or config changes
What you must change
Breaking2
import pathe from 'pathe should be changes to import * as pathe from 'pathe'.
Implement rest of path minimally.
pathAPI changes
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'