Skip to content

v2.1.0

Compare
Choose a tag to compare
@pi0 pi0 released this 30 Sep 14:27
· 38 commits to main since this release

compare changes

Important

To enhance compatibility, jiti >=2.1 enabled interopdefault using a new Proxy method. If you migrated to 2.0.0 earlier, this might have caused behavior changes. In case of any issues during the upgrade, please report so we can investigate to solve them. 🙏🏼

🚀 Enhancements

  • Enable interopDefault by default (#310)
  • Support import.meta.dirname and import.meta.filename (#308)

🔥 Performance

  • cli: Enable node 22 compile cache (%17 faster) (#312)

🩹 Fixes

  • Make TransformOptions type strict to allow auto-complete (#305)
  • Properly handle tsx (#311)

💅 Refactors

  • Deprecate commonjs api (#313)

📦 Build

  • Fix /register and /native subpath types for Node10 module resolution (#304)

❤️ Contributors