Skip to content

Upgrading pathe 1 to 2

Review needed1.1.2 → 2.0.3New2Changed1Fixed9Other9

Review neededUpgrade verdict

1 behavior change.

  • Update node to 22 lts.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

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

  • removed: namespace default
  • changed: const basename: typeof path$1.basename → const basename: typeof path__default.basename
  • changed: const delimiter = ':' → const delimiter: ';' | ':'
  • changed: const dirname: typeof path$1.dirname → const dirname: typeof path__default.dirname
  • changed: const extname: typeof path$1.extname → const extname: typeof path__default.extname
  • changed: const format: typeof path$1.format → const format: typeof path__default.format
  • changed: const isAbsolute: typeof path$1.isAbsolute → const isAbsolute: typeof path__default.isAbsolute
  • changed: const join: typeof path$1.join → const join: typeof path__default.join
  • changed: const normalize: typeof path$1.normalize → const normalize: typeof path__default.normalize
  • changed: const parse: typeof path$1.parse → const parse: typeof path__default.parse
  • changed: const relative: typeof path$1.relative → const relative: typeof path__default.relative
  • changed: const resolve: typeof path$1.resolve → const resolve: typeof path__default.resolve
  • changed: const toNamespacedPath: typeof path$1.toNamespacedPath → const toNamespacedPath: typeof path__default.toNamespacedPath
  • added: const default: NodePath
  • added: const matchesGlob: (path: string, pattern: string | string[]) => boolean
  • added: const posix: NodePath['posix']
  • added: const win32: NodePath['win32']
  • changed: function filename(path: string): string → function filename(path: string): string | undefined
  • added: function reverseResolveAlias(path: string, aliases: Record<string, string>): string[]