Packages

jiti

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

Your version

101 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x · latest line
  2. 2.7.0

    5 May 2026
    • Add explicit resource management (using/await using) support

    • Support opt-in tsconfigPaths

    • Support virtual modules

  3. 2.6.1

    1 Oct 2025
    • interop: Only passthrough default if it is not a promise

  4. 2.6.0

    22 Sep 2025
    • Install size reduced from 2.03MB to 1.67MB

    • Loading times improved 150ms => 22ms (full transform: 180ms => 115ms)

    • Lazy load transformer

  5. 2.5.1

    24 Jul 2025
    • interop: Passthrough module if it is a promise

  6. 2.5.0

    23 Jul 2025

    Summary· from the note as AI read it

    Nothing to change: 2 new, 2 fixed.

  7. 2.4.2

    17 Dec 2024
    • cache: Add +map suffix to fs entries when sourceMaps enabled

    • Use native require cache of loaded entries only for Node.js 22.12.+ compatibility

  8. 2.4.1

    29 Nov 2024
    • Interop modules with primitive default export

  9. 2.4.0

    1 Nov 2024
    • Support generic type for jiti.import<T>

    • Try to resolve .ts files with .js extension from js files

  10. 2.3.3

    7 Oct 2024
    • eval: Return fallback value

  11. 2.3.2

    7 Oct 2024
    • eval: Fallback in async mode

  12. 2.3.1

    5 Oct 2024
    • Conditional access to mod.default

  13. 2.3.0

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

    • interopDefault: Avoid in operator for primitive inputs

    • interopDefault: Simplify logic for default export checks

  14. 2.2.1

    4 Oct 2024
    • Bump cache version

  15. 2.2.0

    4 Oct 2024
    • Use smarter proxy for interopDefault

  16. 2.1.2

    3 Oct 2024
    • Use local NodeModule type

  17. 2.1.1

    3 Oct 2024
    • types: Add standalone types for node require

  18. 2.1.0

    1 Oct 2024
    • Deprecated

      Deprecate commonjs api

    • Enable interopDefault by default

    • Support import.meta.dirname and import.meta.filename

  19. 2.0.0

    25 Sep 2024

    Summary· from the note as AI read it

    Read before upgrading: 7 changes to make.

  20. 1.x
  21. 1.21.7

    17 Dec 2024
    • Use native require cache of loaded entries only Node.js 22.12.+ compatibility

  22. 1.21.6

    10 Jun 2024
    • Use internal cached modules only if loaded

  23. 1.21.5

    10 Jun 2024
    • Revert #245

    • Avoid node: protocol for node 14 compatibility

    • Update deps

  24. 1.21.4

    10 Jun 2024
  25. 1.21.3

    5 Jun 2024
  26. 1.21.2

    5 Jun 2024
    • Rollback mlly dependency to 1.4.2 (hotfix for #237)

  27. 1.21.1

    5 Jun 2024

    🌷 This release updates bundled non-major dependencies (compare changes)

  28. 1.21.0

    30 Oct 2023
    • Add jiti.import function for async import

    • Add forward compatible (stub) types for jiti.import

  29. 1.20.0

    7 Sep 2023
    • Experimental native Bun support

  30. 1.19.3

    18 Aug 2023
    • Only replace import.meta.env

  31. 1.19.2

    18 Aug 2023
    • Pass custom extensions to esm resolver

    • Support import.meta.env and import.meta.env?.prop

  32. 1.19.1

    4 Jul 2023
  33. 1.19.0

    4 Jul 2023
    • Expose jiti.evalModule

    • Handle nested circular dependencies

    • types: Export JITIOptions and TreansformOptions

  34. 1.18.2

    15 Mar 2023
    • Allow resolving .ts files with .js extension

    • Support import.meta.env

    • Use extension resolutions only for parent typescript files

  35. 1.18.0 – 1.18.12 releases without a noteShow each
  36. 1.17.2

    6 Mar 2023
    • Add support to emit decorator metadata

    • Use inline require cache to avoid circular dependencies

    • Workaround for pnpm and TMPDIR

  37. 1.17.1

    17 Feb 2023
    • Prefer require condition first in esm resolve mode

  38. 1.17.0

    8 Feb 2023
    • Add support for .mts

    • Support import assertions and .json imports with .default property

  39. 1.16.1 – 1.16.22 releases without a noteShow each
  40. 1.16.0

    19 Sep 2022
    • Support export namespace from syntax (resolves #84)

    • deps: update pathe

  41. 1.15.0

    6 Sep 2022

    Summary· from the note as AI read it

    Nothing to change: 2 new, 2 fixed.

  42. 1.14.0

    20 Jun 2022
    • Detect native esm using type: module

    • Use inlined import meta plugin to inject url

  43. 1.13.0

    18 Feb 2022
    • Support inline sourceMaps for easier debugging

    • Use backslash to make import maps working in windows

  44. 1.12.9 – 1.12.157 releases without a noteShow each

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.