---
title: "jiti 2.0.0 Breaking Changes on npm | Since.dev"
description: "What each jiti release removed, renamed or changed: 12 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/jiti
last_updated: 2026-12-04
---

# jiti breaking changes

jiti 2.0.0 (September 25, 2024) is its newest release with breaking changes, 10 of them. The first: Removed JITI. Every breaking API change we have recorded in jiti on npm: 12 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.7.0`, released May 5, 2026. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.0-beta.3](#v-2-0-0-beta-3) to [2.0.0](#v-2-0-0): 11 breaking changes in 2 versions.

## jiti 2.0.0 breaking changes

jiti 2.0.0, released September 25, 2024: 10 breaking changes.

- **Removed** `JITI`  

JITI was removed in jiti 2.0.0 [npmjs.com](https://www.npmjs.com/package/jiti/v/2.0.0)
- **Removed** `JITIOptions`  

JITIOptions was removed in jiti 2.0.0 [npmjs.com](https://www.npmjs.com/package/jiti/v/2.0.0)
- **Removed** `TransformOptions.legacy`  

TransformOptions.legacy was removed in jiti 2.0.0 [npmjs.com](https://www.npmjs.com/package/jiti/v/2.0.0)
- **Renamed** `jiti.resolve`  

Use jiti.esmResolve(id) in place of jiti.resolve(id) to resolve modules. [github.com](https://github.com/unjs/jiti/releases/tag/v2.0.0)
- **Behavior changed**  

Caches are stored in node_modules/.cache/jiti instead of the temp directory when node_modules exists. [github.com](https://github.com/unjs/jiti/releases/tag/v2.0.0)
- **Behavior changed** `jiti.esmResolve`  

jiti.esmResolve resolves modules the same way as import.meta.resolve, which may change resolved paths. [github.com](https://github.com/unjs/jiti/releases/tag/v2.0.0)
- **Signature changed** `default`  

Was function createJITI(\_filename: string, opts?: JITIOptions, parentModule?: Module, parentCache?: ModuleCache): JITI; now function createJiti(id: string, userOptions?: JitiOptions): Jiti. [npmjs.com](https://www.npmjs.com/package/jiti/v/2.0.0)
- **Signature changed** `EvalModuleOptions`  

Was type EvalModuleOptions = Partial<{id: string; filename: string; ext: string; cache: ModuleCache;}>; now type EvalModuleOptions = Partial<{id: string; filename: string; ext: string; cache: ModuleCache; async: boolean;}>. [npmjs.com](https://www.npmjs.com/package/jiti/v/2.0.0)
- **Signature changed** `jiti`  

Module imports now use the async jiti.import(id) method instead of calling jiti(id) directly. [github.com](https://github.com/unjs/jiti/releases/tag/v2.0.0)
- **Signature changed** `TransformOptions`  

Was type TransformOptions = {source: string; filename?: string; ts?: boolean; retainLines?: boolean; legacy?: boolean; \[key: string\]: any;}; now interface TransformOptions. [npmjs.com](https://www.npmjs.com/package/jiti/v/2.0.0)

## jiti 2.0.0-rc.1 breaking changes

jiti 2.0.0-rc.1, released September 25, 2024: 1 breaking change.

- **Renamed** `experimentalBun`  

Use the tryNative option in place of experimentalBun. [github.com](https://github.com/unjs/jiti/releases/tag/v2.0.0-rc.1)

## jiti 2.0.0-beta.3 breaking changes

jiti 2.0.0-beta.3, released September 25, 2024: 1 breaking change.

- **Renamed** `importResolve`  

Use esmResolve in place of importResolve. [github.com](https://github.com/unjs/jiti/releases/tag/v2.0.0-beta.3)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
