Releases: unjs/pathe
Releases · unjs/pathe
v2.0.0
🚀 Enhancements
🩹 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) ⚠️ Setdelimiter
to;
in windows (#176)
📖 Documentation
📦 Build
- Add
type: module
topackage.json
(#190) - Improve exports (#164)
- Add
posix
andwin32
exports to matchnode:path
(#193)
✅ Tests
- Add additional tests for
extname
(#186)
🤖 CI
- Update node to 22 lts (bce11a5)
❤️ Contributors
- Pooya Parsa (@pi0)
- Jesse Bakels (@Jesse1989pp)
- Danilo Campana Fuchs (@danilofuchs)
- Krzysztof (@malezjaa)
- Mateusz Kadlubowski (@xeho91)
- Joaquín Sánchez (@userquin)
- Connor Pearson (@cjpearson)
- Sukka (@SukkaW)
- Max (@onmax)
- @iiio2
- Homa Wong (@unional)
- Ikko Eltociear Ashimine (@eltociear)
v1.1.2
🩹 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
- Pooya Parsa (@pi0)
- Julien Huang (@huang-julien)
- Daniel Roe [email protected]
- Kræn Hansen (@kraenhansen)
- Lsh