Skip to content

Releases: unjs/pathe

v2.0.0

03 Jan 23:47
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add matchesGlob(path, pattern) (#195)
  • Add reverseResolveAlias(path, aliases) (#173)

🩹 Fixes

  • basename: Ignore trailing seperator (#180)
  • utils/filename: Handle files beginning with a period or without ext (#185)
  • parse: ⚠️ Fix root handling to be consistent with node (#194)
  • join: ⚠️ Preserve normalized UNC paths (#196)
  • ⚠️ Set delimiter to ; in windows (#176)

📖 Documentation

  • Fix typo (#163)
  • Add jsdocs for pathe/utils (#170)
  • docs: Fix TS casing (#181)

📦 Build

  • Add type: module to package.json (#190)
  • Improve exports (#164)
  • Add posix and win32 exports to match node:path (#193)

✅ Tests

  • Add additional tests for extname (#186)

🤖 CI

❤️ Contributors

v1.1.2

10 Jan 18:46
@pi0 pi0
faa2b11
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Trim root folder / when calculating relative paths (#142)
  • Check process.cwd before calling it (#147)
  • Uppercase windows drive letters (#151)
  • resolveAlias: Handle aliases ending with trailing slash (#155)
  • relative: Handle different windows drive letters (#158)

❤️ Contributors