Packages

@testing-library/dom

10.4.2 · 13 Sep 2026MIT125.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @testing-library/dom From 7.30.2 to 10.4.2

58 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.30.2Newest 7.x7.31.2
  1. 7.30.2yours
  2. 5 releases
  3. 8.0.0major
  4. 34 releases
  5. 9.0.0major
  6. 8 releases
  7. 10.0.0major
  8. 7 releases
  9. 10.4.2target

Before you upgrade

Tick each one off as you go
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking9.0.0
  • Breaking9.0.0
  • Breaking9.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Release by release

  1. 10.4.2

    13 Sep 20261 fix
    • Fixed

      deps: pin @types/node to a TypeScript 4-compatible version

  2. 10.4.1

    27 Jul 20251 fix
    • Fixed

      deps: replace chalk with picocolors

  3. 10.4.0

    22 Jul 20241 new
    • New

      Reduce caught exceptions in prettyDom (reland)

  4. 10.3.2

    15 Jul 20241 fix
    • Fixed

      Safer read of DEBUG_PRINT_LIMIT

  5. 10.3.1nothing new or fixed in the note

  6. 10.3.0

    2 Jul 20241 new
    • New

      Reduce caught exceptions in prettyDom

  7. 10.2.0

    24 Jun 20241 new
    • New

      Support anonymous custom elements when pretty printing DOM

  8. 10.1.0

    29 Apr 20241 new
    • New

      Add window events "pagehide" / "pageshow"

2 other lines we could not sort, mostly version bumps
  • Revert "feat: Reduce caught exceptions in prettyDom (#1321)"

    10.3.1
  • If you're using jest fake timers make sure you use modern timers jest 27:

    8.0.0

1 internal line (docs, tests, tooling) left out.

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.