Packages

@jest/globals

30.5.2 · 18 Sep 2026MIT66.4M / weekRepositoryHomepagenpmAtom feed

Your version

26.5.3

11 Oct 2020Where it was published

26.6.2 is the newest release of 26.x.

In short

3 new4 fixed

Release note

Features

  • jest-runtime: Add support for dynamic import() from CommonJS

Fixes

  • jest-runner, jest-runtime: require.main should not be undefined with createRequire()

  • jest-runtime: Add missing module.path property

  • jest-runtime: Add mainModule instance variable to runtime

  • jest-runtime: Evaluate Node core modules on dynamic import()

  • jest-validate: Show suggestion only when unrecognized cli param is longer than 1 character

  • jest-validate: Validate testURL as CLI option

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.