@jest/transform
30.5.2 · 18 Sep 2026MIT80.4M / weekRepositoryHomepagenpmAtom feed
25.5.1 is the newest release of 25.x.
In short
3 new5 faster8 fixed1 internal
Release note
Features
@jest/globals: New package so Jest's globals can be explicitly imported
jest-core: Show coverage of sources related to tests in changed files
jest-runtime: Populate
require.cache
Fixes
*: Use
graceful-fsdirectly in every package instead of relying onfsbeing monkey patchedexpect: Prints the Symbol name into the error message with a custom asymmetric matcher
jest-circus, jest-jasmine2: Support older version of
jest-runtime(#9903 & #9842)@jest/environment: Make sure not to reference Jest types
jest-message-util: Code frame printing should respect
--noStackTraceflagjest-runtime: Support importing CJS from ESM using
importstatementsjest-runtime: Support importing parallel dynamic
importsjest-transform: Improve source map handling when instrumenting transformed code
Performance
jest-resolve: Update
resolveto a version using nativerealpath, which is faster than the default JS implementationjest-resolve: Pass custom cached
realpathfunction toresolvejest-runtime: Add
teardownmethod to clear any caches when tests completejest-runtime: Do not pass files required internally through transformation when loading them
jest-runtime: Use
Maps instead of object literals as cache holders