Releases: unjs/mlly
Releases · unjs/mlly
v1.7.3
🩹 Fixes
- findExportNames: Do not require space before named exports (#285)
❤️ Contributors
- Daniel Roe (@danielroe)
v1.7.2
🩹 Fixes
- resolver: Avoid double slashes when joining id with
/index
(#278)
❤️ Contributors
- Jan-Henrik Damaschke jdamaschke@outlook.de
v1.7.1
v1.7.0
🚀 Enhancements
- isValidNodeImport: Support
stripComments
option (#236)
🩹 Fixes
- findExports: Find declaration export with inline object or array (#247)
💅 Refactors
- interopDefault: Simplify implementation (#243)
📖 Documentation
- Added jsdocs to exported functions and types (#241)
🏡 Chore
- Update to eslint v9 (3c64544)
❤️ Contributors
- Pooya Parsa (@pi0)
- ShunJun zsj_hz@126.com
- Max (@onmax)
- Sukka isukkaw@gmail.com
- Julien Huang julien.huang@outlook.fr
v1.6.1
v1.6.0
🚀 Enhancements
🔥 Performance
- resolver: Stat absolute paths once in fast path (#229)
- resolver: Remove intermediate
pcall
util (#230) - resolve: Enable fast path for file urls (#231)
🩹 Fixes
- resolver: Strictly check input (778bd73)
💅 Refactors
✅ Tests
- resolver: Add test for node bultins (58407dd)
- fileURLToPath, pathToFileURL: Add windows specific tests (bfa2bbe)
❤️ Contributors
- Pooya Parsa (@pi0)
- Tamago
v1.5.0
🚀 Enhancements
- Strip comment for syntax detection with
stripComments
option (#196) (#217) - findExports: Extract name of default exports (#179)
- interopDefault: Support
preferNamespace
(5d23c98)
🩹 Fixes
- analyze: Ignore comments for imports detection (#155)
- lookupNodeModuleSubpath: Handle conditions and nested exports (#210)
- analyze: Allow
import
statement after}
(#166) - interopDefault: Skip nullish values for
default
and explicitly return non-objects as-is (14eb72d) - findExports: Support multiple variables in single export (#211)
🌊 Types
- fileURLToPath: Accept url as input (34f6026)
✅ Tests
❤️ Contributors
- Pooya Parsa (@pi0)
- Mehmet hi@productdevbook.com
- Máté Nagy (@mateenagy)
- Lishaobos
- Julien Huang (@huang-julien)
v1.4.2
v1.4.1
v1.4.0
🚀 Enhancements
findTypeImports
for finding type imports (#163)- Add
parseNodeModulePath
andlookupNodeModuleSubpath
utils (#89)
🩹 Fixes
- Fix
resolvePath
return type (#172) - findStaticImports: Support special chars in import specifiers (#169)
✅ Tests
- Add edge case test for
findStaticImports
(f0b120b)
❤️ Contributors
- Pooya Parsa (@pi0)
- Daniel Roe daniel@roe.dev
- Lsh
- Aaron Bassett arbassett4@outlook.com