Packages

jiti

2.7.0 · 5 May 2026MIT267.2M / weekRepositoryHomepagenpmAtom feed

Your version

2.3.0

5 Oct 2024Where it was published

2.7.0 is the newest release of 2.x.

In short

1 new2 fixed

Release note

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

  • Support jiti.import(id, {default: true})

Fixes

  • interopDefault: Avoid in operator for primitive inputs

  • interopDefault: Simplify logic for default export checks

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.