Releases: unjs/jiti
Releases · unjs/jiti
v2.6.1
v2.6.0
🌟 What is new?
This release fixes minor issues, migrates to Rspack for dist, and lazily imports the Babel transformer only when needed, which should noticeably improve startup times.
- Install size reduced from
2.03MBto1.67MB - Loading times improved
150ms=>22ms(full transform:180ms=>115ms)
🔥 Performance
- Lazy load transformer (#405)
🩹 Fixes
- cjs-interop: Handle function default exports (#396)
- Always use native require/import for
node:specifiers (#392)
📦 Build
✅ Tests
- Update deno and bun native test coverage (df844f8)
❤️ Contributors
- Pooya Parsa (@pi0)
- Volodymyr Kolesnykov (@sjinks)
- Jungwoo LEE (@jungwoo3490)
v2.5.1
v2.5.0
🚀 Enhancements
- Use
sha256for cache entries in FIPS mode (#375) - Support
rebuildFsCache(JITI_REBUILD_FS_CACHE) (#379)
🩹 Fixes
- Interop modules with null/undefined default export (#377)
- Handle
require(<json>)in register mode (#374)
📦 Dependencies
- Updated bundled dependencies (compare changes)
📖 Docs
- Add defaults in JSDocs (#365)
✅ Tests
- Only include src for coverage report (#372)
❤️ Contributors
- Kricsleo (@kricsleo) 🌟
- Pooya Parsa (@pi0)
- Kanon (@ysknsid25)
- Arya Emami (@aryaemami59)