Packages

jiti

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

Upgrading jiti From 0.1.9 to 2.7.0

90 releases in betweennotes for 50

Other targets from 0.1.9Newest 0.x0.1.20
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 0.1.9yours
  2. 11 releases
  3. 1.0.0major
  4. 60 releases
  5. 2.0.0major
  6. 16 releases
  7. 2.7.0target
1+
change to make
0
advisories fixed
60+
new
57+
fixes

Counted from 50 of 90 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Deprecated2.1.0

Release by release

  1. 2.7.0

    5 May 20265 new · 3 fixes
    • New

      Add explicit resource management (using/await using) support

    • New

      Support opt-in tsconfigPaths

    • New

      Support virtual modules

    • New

      Add jiti/static subpath

  2. 2.6.1

    1 Oct 20251 fix
    • Fixed

      interop: Only passthrough default if it is not a promise

  3. 2.6.0

    22 Sep 20253 new · 2 fixes
    • New

      Install size reduced from 2.03MB to 1.67MB

    • New

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

    • New

      Lazy load transformer

    • Fixed

      cjs-interop: Handle function default exports

    • Fixed

      Always use native require/import for node: specifiers

  4. 2.5.1

    24 Jul 20251 fix
    • Fixed

      interop: Passthrough module if it is a promise

  5. 2.5.0

    23 Jul 20252 new · 2 fixes
    • New

      Use sha256 for cache entries in FIPS mode

    • New

      Support rebuildFsCache ( JITI_REBUILD_FS_CACHE)

    • Fixed

      Interop modules with null/undefined default export

    • Fixed

      Handle require(<json>) in register mode

  6. 2.4.2

    17 Dec 20241 new · 1 fix
    • New

      cache: Add +map suffix to fs entries when sourceMaps enabled

    • Fixed

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

  7. 2.4.1

    29 Nov 20241 fix
    • Fixed

      Interop modules with primitive default export

  8. 2.4.0

    1 Nov 20241 new · 1 fix
    • New

      Support generic type for jiti.import<T>

    • Fixed

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

3 other lines we could not sort, mostly version bumps
  • Use local NodeModule type

    2.1.2
  • Update deps

    1.21.5
  • Format with prettier

    1.17.2

45 internal lines (docs, tests, tooling) left out.

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.