unstale

npm / jest-util

jest-util

What changed in jest-util 30, from its official release notes, upgrade guides and advisories. Also covers @jest/environment, @jest/fake-timers, @jest/globals, @jest/reporters, @jest/test-result, @jest/types, babel-jest, expect, jest-diff, jest-environment-jsdom, jest-environment-node, jest-matcher-utils, jest-message-util, jest-mock, jest-resolve, jest-snapshot, jest-worker, pretty-format. Sources checked 2026-10-23.

1 deprecations1 new APIs and options1 performance7 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.3 on npm

jest-util 3010 changes

Deprecations 1

  • The JEST-01 deprecation warning now names this option and links to its documentation, which describes the option's modes.

    30.5.1release notes

New APIs and options 1

Performance 1

  • Global variables are cleaned up on environment teardown to reduce memory leaks.

    30.0.0release notes

Fixes and other changes 7

  • Only warn about a conflicting globalsCleanup mode when one was explicitly configured, and follow the mode actually in effect.

    30.5.0release notes

  • Matchers no longer reuse cached results compiled with different picomatch options, and the dot: true default is preserved when dot is undefined.

    30.5.0release notes

  • Environment setup no longer resolves lazy globals, preventing Node 26 builtin module globals and their deprecation warnings from loading for every test file.

    30.5.0release notes

  • Reverted node: protocol imports to restore webpack/browser-bundle compatibility.

    30.5.0release notes

  • Ensure process.features.require_module is false.

    30.3.0release notes

  • Fixed isInteractive to work in a browser.

    30.0.0release notes

  • Always load mjs files with import.

    30.0.0release notes