Packages

jest-util

30.5.1 · 1 Sep 2026MIT156.2M / weekRepositoryHomepagenpmAtom feed

Upgrading jest-util From 22.1.2 to 22.4.3

7 releases in betweennotes for 6

Reading releases, release notes and advisories…

Other targets from 22.1.2Latest30.5.1
2+
changes to make
0
advisories fixed
23+
new
22+
fixes

Counted from 6 of 7 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking22.4.1
  • deprecated22.4.0

Release by release

  1. 22.4.3no release note

  2. 22.4.1

    Migration needed22 Feb 20181 new · 2 fixes
    • breaking

      babel-jest: Remove retainLines argument to babel.

    • new

      jest-runtime: Provide require.main property set to module with test suite

    • fixed

      jest-haste-map: Parallelize Watchman calls in crawler

    • fixed

      jest-editor-support: Update TypeScript definitions

  3. 22.4.0

    Deprecation20 Feb 20183 new · 7 fixes
    • deprecated

      jest-runtime: Deprecate mapCoverage option.

    • new

      babel-jest: Add option to return sourcemap from the transformer separately from source.

    • new

      jest-validate: Add ability to log deprecation warnings for CLI flags.

    • new

      jest-serializer: Added new module for serializing. Works using V8 or JSON

  4. 22.3.0

    13 Feb 20184 new · 2 fixes
    • new

      expect: Add descriptive error message to CalledWith methods when missing optional arguments

    • new

      jest-util: Add the following methods to the "console" implementations: assert, count, countReset, dir, dirxml, group, groupCollapsed, groupEnd, time, timeEnd

    • new

      jest-editor-support: Add watchAll flag

    • new

      jest-cli: Support multiple glob patterns for collectCoverageFrom

    • fixed

      jest-cli: Fix inability to quit watch mode while debugger is still attached

    • fixed

      jest-haste-map: Properly handle platform-specific file deletions

  5. 22.2.2

    9 Feb 20181 new · 1 fix
    • new

      jest-worker: Assign a unique id for each worker and pass it to the child process. It will be available via process.env.JEST_WORKER_ID

    • fixed

      jest-docblock: Support multiple of the same @pragma.

  6. 22.2.0

    7 Feb 201811 new · 10 fixes
    • new

      jest-runner: Move test summary to after coverage report

    • new

      jest-cli: Added --notifyMode to specify when to be notified.

    • new

      diff-sequences: New package compares items in two sequences to find a longest common subsequence.

    • new

      jest-matcher-utils: Add comment option to matcherHint function

  7. 22.1.4

    19 Jan 20183 new
    • new

      jest-util: Add "debug" method to "console" implementations

    • new

      jest-resolve: Add condition to avoid infinite loop when node module package main is ".". (#5344))

    • new

      jest-cli: --changedSince: allow selectively running tests for code changed since arbitrary revisions.

1 other line we could not sort, mostly version bumps
  • babel-jest: Revert "Remove retainLines from babel-jest"

    22.2.2

14 internal lines (docs, tests, tooling) left out.