●Change8

v30.0.1

πŸ“¦ jestView on GitHub β†’
✨ 1 featuresπŸ› 2 fixes⚑ 1 deprecationsπŸ”§ 3 symbols

Summary

This release adds the new `defaultAsyncResolver`, fixes builtin module resolution and globals cleanup handling, and deprecates the `jest-repl` package.

Migration Steps

  1. Uninstall the `jest-repl` package and remove any imports or usage in your codebase.
  2. If you relied on the custom `isBuiltinModule` helper, update imports to use Node's built‑in `isBuiltin` function.
  3. Verify that no code depends on the globals cleanup protection symbol; if it does, adjust the logic to work without it.

✨ New Features

  • Implemented `defaultAsyncResolver` in `jest-resolver`.

πŸ› Bug Fixes

  • Fixed resolution of builtin modules in `jest-resolver`.
  • Prevented setting the globals cleanup protection symbol when the feature is disabled in `jest-environment-node` and `jest-util`.

πŸ”§ Affected Symbols

defaultAsyncResolverisBuiltinModulejest-repl

⚑ Deprecations

  • The `jest-repl` package has been removed and deprecated. Projects should uninstall it and migrate any REPL usage to alternative solutions.